Star Hype News.

Premium celebrity moments with standout appeal.

news

How do I enable instance console access in Ubuntu Openstack?

By Sebastian Wright

When I got to the horizon GUI after installing Ubuntu Openstack with Juju, I get the following error when I try to access a console of an instance I create:

Instance Console

How do I fix this:?

2 Answers

VNC connections can be a bit tricky to get going, but I have found the 'novnc' option works quite well:

# Enable the 'novnc'
juju set nova-cloud-controller 'console-access-protocol=novnc'
juju debug-log # wait for some sort of quiet state

Then, any new instances you launch should be able to get a console view in the web browser:

html5-based console viewer

2

Figured out. Here are the steps

Step 1: Login Maas server

Step 2: run following command

juju ssh landscape-server/0 sudo 'JUJU_DATA=/var/lib/landscape/juju-homes/sudo ls -rt /var/lib/landscape/juju-homes/ | tail -1 sudo -u root -E bash'

Step 3: run this command

juju config nova-cloud-controller console-access-protocol=novnc

Hope this will help someone like me

thanks MRAU

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy