Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi this error will appears due to missing grant PRIVILEGES please do the below in mysql db and check

Drop database keystone;

CREATE DATABASE keystone; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'<your host="" name="">' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'yourmanagementip <or> 127.0.0.1' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'KEYSTONE_DBPASS';

edit in this file vi /etc/keystone/keystone.conf

admin_token = 12345

connection = mysql://keystone:KEYSTONE_DBPASS@<your host="" name="">or <127.0.0.1>/keystone

save and sync keystone db

su -s /bin/sh -c "keystone-manage db_sync" keystone

Note OS_SERVICE_TOKEN and admin_token need to have same character do the below exports it will works for sure

export OS_SERVICE_TOKEN=12345

export OS_SERVICE_ENDPOINT=http://<your host="" name="">:35357/v2.0

Hi this error will appears due to missing grant PRIVILEGES please do the below in mysql db and check

Drop database keystone;

CREATE DATABASE keystone; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'<your host="" name="">' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'yourmanagementip <or> 127.0.0.1' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'KEYSTONE_DBPASS';

edit in this file vi /etc/keystone/keystone.conf

admin_token = 12345

connection = mysql://keystone:KEYSTONE_DBPASS@<your host="" name="">or <127.0.0.1>/keystone

[token] provider = keystone.token.providers.uuid.Provider driver = keystone.token.persistence.backends.sql.Token

save and sync keystone db

su -s /bin/sh -c "keystone-manage db_sync" keystone

Note OS_SERVICE_TOKEN and admin_token need to have same character do the below exports it will works for sure

export OS_SERVICE_TOKEN=12345

export OS_SERVICE_ENDPOINT=http://<your host="" name="">:35357/v2.0

Hi this error will appears due to missing grant PRIVILEGES please do the below in mysql db and check

Drop database keystone;

CREATE DATABASE keystone; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'<your host="" name="">' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'yourmanagementip <or> 127.0.0.1' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'KEYSTONE_DBPASS';

edit in this file vi /etc/keystone/keystone.conf

admin_token = 12345

connection = mysql://keystone:KEYSTONE_DBPASS@<your host="" name="">or <127.0.0.1>/keystone

[token] provider = keystone.token.providers.uuid.Provider keystone.token.providers.uuid.Provider

driver = keystone.token.persistence.backends.sql.Token

save and sync keystone db

su -s /bin/sh -c "keystone-manage db_sync" keystone

Note OS_SERVICE_TOKEN and admin_token need to have same character do the below exports it will works for sure

export OS_SERVICE_TOKEN=12345

export OS_SERVICE_ENDPOINT=http://<your host="" name="">:35357/v2.0

Hi this error will appears due to missing grant PRIVILEGES please do the below in mysql db and check

Drop database keystone;

CREATE DATABASE keystone; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'<your host="" name="">' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'yourmanagementip <or> 127.0.0.1' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'KEYSTONE_DBPASS';

edit in this file vi /etc/keystone/keystone.conf

admin_token = 12345

connection = mysql://keystone:KEYSTONE_DBPASS@<your host="" name="">or <127.0.0.1>/keystone

[token] [token]

provider = keystone.token.providers.uuid.Provider

driver = keystone.token.persistence.backends.sql.Token

save and sync keystone db

su -s /bin/sh -c "keystone-manage db_sync" keystone

Note OS_SERVICE_TOKEN and admin_token need to have same character do the below exports it will works for sure

export OS_SERVICE_TOKEN=12345

export OS_SERVICE_ENDPOINT=http://<your host="" name="">:35357/v2.0

Hi this error will appears due to missing grant PRIVILEGES please do the below in mysql db and check

Drop database keystone;

CREATE DATABASE keystone; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'<your host="" name="">' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'yourmanagementip <or> 127.0.0.1' IDENTIFIED BY 'KEYSTONE_DBPASS';

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'KEYSTONE_DBPASS';

edit in this file vi /etc/keystone/keystone.conf

admin_token = 12345

connection = mysql://keystone:KEYSTONE_DBPASS@<your host="" name="">or <127.0.0.1>/keystone

[token]

provider = keystone.token.providers.uuid.Provider

driver = keystone.token.persistence.backends.sql.Token

save and sync keystone db

su -s /bin/sh -c "keystone-manage db_sync" keystone

Note OS_SERVICE_TOKEN and admin_token need to have same character do the below exports it will works for sure

export OS_SERVICE_TOKEN=12345

export OS_SERVICE_ENDPOINT=http://<your host="" name="">:35357/v2.0