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.
# rpm -qa |grep openstack
# rpm -qa |grep oslo
# /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...
Filling help tables...
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:
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...
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.