Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

openstack endpoint list fails with message "Failed to contact the endpoint at http://controller:35357/v3/ for discovery"

Hi, I am trying to deploy a single node openstack on a Centos VM following the guide :

https://docs.openstack.org/ocata/install-guide-rdo/keystone-users.html

I have installed Identity Service and was attempting to create a "service" project which is when I get this error :

# openstack project create --domain default   --description "Service Project" service
Failed to contact the endpoint at http://controller:35357/v3/ for discovery. Fallback to using that endpoint as the base url.
Failed to contact the endpoint at http://controller:35357/v3/ for discovery. Fallback to using that endpoint as the base url.
Failed to contact the endpoint at http://controller:35357/v3/ for discovery. Fallback to using that endpoint as the base url.
Failed to contact the endpoint at http://controller:35357/v3/ for discovery. Fallback to using that endpoint as the base url.
Unable to establish connection to http://controller:35357/v3/domains?: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/domains (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x3e3db90>: Failed to establish a new connection: [Errno -2] Name or service not known',))
[root@rajesh ~]#

I understand I would have made some mistake in configuation of http or keystone.conf, but couldn't figure out. Any pointers please ?

Here is my output from keystone.conf and httpd.conf:

[root@rajesh ~]# cat /etc/keystone/keystone.conf | grep -i "connection ="
connection = mysql+pymysql://keystone:openstack@{Controller IP address entered}/keystone

[root@rajesh ~]# cat /etc/httpd/conf/httpd.conf | grep -i ServerName
ServerName "rajesh.manual"
[root@rajesh ~]#


[root@rajesh ~]# hostname
rajesh.manual
[root@rajesh ~]#

openstack endpoint list fails with message "Failed to contact the endpoint at http://controller:35357/v3/ for discovery"

Hi, I am trying to deploy a single node openstack on a Centos VM following the guide :

https://docs.openstack.org/ocata/install-guide-rdo/keystone-users.html

I have installed Identity Service and was attempting to create a "service" project which is when I get this error :

# openstack project create --domain default   --description "Service Project" service
Failed to contact the endpoint at http://controller:35357/v3/ for discovery. Fallback to using that endpoint as the base url.
Failed to contact the endpoint at http://controller:35357/v3/ for discovery. Fallback to using that endpoint as the base url.
Failed to contact the endpoint at http://controller:35357/v3/ for discovery. Fallback to using that endpoint as the base url.
Failed to contact the endpoint at http://controller:35357/v3/ for discovery. Fallback to using that endpoint as the base url.
Unable to establish connection to http://controller:35357/v3/domains?: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/domains (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x3e3db90>: Failed to establish a new connection: [Errno -2] Name or service not known',))
[root@rajesh ~]#

I understand I would have made some mistake in configuation of http or keystone.conf, but couldn't figure out. Any pointers please ?

Here is my output from keystone.conf and httpd.conf:

[root@rajesh ~]# cat /etc/keystone/keystone.conf | grep -i "connection ="
connection = mysql+pymysql://keystone:openstack@{Controller IP address entered}/keystone

[root@rajesh ~]# cat /etc/httpd/conf/httpd.conf | grep -i ServerName
ServerName "rajesh.manual"
[root@rajesh ~]#


[root@rajesh ~]# hostname
rajesh.manual
[root@rajesh ~]#