nova-spicehtml5proxy keeps restarting need to install dependency websockify
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
prameswar | ||
Newton |
Fix Released
|
Undecided
|
prameswar |
Bug Description
nova-spicehtml5
4c4d952f237a kolla/ubuntu-
8eaac2156a0e kolla/ubuntu-
504db273160d kolla/ubuntu-
d6f74e94d915 kolla/ubuntu-
sudo docker logs nova_spicehtml5
INFO:__main__:Kolla config strategy set to: COPY_ONCE
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
Running command: 'nova-spicehtml
Traceback (most recent call last):
File "/usr/bin/
from nova.cmd.
File "/usr/lib/
from nova.cmd import baseproxy
File "/usr/lib/
from nova.console import websocketproxy
File "/usr/lib/
import websockify
ImportError: No module named websockify
INFO:__main__:Kolla config strategy set to: COPY_ONCE
INFO:__
INFO:__
INFO:__main__:The config strategy prevents copying new configs
Running command: 'nova-spicehtml
Traceback (most recent call last):
File "/usr/bin/
from nova.cmd.
File "/usr/lib/
from nova.cmd import baseproxy
File "/usr/lib/
from nova.console import websocketproxy
File "/usr/lib/
import websockify
Changed in kolla: | |
status: | New → In Progress |
Changed in kolla: | |
milestone: | none → ocata-1 |
centos based system installing python-websockify as dependency of nova package. so it is already installed so no need to install it in centos , but it give warning :
INFO:__ main__: Setting permissions for /etc/nova/nova.conf main__: Writing out command to execute main__: Setting permission for /var/log/kolla/nova main__: Setting permission for /var/log/ kolla/nova/ nova-scheduler. log main__: Setting permission for /var/log/ kolla/nova/ nova-conductor. log main__: Setting permission for /var/log/ kolla/nova/ nova-api. log main__: Setting permission for /var/log/ kolla/nova/ nova-spicehtml5 proxy.log main__: Setting permission for /var/log/ kolla/nova/ nova-consoleaut h.log main__: Setting permission for /var/log/ kolla/nova/ nova-manage. log main__: Setting permission for /var/log/ kolla/nova/ nova-compute. log 5proxy'
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
INFO:__
Running command: 'nova-spicehtml
WARNING: no 'numpy' module, HyBi protocol will be slower
so it can be installed using :
sudo yum install numpy
for ubuntu based :
we have to install package websockify:
sudo apt-get install websockify
it install numpy as dependency of websockify. but in centos we have to install externally.