Cannot console into new created Openstack instance

asked 2017-05-24 08:24:38 -0500

openstackplz gravatar image

I installed Openstack Mitaka using Devstack on an Ubuntu virtual machine in Virtualbox. After installation, things seemed to be alright. Then I start a new Cirros instance, and it succeeded. However, when I tried to console this instance using ip nets exec xxxxxx ssh cirros@ it returned ssh: connect to host port 22: no route to host. Result for ip nets exec xxxxxx ping is Destination Host Unreachable.

I checked the ip netsh, the result includes:



If I use ip nets exec qrouter-xxxxxx ip addr show , the result includes:,,, and another item with no ip address.

If I user ip nets exec qdhcp-xxxxxx ip addr show, the result includes:,

The instance is connected to public network as shown in Openstack Dashboard. And if I try to connect to the console in WebUI - Dashboard/Compute/Instances/xxxx/Console, there was an error shown on the page, saying:

    Error response. 
    Error code 404.Message: File not found.
    Error code explanation: 404 = Nothing matches the given URI.

So how can I console into the instances created by Openstack? Is it something to do with the network configuration?

Thank you for your answers in advance.

edit retag flag offensive close merge delete


Your setup is incorrect somewhere. A few recommendations:

  • Check for ERROR messages in the logs /opt/stack/logs/*
  • openstack console log show INSTANCE. Does the instance have an IP at all?
  • Interactive console: openstack console url show INSTANCE, then paste the URL in the browser.
Bernd Bausch gravatar imageBernd Bausch ( 2017-05-25 04:01:08 -0500 )edit

More recommendations:

  • openstack compute service list. Anything missing? Anything down? In particular the console part.
  • neutron agent-list. Anything missing? Anything down?

And: If your goal is to learn and play with OpenStack, use something more robust - Packstack on Centos.

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-25 04:03:08 -0500 )edit

hi Bernd, I asked a new question, could you have a look? (

openstackplz gravatar imageopenstackplz ( 2017-05-26 00:47:45 -0500 )edit