# 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.
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.
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 keyboard. js keysymdef. js
/include/
/include/
/include/keysym.js
# ll /usr/share/ novnc/include/ {keysymdef. js,keyboard. js,keysym. js} novnc/include/ keysymdef. js: No such file or directory novnc/include/ keyboard. js: No such file or directory novnc/include/ keysym. js: No such file or directory
ls: cannot access /usr/share/
ls: cannot access /usr/share/
ls: cannot access /usr/share/
# 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+gitfc00821e ba~mira6. 1_all.deb 5.1+gitfc00821e ba~mira6. 1_all.deb | grep /include/ | egrep 'keysymdef. js|keyboard. js|keysym. js' || echo Not found
# dpkg -c novnc_0.
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.