Ubuntu instance not responding

asked 2015-11-04 04:11:11 -0600

openstack_single_node_saas gravatar image

Hello Everyone,

I have a single node installation of Openstack using Devstack

I launched an instance using cirros image through the dashboard and it works fine.

However, I created an Ubuntu 14.04-server image using the following link:

http://blog.aaronorosen.com/quick-guide-to-creating-a-openstack-bootable-image/ (http://blog.aaronorosen.com/quick-gui...)

Finally, I uploaded the image using the following command

glance image-create --name ubuntu-14.04-server --disk-format=qcow2 --container-format=bare --is-public=True < ubuntu-14.04-server.img

However, I did not use nova boot command as given in the blog. Instead I launched it as an instance through the dashboard, by assigning a Security Group, a keypair, and a floating IP address. The dashboard shows it as running. However, I cannot ping the instance from another linux workstation Also, I am also not able to logon onto this instance using the following command:

ssh -i key-pair.pem username@192.168.1.9

The error message says: ssh: connect to host 192.168.1.9 port 22: No route to host

All workstations are connected via a wireless LAN

I would greatly appreciate if anyone can help me resolve this problem

Thanks in anticipation.

Best regards,

Hamid Sultan

edit retag flag offensive close merge delete

Comments

You should be able to access it via the console. Log on and check if it can acquire an IP address.

By the way, I don't see cloud-init installed on the image. This way, the VM can't get the public key of your keypair, and I wonder if this also affects its ability to get the IP address.

Bernd Bausch gravatar imageBernd Bausch ( 2015-11-07 09:23:53 -0600 )edit