Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

problem in keystone token-get

Hi my friends I want get a token from keystone. Thus So I do the following:

Install vmware workstation, then install ubuntu 12.04, then:

• Install MySQL:

apt-get install mysql-server python-mysqldb

• Configure MySQL to accept all incoming requests: • sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf

service mysql restart

• Install RabbitMQ: apt-get install rabbitmq-server • Install the Keystone identity service: apt-get install keystone

• Create a new MySQL database for Keystone:

• mysql -u root -p • CREATE DATABASE keystone; • GRANT ALL ON keystone.* TO 'keystoneUser'@'%' IDENTIFIED BY 'keystonePass'; quit;

but:

I don’t know how Adapt the connection attribute in the /etc/keystone/keystone.conf to our newly created database.:

• vi /etc/keystone/keystone.conf • #and edit the connection field to show connection = mysql://keystoneUser:keystonePass@10.32.14.232/keystone

how save this change in vi and exit from vi environment? keystoneUser and keystonePass Anything can be? 10.32.14.232 is ip address for eth0?

And then:

env | egrep "OS_|SERVICE_"

OS_PASSWORD=what??? OS_AUTH_URL=http://10.176.20.158:5000/v2.0/ #what 10.176.20.158??
OS_USERNAME= what???
OS_TENANT_NAME what???

Since

keystone token-get:

error: no handlers could be found for logger keystoneclient.client. invalid user / password (http401)

thank you

problem in keystone token-get

Hi my friends I want get a token from keystone. Thus So I do the following:

Install vmware workstation, then install ubuntu 12.04, then:

• Install MySQL:

apt-get install mysql-server python-mysqldb

• Configure MySQL to accept all incoming requests: • requests:

sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf

service mysql restart

• Install RabbitMQ: RabbitMQ:

apt-get install rabbitmq-server rabbitmq-server

• Install the Keystone identity service: service:

apt-get install keystone

• Create a new MySQL database for Keystone:

 mysql -u root -p
 CREATE DATABASE keystone;
 GRANT ALL ON keystone.* TO 'keystoneUser'@'%' IDENTIFIED BY 'keystonePass';

quit;

but:

I don’t know how Adapt the connection attribute in the /etc/keystone/keystone.conf to our newly created database.:

vi /etc/keystone/keystone.conf • #and /etc/keystone/keystone.conf

and edit the connection field to show show

connection = mysql://keystoneUser:keystonePass@10.32.14.232/keystone

how save this change in vi and exit from vi environment? keystoneUser and keystonePass Anything can be? 10.32.14.232 is ip address for eth0?

And then:

env | egrep "OS_|SERVICE_"

"OS_|SERVICE_" OS_PASSWORD=what??? OS_AUTH_URL=http://10.176.20.158:5000/v2.0/ #what 10.176.20.158??
OS_USERNAME= what???
OS_TENANT_NAME what???

what???

Since

keystone token-get:

error:
no handlers could be found for logger keystoneclient.client.
invalid user / password (http401)

thank you

(http401)