Greetings,
I just pushed out an update to openstack-nova:
https://admin.fedoraproject.org/updates/openstack-nova-2011.3-8.fc16 https://admin.fedoraproject.org/updates/openstack-nova-2011.3-9.el6
It resolves the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=735012
openstack-nova is now set up to use MySQL by default instead of SQLite. To help make the setup a bit easier, there is a script that will set up MySQL for you: openstack-nova-db-setup.
Please give it a try and let me know if you have any trouble. If everything looks good, give it some karma.
Thanks,
Hi Russell,
On Tue, 2011-11-29 at 13:01 -0500, Russell Bryant wrote:
Greetings,
I just pushed out an update to openstack-nova:
https://admin.fedoraproject.org/updates/openstack-nova-2011.3-8.fc16 https://admin.fedoraproject.org/updates/openstack-nova-2011.3-9.el6
It resolves the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=735012
openstack-nova is now set up to use MySQL by default instead of SQLite. To help make the setup a bit easier, there is a script that will set up MySQL for you: openstack-nova-db-setup.
Another thought on this - perhaps it could also offer to change the MySQL nova user's password from the default too? And update nova.conf with the new password?
Cheers, Mark.
On 11/30/2011 01:36 AM, Mark McLoughlin wrote:
Hi Russell,
On Tue, 2011-11-29 at 13:01 -0500, Russell Bryant wrote:
Greetings,
I just pushed out an update to openstack-nova:
https://admin.fedoraproject.org/updates/openstack-nova-2011.3-8.fc16 https://admin.fedoraproject.org/updates/openstack-nova-2011.3-9.el6
It resolves the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=735012
openstack-nova is now set up to use MySQL by default instead of SQLite. To help make the setup a bit easier, there is a script that will set up MySQL for you: openstack-nova-db-setup.
Another thought on this - perhaps it could also offer to change the MySQL nova user's password from the default too? And update nova.conf with the new password?
That's a good idea.
I was also thinking about adding more command line options to make sure it could be run non-interactively if it were to be used in an automated install.
On Wed, Nov 30, 2011 at 3:36 PM, Russell Bryant rbryant@redhat.com wrote:
openstack-nova is now set up to use MySQL by default instead of SQLite. To help make the setup a bit easier, there is a script that will set up MySQL for you: openstack-nova-db-setup.
Another thought on this - perhaps it could also offer to change the MySQL nova user's password from the default too? And update nova.conf with the new password?
That's a good idea.
I was also thinking about adding more command line options to make sure it could be run non-interactively if it were to be used in an automated install.
I'm looking to implement this db change for keystone too, so maybe it would make sense to have generalized db setup script in openstack-common package? Mark, you're working on that upstream, right? Would that package be a right place for such common scripts or is it for Python modules only?
Alan
On 11/30/2011 12:22 PM, Alan Pevec wrote:
On Wed, Nov 30, 2011 at 3:36 PM, Russell Bryantrbryant@redhat.com wrote:
openstack-nova is now set up to use MySQL by default instead of SQLite. To help make the setup a bit easier, there is a script that will set up MySQL for you: openstack-nova-db-setup.
Another thought on this - perhaps it could also offer to change the MySQL nova user's password from the default too? And update nova.conf with the new password?
That's a good idea.
I was also thinking about adding more command line options to make sure it could be run non-interactively if it were to be used in an automated install.
I'm looking to implement this db change for keystone too, so maybe it would make sense to have generalized db setup script in openstack-common package? Mark, you're working on that upstream, right? Would that package be a right place for such common scripts or is it for Python modules only?
The quantum plugins use MySQL and would probably make use of this as well. For essex, I expect each plugin to be a separate openstack-quantum sub-package, or more likely a pair of them in order to keep the config/dbsetup/etc stuff separate from the python modules.
-Bob
On 11/30/2011 12:35 PM, Robert Kukura wrote:
On 11/30/2011 12:22 PM, Alan Pevec wrote:
On Wed, Nov 30, 2011 at 3:36 PM, Russell Bryantrbryant@redhat.com wrote:
openstack-nova is now set up to use MySQL by default instead of SQLite. To help make the setup a bit easier, there is a script that will set up MySQL for you: openstack-nova-db-setup.
Another thought on this - perhaps it could also offer to change the MySQL nova user's password from the default too? And update nova.conf with the new password?
That's a good idea.
I was also thinking about adding more command line options to make sure it could be run non-interactively if it were to be used in an automated install.
I'm looking to implement this db change for keystone too, so maybe it would make sense to have generalized db setup script in openstack-common package? Mark, you're working on that upstream, right? Would that package be a right place for such common scripts or is it for Python modules only?
The quantum plugins use MySQL and would probably make use of this as well. For essex, I expect each plugin to be a separate openstack-quantum sub-package, or more likely a pair of them in order to keep the config/dbsetup/etc stuff separate from the python modules.
Combining all of these into one script seems like a fine idea, but I think it would make sense to make it optional which component(s) it is configuring the database for.
I also considered whether such a script belonged upstream or not. Right now it's doing some Fedora specific stuff though, like offering to install mysql-server for you if it's not already installed. It could eventually be made more generic, but that takes time and effort. :-)
On 11/30/2011 09:36 AM, Russell Bryant wrote:
On 11/30/2011 01:36 AM, Mark McLoughlin wrote:
Hi Russell,
On Tue, 2011-11-29 at 13:01 -0500, Russell Bryant wrote:
Greetings,
I just pushed out an update to openstack-nova:
https://admin.fedoraproject.org/updates/openstack-nova-2011.3-8.fc16 https://admin.fedoraproject.org/updates/openstack-nova-2011.3-9.el6
It resolves the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=735012
openstack-nova is now set up to use MySQL by default instead of SQLite. To help make the setup a bit easier, there is a script that will set up MySQL for you: openstack-nova-db-setup.
Another thought on this - perhaps it could also offer to change the MySQL nova user's password from the default too? And update nova.conf with the new password?
That's a good idea.
I was also thinking about adding more command line options to make sure it could be run non-interactively if it were to be used in an automated install.
I added some new options as discussed above. They are in:
https://admin.fedoraproject.org/updates/openstack-nova-2011.3-11.fc16
Building for el6 seems broken at the moment, though:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3570945 http://koji.fedoraproject.org/koji/getfile?taskID=3570950&name=root.log
I figure it's due to some changes happening as a part of the RHEL 6.2 release?
On Tue, Dec 6, 2011 at 10:36 PM, Russell Bryant rbryant@redhat.com wrote: ...
Building for el6 seems broken at the moment, though:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3570945 http://koji.fedoraproject.org/koji/getfile?taskID=3570950&name=root.log
I figure it's due to some changes happening as a part of the RHEL 6.2 release?
Adding epel-devel-list to answer above. It does seem to be a transient issue while repos are being refreshed.
Alan