1. Install the keystone Software Package
[[Email protected] ~] # Yum install openstack-Keystone Python-keystoneclient-y
Configure the keystone configuration file
[[Email protected] ~] # Openstack-config -- set/etc/keystone/Keystone. conf SQL connection MYSQL: // keystone: [email protected]/keystone # connect to MYSQL as an IP address
2. Configure the keystone DB database
[[Email protected] ~] # Openstack-DB -- init -- service keystone -- password keystone
Please enter the password for the 'root' MySQL user:
Verified connectivity to MySQL.
Creating 'keystone 'database.
Initializing the keystone database, please wait...
09:04:50. 930 19522 critical keystone [-] (operationalerror) (1045, "Access denied for user 'keystone '@' OS-node1' (using password: Yes)") none
Error 1146 (42s02) at line 1: Table 'keystone. migrate_version 'doesn' t exist
Final sanity check failed.
Please file a bug report on bugzilla.redhat.com against the openstack-Keystone package.
The above error indicates that the domain name is recognized when the host is resolved. If the IP address is used to connect to MySQL, add the following command to the MySQL configuration file.
[[Email protected] ~] # Vi/etc/My. CNF
[Mysqld]
Skip-name-resolve # Add this command to skip domain name resolution
Then restart MySQL.
Service mysqld restart
Reinstall the keystone Library
[[Email protected] ~] # Openstack-DB -- init -- service keystone -- password keystone
Please enter the password for the 'root' MySQL user:
Verified connectivity to MySQL.
Creating 'keystone 'database.
Initializing the keystone database, please wait...
Complete
This article is from the "zhanguo1110" blog, please be sure to keep this source http://zhanguo1110.blog.51cto.com/5750817/1545002
Openstack-Keystone installation permission Error