service endpoint missing for admin and cannot perform tasks

Posted on

I mistakenly change the service end point for admin project using the command below and now am not able to login to the environment. Can this be reverted back. Any assistance is appreciated.

openstack endpoint add project --project-domain Default 9cdbc33b98cc46a895420389e3a9948c admin

which is basically coming from this URL:
| 9cdbc33b98cc46a895420389e3a9948c | regionOne | neutron | network | True | public | http://10.254.34.11:9696

(overcloud) [stack@director ~]$ openstack endpoint list
+----------------------------------+-----------+--------------+----------------+---------+-----------+---------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+----------------+---------+-----------+---------------------------------------------+
| 017bbd9f321b457cb7f7c03ce8cb67e8 | regionOne | aodh | alarming | True | admin | http://192.168.202.11:8042 |
| 01f79bbe8be545aba3f4fd074f1480d2 | regionOne | keystone | identity | True | admin | http://192.168.201.28:35357 |
| 06de43bc7aa847f1adcebc632bd66aed | regionOne | glance | image | True | internal | http://192.168.202.11:9292 |
| 0702304e05404d8780ab7043d25654a4 | regionOne | placement | placement | True | admin | http://192.168.202.11:8778/placement |
| 159cd08bddd24301af3265788d4e19cf | regionOne | cinder | volume | True | internal | http://192.168.202.11:8776/v1/%(tenant_id)s |
| 22d3ef03e0b646b097c5d9a11388b472 | regionOne | heat-cfn | cloudformation | True | admin | http://192.168.202.11:8000/v1 |
| 2cde2291065b4baf9e921be827aea138 | regionOne | gnocchi | metric | True | internal | http://192.168.202.11:8041 |
| 2e7372a0ec8a4ae0b5dcebddf97fb153 | regionOne | nova | compute | True | public | http://10.254.34.11:8774/v2.1 |
| 324d5252ee1b4ff0b4965b251cc28f47 | regionOne | cinderv2 | volumev2 | True | admin | http://192.168.202.11:8776/v2/%(tenant_id)s |
| 39f730f814504775a6048d029ed7e12a | regionOne | neutron | network | True | admin | http://192.168.202.11:9696 |
| 3c7488bf92814ae5add467b70e91c81f | regionOne | keystone | identity | True | public | http://10.254.34.11:5000 |
| 3ca8f4ef82c0446383151d44fa0f2e4a | regionOne | placement | placement | True | internal | http://192.168.202.11:8778/placement |
| 3cb22d8e0f5741138de294de9bf076fd | regionOne | placement | placement | True | public | http://10.254.34.11:8778/placement |
| 41de2e748cd443a9b17d0e4616259d58 | regionOne | nova | compute | True | internal | http://192.168.202.11:8774/v2.1 |
| 439009da48fb49eba07c8a5b0393613a | regionOne | panko | event | True | internal | http://192.168.202.11:8977 |
| 4ae050bcddcb44599af468a827500e40 | regionOne | glance | image | True | public | http://10.254.34.11:9292 |
| 4f7bc0956624467e97daaecd6f0e7411 | regionOne | keystone | identity | True | internal | http://192.168.202.11:5000 |
| 519e0c21994046238382d28743ab1b62 | regionOne | heat | orchestration | True | public | http://10.254.34.11:8004/v1/%(tenant_id)s |
| 5698285562d949a18e7f8d37dd38aa8a | regionOne | cinderv3 | volumev3 | True | public | http://10.254.34.11:8776/v3/%(tenant_id)s |
| 5997db5a589d4956ac02dbcb5fb7149b | regionOne | panko | event | True | public | http://10.254.34.11:8977 |
| 59aab830aa974ba6a8356e7f79a13659 | regionOne | glance | image | True | admin | http://192.168.202.11:9292 |
| 5c67907dbee64496afee1d8cd74d8a81 | regionOne | neutron | network | True | internal | http://192.168.202.11:9696 |
| 61c17d04d7be4d19a5c1e3f5319a7728 | regionOne | heat | orchestration | True | admin | http://192.168.202.11:8004/v1/%(tenant_id)s |
| 64a00777f61043588e7918d743175b6b | regionOne | heat-cfn | cloudformation | True | public | http://10.254.34.11:8000/v1 |
| 681fcf8f60094e1db20ac8c9e1d1d4d2 | regionOne | panko | event | True | admin | http://192.168.202.11:8977 |
| 86aabf98d96a4116af2ca0edef6a8dbd | regionOne | cinderv3 | volumev3 | True | admin | http://192.168.202.11:8776/v3/%(tenant_id)s |
| 87dc7caee20c4e398492806698c29a16 | regionOne | gnocchi | metric | True | public | http://10.254.34.11:8041 |
| 89ea3da0c0cc41c2b6cd17a35b76f259 | regionOne | aodh | alarming | True | internal | http://192.168.202.11:8042 |
| 9aa0d51f9a1b474ca8cd044c30599cb5 | regionOne | cinder | volume | True | admin | http://192.168.202.11:8776/v1/%(tenant_id)s |
| 9cdbc33b98cc46a895420389e3a9948c | regionOne | neutron | network | True | public | http://10.254.34.11:9696 |
| ab4810d82d844117a6201f3b726a5a57 | regionOne | cinderv2 | volumev2 | True | internal | http://192.168.202.11:8776/v2/%(tenant_id)s |
| b5c3420d2ce040a0b68670e868fd8d83 | regionOne | gnocchi | metric | True | admin | http://192.168.202.11:8041 |
| c4989b09774341c49774fc567024b2dd | regionOne | heat | orchestration | True | internal | http://192.168.202.11:8004/v1/%(tenant_id)s |
| c52c7d226e544e86b8df76c694854c52 | regionOne | cinderv3 | volumev3 | True | internal | http://192.168.202.11:8776/v3/%(tenant_id)s |
| c82b9c17b8324e4dbffa0861d73b6e3c | regionOne | aodh | alarming | True | public | http://10.254.34.11:8042 |
| d483481fedcb4f56b569bc5dcb998a18 | regionOne | heat-cfn | cloudformation | True | internal | http://192.168.202.11:8000/v1 |
| d966e1af50944726a2f04e744b406f3c | regionOne | nova | compute | True | admin | http://192.168.202.11:8774/v2.1 |
| e987c2ad36464a84ab97e8674d75095a | regionOne | cinderv2 | volumev2 | True | public | http://10.254.34.11:8776/v2/%(tenant_id)s |
| fbf49c3653f041cfb317b6b46b0a7005 | regionOne | cinder | volume | True | public | http://10.254.34.11:8776/v1/%(tenant_id)s |
+----------------------------------+-----------+--------------+----------------+---------+-----------+---------------------------------------------+