Santiago Ruiz wrote:
This also affects version 1.15.1.
attached error log
I can confirm that this issue is present on 1.15.2. I followed all the instructions on setting up NoVNC on Foreman 1.15.2. My Qemu/KVM server is running Centos 7 and I have SELINUX and IPTABLES disabled. My Foreman instance is running on Ubuntu 16.04. I can manage my KVM server from Foreman using the FQDN of the server and qemu+ssh, but whenever I launch the console I get:
Error: Failed to set console: Call to virDomainUpdateDeviceFlags failed: Operation not supported: cannot change keymap setting on vnc graphics
The instance I am trying to console into has en-us set as the keymap, there is no password, vnc is set up to listen on all interfaces and I have auto set up for the VNC port (5903).
If I manually set the VNC port to any port between 5910-5930 I get:
Error: Failed to set console: Call to virDomainUpdateDeviceFlags failed: Operation not supported: cannot change port settings on vnc graphics
In either case, I do not see websockify.py under processes, nor do I see anything significant in the production.log (with debug enabled). Every time I click on the console button, the only thing that pops up in the log is:
2017-07-17T11:03:25 f7a77f80 [app] [I] Current user: admin (administrator)
2017-07-17T11:03:25 f7a77f80 [app] [D] Setting current user thread-local variable to admin
2017-07-17T11:03:25 f7a77f80 [app] [I] Rendered compute_resources_vms/show/_libvirt.html.erb (28.5ms)
2017-07-17T11:03:25 f7a77f80 [app] [I] Rendered compute_resources_vms/show.html.erb within layouts/application (34.2ms)
2017-07-17T11:03:25 f7a77f80 [app] [I] Rendered layouts/_application_content.html.erb (0.4ms)
2017-07-17T11:03:25 f7a77f80 [app] [I] Rendered home/_user_dropdown.html.erb (3.7ms)
2017-07-17T11:03:25 f7a77f80 [app] [I] Read fragment views/tabs_and_title_records-3 (0.5ms)
2017-07-17T11:03:25 f7a77f80 [app] [I] Rendered home/_topbar.html.erb (5.9ms)
2017-07-17T11:03:25 f7a77f80 [app] [I] Rendered layouts/base.html.erb (8.8ms)
2017-07-17T11:03:25 f7a77f80 [app] [I] Completed 200 OK in 86ms (Views: 46.5ms | ActiveRecord: 2.0ms)
2017-07-17T11:03:25 686ab86a [app] [I] Started GET "/notification_recipients" for 198.51.100.51 at 2017-07-17 11:03:25 -0500
At this point, I think I've exhausted all possible options (to include updating the config settings in Firefox). I would really like to get this working if possible.
Cheers,
Carlos