Ask Your Question
0

Getting error nable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services

asked 2017-05-04 07:09:29 -0600

Rahul11 gravatar image

On running this command after nova installation on controller node I am getting this error. Can anyone help?

root@controller:~# openstack compute service list Unable to establish connection to http://controller:8874/v2.1/os-services: HTTPConnectionPool(host='controller', port=8874): Max retries exceeded with url: /v2.1/os-services (Caused by NewConnectionError('<requests.packages.urllib3.connection.httpconnection 0x7f9016fb7f10="" at="" object="">: Failed to establish a new connection: [Errno 111] Connection refused',))</requests.packages.urllib3.connection.httpconnection>

Using this link for the installation: https://docs.openstack.org/ocata/install-guide-ubuntu/nova-verify.html (https://docs.openstack.org/ocata/inst...) These commands are working openstack catalog list openstack catalog list

edit retag flag offensive close merge delete

Comments

The installation tutorials use port number 8774 for Nova, not 8874. I guess you misconfigured it somewhere.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-04 21:51:34 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-05 07:22:13 -0600

Rahul11 gravatar image

Thanks Bernd for the reply. I could see

nova | compute | RegionOne |
| | | regionOne | | | | internal: http://controller:8874/v2.1 | | | | Regionone | | | | public: http://controller:8874/v2.1 | | | | Regionone | | | | admin: http://controller:8874/v2.1 |

on running openstack catalog list on controller node. how can i delete these endpoints ?

edit flag offensive delete link more

Comments

1

openstack endpoint list followed by openstack endpoint delete, I would think. See https://docs.openstack.org/developer/.... Good luck!

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-05 07:50:59 -0600 )edit

Thanks a ton!! It worked. I am getting the list of compute services.

Rahul11 gravatar imageRahul11 ( 2017-05-05 08:15:08 -0600 )edit

Hi @Bernd Baush

now after successfull installtion of all the services I am running this command

openstack extension list --network

which is giving this exception

Connection failure that may be retried.

any suggestions?

Rahul11 gravatar imageRahul11 ( 2017-05-05 10:05:12 -0600 )edit

I suggest you create another question and provide more detail.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-05 10:19:00 -0600 )edit

@Bernd New link :for the above issue. please check.

https://ask.openstack.org/en/question/106246/connection-failure-that-may-be-retried/ (https://ask.openstack.org/en/question...)

Rahul11 gravatar imageRahul11 ( 2017-05-05 10:35:29 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2017-05-04 00:47:14 -0600

Seen: 3,824 times

Last updated: May 05 '17