Login to Ubuntu instance on openstack

I have set up Openstack Icehouse on Ubuntu 14.04 server. I am able to launch ubuntu instances, but cannot login to it. The documentation says that the instance has by default an account ‘ubuntu’ set up. But there is no mention of the password. I have also tried using ssh to login with the key-pair provided at launch. That has not worked either. Please suggest a work-around for this.

Hi Delphyne, you have to use SSH key only. Make sure the key has proper permission (400).
And Ubuntu instance must be launched with the keypair associated with it.
Here’s the command: ssh -i ubuntu@
If this does not work then, please let me know the exact steps which you are following.

I have already tried that. It did not work. I checked the boot log. It seems the metadata cannot be accessed. I found this in the boot log.

http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [50/120s]: url error [timed out]

Could this be the issue?

Hi Delphyne,

Please check if you have a gateway setup in openstack, if not, you must setup one.
Also, it must be noticed that the IP is 169.x.x.x. So I would say this could be networking issue.