Comment 6 for bug 1433894

Revision history for this message
Aleksandr Didenko (adidenko) wrote :

OK. Here are some additional details. I can see 3 JS files are missing for novnc on Ubuntu envs:

# grep 404 /var/log/upstart/nova-novncproxy.log | grep 'GET /include/' | awk '{print $7}' | sort -u
/include/keyboard.js
/include/keysymdef.js
/include/keysym.js

# ll /usr/share/novnc/include/{keysymdef.js,keyboard.js,keysym.js}
ls: cannot access /usr/share/novnc/include/keysymdef.js: No such file or directory
ls: cannot access /usr/share/novnc/include/keyboard.js: No such file or directory
ls: cannot access /usr/share/novnc/include/keysym.js: No such file or directory

# dpkg -L novnc | grep /include/ | egrep 'keysymdef.js|keyboard.js|keysym.js' || echo Not found
Not found

Due to this, novnc in Horizon loads forever and I can't get console.

Checking our deb package:

# wget http://osci-mirror-msk.msk.mirantis.net/mos/ubuntu//pool/main/n/novnc/novnc_0.5.1+gitfc00821eba~mira6.1_all.deb
# dpkg -c novnc_0.5.1+gitfc00821eba~mira6.1_all.deb | grep /include/ | egrep 'keysymdef.js|keyboard.js|keysym.js' || echo Not found
Not found

CentOS rpm has those files in place so only Ubuntu is affected. As soon as I put those missing files into /usr/share/novnc/include/ on controllers, novnc console starts to work. So it looks like this problem is caused by missing files in out DEB package. Please check.