Openstack-Keystone installation permission Error

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.