Ask Your Question
0

Unable to establish connection to keystone

asked 2017-02-24 04:54:08 -0500

nitin_cherian gravatar image

I am running Ubuntu 14.04 server in Virtual box with the host OS being Windows 7. On Ubuntu, I installed openstack by running stack.sh script of devstack. After installation, it said Horizon is available at http:10.1.2.16/dashboard .10.1.2.16 is the DHCP IP which is in my company LAN network. I was able to access the dashboard and install a cirros instance. After that I shutdown Ubuntu and closed Virtual box.

When I launched Ubuntu again, the DHCP IP had changed to 10.1.2.35. Now when I tried http:10.1.2.35/dashboard, the dashboard came up. But when I tried to login,

the error Unable to establish connection to keystone endpoint. was thrown.

So I ran stack.sh script again and after installation, it said Horizon is available at http:10.1.2.35/dashboard. After that I was able to login into the Openstack.

So my question is, do I have to run the stack.sh script everytime to login to openstack, because the IP has changed? But If I do that the instance which I created gets lost. How is this problem resolved?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2017-02-28 05:26:11 -0500

amitabh sinha gravatar image

@Nitin as you mentioned your DHCP IP had changed to 10.1.2.35. But thing is that your keystone endpoints is still registered with old IP address 10.1.2.16 because of that you are getting Unable to establish connection to keystone endpoint. suggestions:- Change the keystone endpoint with the latest IP

edit flag offensive delete link more
1

answered 2017-02-28 09:08:18 -0500

Devstack (and OpenStack in general) expects a static IP address. It also doesn't like rebooting the host. Since your host is a VM, just save its state instead of shutting it down.

edit flag offensive delete link more

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-02-24 04:54:08 -0500

Seen: 1,184 times

Last updated: Feb 28 '17