Ask Your Question
0

Unable to connect to instance in vnc in Devstack

asked 2014-07-09 06:11:26 -0500

anonymous user

Anonymous

Hi,

I create an instance running Ubuntu 12.04 cloud image. I can access to it by SSH properly. I got random admin password when booting it and i want to access to it in vnc by admin password. As far as i know it is impossible to access into instance by such a that way with ubuntu cloud images that do not allow to access as root user.

Anyone has any solutions

BR, Tutj

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2014-07-09 10:47:15 -0500

SGPJ gravatar image

updated 2014-07-11 00:45:18 -0500

Try to use key pair while launching the VM. Then ssh using private key. Modify the password and then access through console via vnc. Intent of Cloud images to get access via private key not console admin access. Same is true with AWS.

edit flag offensive delete link more

Comments

Hi, the problem has no concern about ssh. The topic is when booting an instance in devstack, we get random admin password and how we can use random admin password to log in the instance in vnc. Of course without ssh to the instance, change admin password and log in back to the instance in vnc.

tutj gravatar imagetutj ( 2014-07-10 03:09:11 -0500 )edit

Then it is more related to Ubuntu Cloud Images not Openstack. You can post in respective forum.

SGPJ gravatar imageSGPJ ( 2014-07-11 00:41:49 -0500 )edit
0

answered 2014-07-09 07:12:06 -0500

tutj gravatar image

updated 2014-07-09 07:12:30 -0500

Hi Gary,

I have done that solution so many times but it did not work. For example: - I ran ubuntu 12.04 cloud image. - Username: ubuntu - Password: "random admin password" (which i got when booting)

I also tried to inject admin password by put 'inject_password = true' in nova.conf and modified something more but it seemed nothing. Note that i only can ssh to instance as 'ubuntu' user, not 'root' user so i think in which cloud image that in unable to ssh by root, it is also unable to log in vnc by random admin password.

BR, Tutj

edit flag offensive delete link more
0

answered 2014-07-09 06:32:27 -0500

GaryC gravatar image

updated 2014-07-09 06:33:48 -0500

use the Console link on the instances page.

Click on your instance, then third tab is 'Console' (the others being 'Overview' and 'Log')

It opens a VNC to the console, to allow you type in passwords etc to your image in case of emergency boot.

I've just had to do that.

You might have to do this from the openstack host, I couldn't get it to work from another machine on the LAN.

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-07-09 06:11:26 -0500

Seen: 922 times

Last updated: Jul 11 '14