CodePudding user response:
Check the/etc/keystone/keystone. Conf configuration file if there is a wrong place(database)
Connection=mysql + pymysql://keystone: keystone - password @ controller/keystone
[token]
The provider=fernet
Then synchronize database
/bin/sh -c "keystone - manage db_sync" keystone
Synchronization is completed suggest check the keystone database into the database table is normal generated
Then the initialization
Keystone - manage fernet_setup - keystone - user keystone, keystone - group keystone
Finally guide the identity service
Keystone - manage the bootstrap -- the bootstrap - password admin - password \
- the bootstrap - admin - url http://controller:35357/v3/\
- the bootstrap - internal - url http://controller:5000/v3/\
- the bootstrap - public - url http://controller:5000/v3/\
- the bootstrap - region - id RegionOne