Ask Your Question
1

Why am I getting "Unable to get VNC console" while requesting a vnc console?

asked 2013-03-26 18:02:03 -0600

kalewis gravatar image

updated 2013-04-11 13:27:42 -0600

smaffulli gravatar image

Hi everybody!!

I try to make cloud computing solution via openstack on ubuntu but i got these following errors :

--   Unable to get VNC console for instance "5d61d175-cbec-45de-9458-9dc829e15277".
--   Unable to get log for instance "5d61d175-cbec-45de-9458-9dc829e15277"

and i cannot ping the openstack machine

So if you have solutions, please help me.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2013-03-28 02:38:15 -0600

Yu xingchao gravatar image

updated 2013-03-28 08:39:00 -0600

Please specify your deployment configuration, and paste your nova.conf file both in the controller node and compute node.

For example, if you have a contoller node and a compute:

On the contoller,make sure:

#novncproxy lisnten port
novncproxy_port=6080

#bind ip, this the address you would access
novncproxy_host = 0.0.0.0

On the compute node, make sure:

# start to use vnc
vnc_enabled=true

#location of vnc console proxy
novncproxybaseurl=controller_url:6080/vnc_auto.html

#Ip address on which instance vncserversshould listen
vncserver_listen=127.0.0.1

#the address to which proxy clients should connect
vncserverproxyclientaddress=127.0.0.1

edit flag offensive delete link more
0

answered 2013-03-27 10:55:26 -0600

Larry gravatar image

I'm not that familiar with openstack running under Ubuntu, most of mine were on RedHat/CentOS and Scientific Linux. I've got similar problems before, here were what I check and find out the problems. Since you mentioned you can't ping the instance, wonder whether the instance was really boot up. If you change to the instances_path directory and into the target instance subdirectory, the console.log for that instance should tell you it's status. If you have consoleauth.log you should be able to find out how you define the vnc host and the port for the VM.

edit flag offensive delete link more
0

answered 2013-03-28 05:01:51 -0600

rakrup gravatar image

I would agree to the above comments that you would need to paste your nova.conf to verify the VNC settings are proper.

Also you mentioned that you are not able to ping your instances provisioned by openstack. First step to debug would be :

1) Go to the host where the instance is provisioned. 2) Install virt-manager if not already installed. 3) Open the VM and check if the allocated ip is actually assigned to your provisioned instance. 4) If not, try to set a static-IP belonging to your network range, try to ping the interface address of the machine where the DHCP Server(dnsmasq) is running for quantum/nova-network and use tcpdump to analyse till where your request is reaching and see if the network is not connected properly somewhere.

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: 2013-03-26 18:02:03 -0600

Seen: 3,361 times

Last updated: Apr 11 '13