Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got an OpenStack deployment running inside a VM for testing purposes. My setup is as follows: Host Ubuntu x64 with Virtualbox -> Guest Ubuntu x64 with OpenStack -> Ubuntu X64 Server Test Instances through Openstack.

I realize it is of no practical use, but as said, it is for testing purposes only. I successfully launched an instance, binding it to 11.1.0.3 and 172.16.1.1 (host is 172.16.0.1) and I can successfully ssh into it from either the host or the guest VM with ssh -i key.pem ubuntu@11.1.0.3 (or 172.16.1.1). Unfortunately, the NoVNC via Horizon does not work (Starting VNC handshake -> Failed to connect).

The relevant lines from my nova.conf are the following:

--novnc_enabled=true
--novncproxy_base_url=http://172.16.0.1:6080/vnc_auto.html
--vncserver_proxyclient_address=172.16.0.1
--vncserver_listen=172.16.0.1

So I'm not sure what's going wrong. The keypair that matches the .pem file I ssh with is of course coupled with the instance, and the instance is Active and Running.

Any help would be greatly appreciated.

Edit: nova get-vnc-console [id] novnc correctly supplies me with a link to vnc into the vm, but it also fails to connect.

Edit 2: To clarify: I have an active, running instance that successfully launched through the OpenStack dashboard. I can ping the instance, I can ssh into it (using 'ssh -i key.pem ip), but I cannot access it through VNC (specifically novnc on the dashboard). Trying to access the VM through the URL nova supplies through get-vnc-console does not work either. What I wish to do is access this instance via VNC.

share|improve this question
    
So is your question about VNC on openstack or VMz not being reachable. –  Chakri Apr 5 '13 at 20:56
    
Sorry if it was a little unclear: I added clarification as to what I meant. I wish to access the instance via VNC, but cannot as of right now. –  user991710 Apr 5 '13 at 21:21

1 Answer 1

I think your URL reference should be your public IP.

novncproxy_base_url=http://:6080/vnc_auto.html

xvpvncproxy_base_url=http://:6081/console

Try that.

share|improve this answer
    
Could you elaborate on that slightly? In my nova.conf above, I have: --novncproxy_base_url=http://172.16.0.1:6080/vnc_auto.html, with 172.16.0.1 being the VM's (= the system running Openstack services) public IP address as far as it is concerned. Am I missing something? –  user991710 Apr 5 '13 at 21:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.