Incomplete commands and configuration options on VNC configuration with novnc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Undecided
|
Tom Fifield |
Bug Description
I was able to install Horizon following instructions here http://
After that, I found the instructions for configuring VNC here http://
I decided to install the NOVNC option that allows connecting to instances through a web browser and, consequently, through Horizon, the dashboard.
These are step I took and why:
1)
I didn't install nova-consoleauth (command sudo apt-get install nova-consoleauth) because this is already done here http://
NO BUG HERE
2)
Then I jumped to the instructions starting with sentence "To use this nova-novncproxy" and, I found a bug: after submitting command "git clone http://
BUG: need to add "cd noVNC"
3)
I restarted all the services and I followed the instructions starting with "Accessing a VNC console through a web browser" but I got a bad result:
+------
| Type | Url |
+------
| novnc | http://
+------
The address in the URL contains a "bad" address (127.0.0.1:6080) that cannot be used outside the controller and what's worse is that it makes Horizon not work.
In order to fix the problem I added "novncproxy_
BUG: add "novncproxy_
Conclusion: by fixing the two bugs shown above, I was able to run VNC.
--------------
However, I found out more.
Instead of downloading the code as shown at step 2 above, I found out that I get the same result by installing novnc from the package.
I did the following:
"apt-get install novnc"
This installs nova-novncproxy service that, as far as I understand, is the same thing as what you get with step 2) above with the advantage that you don't need to manually run the executable, as reported there.
Also in this case, the configuration reported in the document AND the bug fixing I reported at step 3) are needed.
Changed in openstack-manuals: | |
status: | New → Confirmed |
Changed in openstack-manuals: | |
status: | Confirmed → In Progress |
Changed in openstack-manuals: | |
assignee: | nobody → Tom Fifield (fifieldt) |
Changed in openstack-manuals: | |
status: | Fix Committed → Fix Released |
Let me add my conclusion, I forgot to do that...
In case the novnc installation I made with command "apt-get install novnc" is fine (actually it works, but I'm not sure there are other "contraindications" I don't know), I would put that in the document: it's easier and, very likely, more correct because nova-novncproxy is installed as a serviceand, for example, it automatically restarts at reboot.
In addition, I would suggest some content re-arrangement in that paragraph because the commands related to the other VNC access (via java thick client) do not seem to be very related to the dashboard (the component which this chapter is dedicated to).