Closed abrookins closed 12 years ago
The mysql-server
packages from Ubuntu are what they are. Upstart will hang like that if the server can't be started and I think Blueprint would be overstepping its bounds if it tried to fix that.
However, Blueprint can render templates of configuration files so you can use {{PRIVATE_IP}}
in my.cnf
to make your blueprint portable. See http://devstructure.github.com/blueprint/#templates for more info.
Ok, that makes sense. Thanks!
I'm using blueprint 3.4.1-1py2.6 to apply a cookbook captured on an Ubuntu 10.04 server to another Ubuntu 10.04 server.
When usign
blueprint apply {blueprint_name}
, I have a problem with MySQL package installs.They appear to hang -- possibly due to a MySQL configuration error.Here is the output of the hung session just before it hangs:
And here's
ps
output for the process that remains after I control-c:So, mysql can't start.
When I check the MySQL log, I see that there is an error:
Ah, right. The my.cnf captured when I took the blueprint bound the server to an IP address that won't work with the VM on which I'm installing the blueprint.
It makes sense. But should this scenario hang the entire
apply
?