Ask Your Question
0

Which password shoud I use to login in newly created instances?

asked 2014-12-28 18:48:36 -0600

samcy gravatar image

updated 2014-12-31 12:56:24 -0600

smaffulli gravatar image

i have logged in openstack dashboard and created an instance successfully .While creating an instance provided the adim password and confirm password . falavour as large ,instance boot source as OL-DBaas and security as default .

When i login to console its asking the id and password and provided the password which i have used while creating the instance ,but its saying as wrong password.

How to get the console password for the instance ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-01-02 07:33:48 -0600

dbaxps gravatar image

Via libguestfs-tools ( view http://bderzhavets.blogspot.com/2014/... )
You can cat /etc/cloud/cloud.cfg and see default user-name (ubuntu,fedora,centos,cloud-user,....). If instance was launched with ssh key pair oskey.pem ( for instance), then login (with no password) :

$ ssh -i oskey.pem default-user-name@floating-ip
edit flag offensive delete link more
0

answered 2015-01-02 01:45:22 -0600

Vinoth gravatar image

Users can only ssh to the instance by using the admin password if:

The virtual machine image is a Linux distribution

The virtual machine has been configured to allow users to ssh as the root user. This is not the case for Ubuntu cloud images, which disallow ssh to the root account by default.

Ref:- http://docs.openstack.org/admin-guide...

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

1 follower

Stats

Asked: 2014-12-28 18:48:36 -0600

Seen: 3,670 times

Last updated: Jan 02 '15