Score:1

Openstack not able to connect port 5000

cn flag

I recently started working on openstack-train(centos7). I created 2 nodes on virtualbox which are on subnet 192.168.56.0/24. I read and followed the official train docs and encountered issue when i was installing keystone module. When i run any openstack command like openstack network list i get this error.

Failed to discover available identity versions when contacting http://node1:5000/v3. Attempting to parse version from URL. Unable to establish connection to http://node1:5000/v3/auth/tokens : HTTPConnectionPool(host='node1', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7492466650>: Failed to establish new connection: [Errno 113] No route to host',))

PS: node1 is the controller node has 192.168.56.2 static ip and installed keystone on it.

The procedures i have taken:

  • Did the environment config.
  • I reinstalled keystone and checked every step on the docs.
  • Added node1 192.168.56.1 on /etc/hosts and can be pinged and connect with apache server on 80.
  • Disabled firewall and tried to connect to the node1:5000/v3 but no luck.

I was on this step: https://docs.openstack.org/keystone/train/install/keystone-users-rdo.html

Score:0
cn flag

It seems that my preconfigured apache server somehow conflicted keystone web api. So solution was I deleted the node1 vm entirely and did it all again. It worked :/

Edit 1: So solution for this problem was installing the selinux module.

sudo yum install -y openstack-selinux
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.