Nova install and blank mysql root passwords

Derek Higgins derekh at
Fri Jan 20 12:48:07 UTC 2012

Hi Russell,
   While writing automation scripts for installing nova, I am running

$ openstack-nova-db-setup --novapw nova --rootpw "" --yes

my problem is this script prompts for a password if the mysql root
password is a zero length string. This patch allows the root password to
be a zero length string.

Any thought? should this change go into the openstack-nova package or is
it a bad idea to allow blank passwords?

in my case mysql had already been installed with a blank root password
before running this script so I had to pass in the blank password.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: openstack-nova.patch
Type: text/x-patch
Size: 1299 bytes
Desc: not available
URL: <>

More information about the cloud mailing list