[Openstack] Graphical Console for VMs w/o Network Stacks

Donal Lafferty donal.lafferty at citrix.com
Wed May 18 13:02:50 UTC 2011


Hmm.  Don't think Xen uses libvirt.

BTW, do you have a blueprint that I can reference?  Don't see on your Launchpad page.

DL



From: Mike Scherbakov [mailto:mihgen at gmail.com]
Sent: 18 May 2011 13:54
To: Donal Lafferty
Cc: openstack at lists.launchpad.net
Subject: Re: [Openstack] Graphical Console for VMs w/o Network Stacks

It should.
We have tested this functionality only with KVM,
but if libvirt provides it the same way for other hypervisors, it should be Ok.

Regards,
Mike Scherbakov
www.mirantis.com<http://www.mirantis.com/>
On Wed, May 18, 2011 at 4:49 PM, Donal Lafferty <donal.lafferty at citrix.com<mailto:donal.lafferty at citrix.com>> wrote:
Cool.  Does this work with any VMM?  E.g. KVM & Xen?

From: Mike Scherbakov [mailto:mihgen at gmail.com<mailto:mihgen at gmail.com>]
Sent: 18 May 2011 12:08
To: Donal Lafferty
Cc: openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Subject: Re: [Openstack] Graphical Console for VMs w/o Network Stacks

Hi,
there is a VNC button if you click on instance link in Dashboard.

Instructions on how to make it work are below.

 1.  Get Nova
mkdir ~/src
bzr branch lp:nova


 1.  Get noVNC
cd ~/src
git clone https://github.com/openstack/noVNC.git<http://github.com/openstack/noVNC.git>


 1.  Get and install my branch of dashboard
cd ~/src
bzr branch lp:openstack-dashboard
cd openstack-dashboard/openstack-dashboard
python tools/install_venv.py
cp local/local_settings.py.example local/local_settings.py


 1.  Install and run Nova
cd ~/src/nova
sudo contrib/nova.sh install .
sudo contrib/nova.sh run .


 1.  Run vncproxy
Create new screen window with <ctrl>-a <ctrl>-c
bin/nova-vncproxy --vncproxy_wwwroot ~/src/noVNC


 1.  Run dashboard

Create new screen window with <ctrl>-a <ctrl>-c
Prepare dashboard's db (once):
cd ~/src/openstack-dashboard/openstack-dashboard
tools/with_venv.sh dashboard/manage.py syncdb


When asked to create superuser, type "yes" and create user with name admin and any email and password.
cd ~/src/openstack-dashboard/openstack-dashboard
tools/with_venv.sh dashboard/manage.py runserver 8080


Now you can navigate to http://127.0.0.1:8080<http://127.0.0.1:8080/>, login with user admin and specified password and have fun.
Regards,
Mike Scherbakov
www.mirantis.com<http://www.mirantis.com>
On Wed, May 18, 2011 at 2:52 PM, Donal Lafferty <donal.lafferty at citrix.com<mailto:donal.lafferty at citrix.com>> wrote:
Sorry if this is a repeat question, but I was wondering whether there were any blueprints completed or afoot to provide a graphical console for VMs that don't have their network stacks configured.  E.g. https://blueprints.launchpad.net/nova/+spec/web-based-serial-console offers the ability to interact with VMs whose network is dead.  I'm looking for something similar, but with a graphical console rather than a text-based version.

Any information would be most appreciated,

DL



_______________________________________________
Mailing list: https://launchpad.net/~openstack<https://launchpad.net/%7Eopenstack>
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack<https://launchpad.net/%7Eopenstack>
More help   : https://help.launchpad.net/ListHelp


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110518/dade7a10/attachment.html>


More information about the Openstack mailing list