Red Hat Bugzilla – Bug 1000447
/usr/bin/openstack-db --init --service glance fails
Last modified: 2016-04-26 10:50:58 EDT
NEEDINFO for Alan Pevec I am writing the Doc Text for bug advisories. As the Doc Text field was blank, I have written the current Doc Text from scratch. Could you please comment or edit it and correct as necessary. Thanks.
verified using: # rpm -qa |grep openstack kernel-firmware-2.6.32-358.118.1.openstack.el6.noarch openstack-utils-2013.1-8.1.el6ost.noarch openstack-packstack-2013.1.1-0.31.dev677.el6ost.noarch kernel-2.6.32-358.118.1.openstack.el6.x86_64 openstack-glance-2013.1.3-1.el6ost.noarch # rpm -qa |grep oslo python-oslo-config-1.1.0-3.el6ost.noarch # /usr/bin/openstack-db --init --service glance -p glance -r "" mysqld is not running. Would you like to start it now? (y/n): y Initializing MySQL database: Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h cougar14.scl.lab.tlv.redhat.com password 'new-password' Alternatively you can run: /usr/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr/mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/bin/mysqlbug script! [ OK ] Starting mysqld: [ OK ] Verified connectivity to MySQL. Creating 'glance' database. Initializing the glance database, please wait... Complete!
Relnote is good now.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1186.html