Add novnc console support in favor of spice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Wishlist
|
Unassigned | ||
Icehouse |
Won't Fix
|
Wishlist
|
Unassigned | ||
Juno |
Won't Fix
|
Wishlist
|
Unassigned | ||
Kilo |
Fix Released
|
Wishlist
|
Unassigned | ||
Trunk |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
This is a resubmission
Currently the spice console is plagued by too many open issues and we should use the novnc as default console back-end while having spice available as a future option.
The spice issues primarily manifest into mouse cursor and cursor issues inside GFX enabled consoles/displays like Windows display
or Linux consoles which have frame buffer (FB) enabled.
* No Windows 2008/2012 display driver support
Windows is using a ordinary Basic Microsoft Video adapter driver
No screen acceleration provided by spice is supported that way.
That especially show into console issues once the guest resizes the screen, for example going into recovery mode.
* Windows 2008/2012 mouse cursor issues
The windows cursor inside the spice console is virtually unusable.
X/Y and acceleration coordinates between guest and spice server are deviating more and more, to a point
which makes it impossible to use the mouse.
* CTRL+ALT+DEL button missing
This has been fixed in OSAD per #1423669, the proposed fix never made it into the spice-html5 proxy upstream project
This patch was originally submitted by RedHat.
* Display issues with newer Linux OS like centos or RHEL7 referred to 'GFX/FB (frame buffer) consoles'
This has been addressed in a workaround published inside the RPC release notes/documentation
* QXL driver issues with the last tested version 0.11
I did got to manage the installation of this driver but then it rotated the display 180deg which is related to a issue
inside the spice-html5 proxy again. A found workaround fixed this issue. Resolution resets or display accelleration was not tested
since it did not improve the most pressing issue in regards to the mouse coordinates
* No vdagent/vdservice support in nova
I was not able to locate any support within Nova, but even when I enabled it manually it did not improve the situation.
Other references :
https:/
Wararound for CTRL+ALT+DEL button missing :
=======
This has been fixed by OSAD in a post install patch via https:/
Woraround for GFX/FB (frame buffer) consoles issues :
=======
spice console issue with CentOS 7/RHEL. Here the instructions:
Please add inside the /etc/default/grub config file the
option "nofb nomodereset" to the GRUB_CMDLINE_LINUX variable and regenerate the grub2 config
Tested config /etc/default/grub
-------
GRUB_TIMEOUT=1
GRUB_DISTRIBUTO
GRUB_DEFAULT=saved
GRUB_DISABLE_
GRUB_TERMINAL=
GRUB_SERIAL_
GRUB_CMDLINE_
GRUB_DISABLE_
Rebuilt grub2 config
-------
grub2-mkconfig -o /boot/grub2/
Woraround for QXL driver issues with the last tested version 0.11 :
=======
I got the qxl wddm driver 0.11 working in spice using the latest spice-html5 proxy (http://
and a patch slightly changed I got from http://
diff --git a/display.js b/display.js
index 814ada6..ee197c8 100644
--- a/display.js
+++ b/display.js
@@ -284,9 +284,6 @@ SpiceDisplayCon
}
- if (draw_copy.
- this.log_
-
if (! source_img)
diff --git a/lz.js b/lz.js
index 4292eac..758f7d1 100644
--- a/lz.js
+++ b/lz.js
@@ -141,6 +141,27 @@ function lz_rgb32_
return encoder - 1;
}
+function flip_image_
+{
+ var w = img.width;
+ var h = img.height;
+ var temp_w = w;
+ var temp_h = h;
+ var buff = new Uint8Array(
+ while (temp_h--)
+ {
+ while (temp_w--)
+ {
+ buff[(temp_h * w + temp_w) * 4] = img.data[((h - temp_h - 1) * w + temp_w) * 4];
+ buff[(temp_h * w + temp_w) * 4 + 1] = img.data[((h - temp_h -1) * w + temp_w) * 4 + 1];
+ buff[(temp_h * w + temp_w) * 4 + 2] = img.data[((h - temp_h -1) * w + temp_w) * 4 + 2];
+ buff[(temp_h * w + temp_w) * 4 + 3] = img.data[((h - temp_h -1) * w + temp_w) * 4 + 3];
+ }
+ temp_w = w;
+ }
+ img.data.set(buff);
+}
+
function convert_
{
var at;
@@ -150,6 +171,9 @@ function convert_
var ret = context.
at = lz_rgb32_
+ if (! lz_image.top_down)
+ flip_image_
+
if (lz_image.type == LZ_IMAGE_TYPE_RGBA)
}
Lastly this workaround does not fix the mouse acceleration issues, it fixes only the screen rotation issues inside
Changed in openstack-ansible: | |
importance: | Undecided → High |
status: | New → Triaged |
no longer affects: | openstack-ansible/kilo |
description: | updated |
RE: Display issues with Centos/RHEL 7. The issue does not present itself in a vanilla Ubuntu build of Icehouse. I was able to test in my home lab without the issue manifesting itself. After some digging, the only significant difference in packages/ configuration was for websockify. Ubuntu backported several fixes to correct zombie processes (which the customer is also experiencing). So it seems that we should be able to tweak the requirements file to pull in websockify 0.6.0 which has the zombie patch. Or simply use the Ubuntu package.
We, however, were not able to test installing the patched version to see if it actually resolves the issue as the customer is upgrading to Juno this week. Perhaps we can test shortly before upgrading? They were fine with just waiting for the upgrade which should resolve the issue as it pulls in the patched version.
http:// changelogs. ubuntu. com/changelogs/ pool/universe/ w/websockify/ websockify_ 0.5.1+dfsg1- 3ubuntu0. 14.04.1/ changelog /bugs.launchpad .net/ubuntu/ +source/ websockify/ +bug/1350352
https:/