Description of problem: Version-Release number of selected component (if applicable): How reproducible: Allways Steps to Reproduce: 1.systemctl start openstack-nova-novncproxy.service 2.systemctl status openstack-nova-novncproxy.service 3. Actual results: openstack-nova-novncproxy.service - OpenStack Nova NoVNC Proxy Server Loaded: loaded (/usr/lib/systemd/system/openstack-nova-novncproxy.service; enabled) Active: failed (Result: exit-code) since Thu, 20 Sep 2012 15:34:10 +0300; 1h 42min ago Process: 15737 ExecStart=/usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf --web /usr/share/novnc/ (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/openstack-nova-novncproxy.service Sep 20 15:34:10 fedora17x64-folsom abrt[15737]: detected unhandled Python exception in '/usr/bin/nova-novncproxy' Sep 20 15:34:10 fedora17x64-folsom nova-novncproxy[15737]: WARNING: no 'numpy' module, HyBi protocol is slower or disabled Sep 20 15:34:10 fedora17x64-folsom nova-novncproxy[15737]: Traceback (most recent call last): Sep 20 15:34:10 fedora17x64-folsom nova-novncproxy[15737]: File "/usr/bin/nova-novncproxy", line 33, in <module> Sep 20 15:34:10 fedora17x64-folsom nova-novncproxy[15737]: from nova import rpc Sep 20 15:34:10 fedora17x64-folsom nova-novncproxy[15737]: ImportError: cannot import name rpc Expected results: The service should start withot error. Additional info: [root@fedora17x64-folsom ~]# uname -r 3.5.3-1.fc17.x86_64 [root@fedora17x64-folsom ~]# yum info openstack-nova-novncproxy Loaded plugins: langpacks, presto, refresh-packagekit Installed Packages Name : openstack-nova-novncproxy Arch : noarch Version : 0.3 Release : 11.fc17 Size : 5.8 k Repo : installed From repo : updates Summary : Proxy server for noVNC traffic over Websockets URL : https://github.com/kanaka/noVNC License : GPLv3 Description : OpenStack Nova noVNC server that proxies VNC traffic over Websockets
Looks like for Folsom we'll need to move to the integrated proxy server within nova
To expand on this, the novnc package in F18 will probably need to remove its openstack-nova-novncproxy sub package in favor of the code within nova. So within the nova package we could include everything in the openstack-nova-console subpackage that Provides openstack-nova-novncproxy, or have a separate subpackage that's in turn required by openstack-nova-console.
info for setup/testing https://fedoraproject.org/wiki/Getting_started_with_OpenStack_on_Fedora_17#VNC_access
After looking into this further - the issue seems to be that current python-websockify and novnc packages we use, use upstream versions which are not compatible with nova folsom code (websockify 0.1.0 and novnc 0.3.0 while we need 0.2 and 0.4 respectively). Simplest solution is to bump up the versions of source these packages download for distros that ship with folsom.
(In reply to comment #3) > info for setup/testing > > https://fedoraproject.org/wiki/ > Getting_started_with_OpenStack_on_Fedora_17#VNC_access This does not work - we don't event have the file /etc/init.d/openstack-nova-consoleauth in the system. Trying to install the previous version also results in an error: Dependencies Resolved =================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================== Installing: openstack-nova-novncproxy noarch 0.3-11.fc17 updates 7.7 k Transaction Summary =================================================================================================================================================================================================== Install 1 Package Total size: 7.7 k Installed size: 5.8 k Is this ok [y/N]: y Downloading Packages: Running Transaction Check Running Transaction Test Transaction Check Error: file /usr/share/man/man1/nova-novncproxy.1.gz from install of openstack-nova-novncproxy-0.3-11.fc17.noarch conflicts with file from package openstack-nova-common-2012.2-1.fc18.noarch
novnc-0.4-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/novnc-0.4-2.fc18
python-websockify-0.2.0-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-websockify-0.2.0-1.fc18
Package novnc-0.4-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing novnc-0.4-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16807/novnc-0.4-2.fc18 then log in and leave karma (feedback).
I used this package novnc-0.4-2.el6.noarch.rpm from this location http://repos.fedorapeople.org/repos/openstack/openstack-folsom/epel-6/ on centos6.2 and it works great. The problem can be considered closed. Thanks
Verified based on comment 9
python-websockify-0.2.0-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-websockify-0.2.0-2.fc18
Package novnc-0.4-2.fc18, python-websockify-0.2.0-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing novnc-0.4-2.fc18 python-websockify-0.2.0-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16807/python-websockify-0.2.0-2.fc18,novnc-0.4-2.fc18 then log in and leave karma (feedback).
Verified Based on commenct 9. Platform: RHEL 6.3 with EPEL and Fedora 17. Steps to verify: 1. yum install openstack-nova-novncproxy (this will install novnc by dependency) 2. service openstack-nova-consoleauth start 3. service openstack-nova-novncproxy start 4. VNC Console now works. RPMs: novnc-0.4-2.el6.noarch openstack-nova-novncproxy-0.4-2.el6.noarch
novnc-0.4-2.fc18, python-websockify-0.2.0-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.