OpenStack Technical Articles

How to update Keystone endpoints in OpenStack

                                       How to update Keystone endpoints in Openstack

If you want to change the endpoints from old to new need to update in the mysql database endpoint table first,

1.login to mysql,

mysql>show databases;
mysql>use keystone;
mysql> use keystone;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed

mysql> update endpoint set url=’′ where url=’′;
Query OK, 2 rows affected (0.02 sec)
Rows matched: 2  Changed: 2  Warnings: 0

Do this changes on where ever the endpoints need to change

If you want to change the ipaddress of the endpoint in the database follow the below command,

mysql>update endpoint set url= REPLACE(url,'[old ip]’,'[new ip]);
How to update Keystone endpoints in Openstack
2. In next step update the endpoints in configuration file.In 3 controller nodes update export OS_AUTH_URL=” in openrc file.
3. Use the following command to export the updated openrc file,
#export openrc
4. Now update the endpoints in nova.conf and keystone.conf in controller and keystone nodes,

Here is the few update points,

Tags:endpoints,keystone,identity,controller,compute,openstack,volume,service VIP,Horizon,heat engine,horizon issue,ha proxy,proxy server,glance,glance registry,nova scheduler,nova-compute,nova-api