Project

General

Profile

Actions

Feature #24532

closed

Allow Satellite user to choose between VNC, SPICE for Display type on RHEV compute resources

Added by Shira Maximov over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - oVirt
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1468742

1. Proposed title of this feature request:
Offer Display type choice between SPICE and VNC for RHEV compute resources

2. Who is the customer behind the request?

This information will be provided as a private comment.

3. What is the nature and description of the request?

With RHEV registered on Satellite 6.2.10 as a compute resource, SPICE is used as Display type. No questions asked, no other options offered.

Customer uses VNC by default on their RHV infrastructure, but Satellite will always set new RHV guests to SPICE.

Customer would like to be able to choose VNC instead of SPICE.

For comparison purposes, libvirt compute resource allows the user to choose between VNC and SPICE.

4. Why does the customer need this?

Customer uses VNC by default as Display type on RHV when spinning new VMs on this RHV. This is a requirement for their standard environment.

5. How would the customer like to achieve this?

On the webUI, navigate to Infrastructure > Compute resources.
Click "Edit" next to a RHEV compute resource and change Display type from SPICE to VNC.

This is precisely what libvirt compute resources offer as of today.

With hammer this would be accomplished the same way as libvirt offers this switch:
  1. hammer compute-resource update --id <ID> --display-type VNC

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

Both webUI and hammer can be tested by the customer.
Customer has a sandbox environment where they can test new things before going to production.

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
This looks like an extension of this 5 year old upstream RFE: http://projects.theforeman.org/issues/1637

8. Does the customer have any specific timeline dependencies and which release would they like to target?
As soon as possible but this is not critical. This is significantly convenient.
While this new setting is not available the customer must go to RHEV and set the display type of each individual guest to VNC when the guest is provisioned.

9. Is the sales team involved in this request and do they have any additional input?

No.

10. List any affected packages or components.

Foreman, hammer, RHEV compute resources.

11. Would the customer be able to assist in testing this functionality if implemented?

Yes.

Actions #1

Updated by Arend Lapere over 6 years ago

I would like to add to this topic that VNC also comes with the need for setting the correct keyboard layout associated with the machine... which is one of the reasons I like SPICE, as it "simply works" with any keyboard, the big downside of SPICE, for my limited experience so far, is that:
- Windows + SPICE + web-spice-viewer are not best buddies as things are presented upside down (yet in the right position); it's like the dirty rectangles get scrambled
- CentOS + SPICE + web-spice-viewer seems to work OK, but more often than not, the text seems to get scrambled, for instance when typing. For me that's quite a big downside but YMMV

(if the points mentioned can be overcome in any way, it would be interesting to know, perhaps there are some options that I have yet to learn), just my 2 cents on the topic :-)

Actions #2

Updated by Arend Lapere about 6 years ago

  • Assignee set to Arend Lapere
Actions #3

Updated by Arend Lapere about 6 years ago

Good news; made all the UI work and made a small adaptation to fog ovirt.
Now we can:
  • From the compute source select the
    • Display Type: VNC or Spice
    • Select the default Keyboard Layout in case VNC has been selected
  • From the virtual machine tab or compute profile
    • Select the preferred keyboard layout

One cool, future, addition is that we could access the keyboard layout from within a template for easy provisioning; e.g. in kickstart you can set the keyboard layout using the keyboard parameter. However, every OS is different is this aspect so might be a cool additional feature at some point in time.

Currently awaiting the merge and release of new fog ovirt gem. After this, I can file the PR for this patch.

My todo still: test using hammer cli

Actions #4

Updated by Arend Lapere about 6 years ago

  • Status changed from New to Pending
Actions #5

Updated by Arend Lapere about 6 years ago

  • Pull request https://github.com/fog/fog-ovirt/pull/47 added
Actions #6

Updated by The Foreman Bot almost 6 years ago

  • Status changed from Pending to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6555 added
Actions #7

Updated by Anonymous over 5 years ago

  • Fixed in Releases 1.23.0 added
Actions #8

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF