Not able to login into instance console

asked 2015-01-16 00:10:58 -0600

anil987 gravatar image

I have installed Openstack devstack Icehouse in my Ubuntu 13.10 VM. I have created an instance successfully using image saucy-server-cloudimg-i386-disk1.img, and I am able to ping the associated floating Ip. But when I go to instance console it ask for login and password. And I don't know what is its login and password. Can someone please tell me where can I find its login and password? I have tried openstack login credentials as its login and password, but it didn't work.

I have other issues with instance console such as

1) Most of the time I am not able to type anything on console 2) Sometimes it shows booting from hard disk

edit retag flag offensive close merge delete


can you try to login using ssh -i your_key.pem ubuntu@your_floating_ip?

9lives gravatar image9lives ( 2015-01-16 00:14:07 -0600 )edit

From where can I get your_key.pem? What does "your_key.pem" represents?

anil987 gravatar imageanil987 ( 2015-01-16 04:11:40 -0600 )edit

your_key.pem is the private key to login your vm instance via ssh. you need to specify it when creating vm instance. if you have not create it yet, try the following command

nova keypair-add > your_key.pem
9lives gravatar image9lives ( 2015-01-16 04:21:17 -0600 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-16 01:08:59 -0600

updated 2015-01-16 01:10:17 -0600


first of all you need to add the rules like all-icmp and all-tcp rules to your instance

nova secgroup-add-rule default icmp -1 -1  (is used for PING)
nova secgroup-add-rule default tcp 22 22 (is used for SSH)

then try to ping and SSH to your instance. AS i have not tried on saucy-server-cloudimg-i386-disk1.img i have done it on cirros which takes default login details which they only provide like UNAME:cirros PWD:cubswin:). and i also used ubuntu image using private key.

please do check the documentation of image you trying to build.

edit flag offensive delete link more

answered 2015-01-17 23:49:30 -0600

anil987 gravatar image

The issue is resolved. I have removed the root password from the image and then created an instance from that image and then I am able to login into instance colsole

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-16 00:10:58 -0600

Seen: 2,349 times

Last updated: Jan 17 '15