How Do I Enable Instance Console Access in Ubuntu Openstack?

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:

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:

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

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

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest