Bug 1265967

Summary: hammer option to change libvirt compute resource display is missing
Product: Red Hat Satellite Reporter: Mahesh Taru <mtaru>
Component: Compute ResourcesAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: bbuckingham, cwelton, kbidarka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: http://projects.theforeman.org/issues/14330
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 10:59:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mahesh Taru 2015-09-24 08:37:04 UTC
Description of problem:
From satellite webui --> Infrastructure --> Compute Resource --> it is possible to edit and change the libvirt 'Display type' to VNC/SPICE.

But with hammer utility there are only following options available and no option for changing display.

--set-console-password SET_CONSOLE_PASSWORD for Libvirt and Vmware only
 --url URL                                   URL for Libvirt, RHEV, and Openstack

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create compute resource: Satellite webui -->  Infrastructure --> Compute Resource --> New Compute Resource --> Provider: libvirt --> Fill other details --> Submit
2.  Infrastructure --> Compute Resource --> Click on the 'Edit' tab in front libvirt compute resource --> change the 'Display type' --> Submit
3. From Satellite command line no option available to change display of libvirt compute resource.

# hammer compute-resource update --help

Actual results:

No option to change display type of libvirt compute resource.

Expected results:
Hammer utility should have option to change the display type of libvirt compute resource.

Additional info:

Comment 2 Adam Ruzicka 2016-03-23 15:29:45 UTC
Created redmine issue http://projects.theforeman.org/issues/14330 from this bug

Comment 3 Bryan Kearney 2016-03-23 16:07:22 UTC
Upstream bug assigned to aruzicka

Comment 4 Bryan Kearney 2016-03-23 16:07:25 UTC
Upstream bug component is Compute Resources

Comment 5 Bryan Kearney 2016-04-05 08:07:39 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14330 has been closed
-------------
Adam Ruzicka
Applied in changeset commit:e52bc50f83ebabb40b28c20c263f97947c881207.

Comment 6 Kedar Bidarkar 2016-05-11 17:07:54 UTC
~]# hammer -u admin -p changeme compute-resource update --id 2 --display-type SPICE
Compute resource updated


VERIFIED with sat62-snap10.1

Comment 7 Bryan Kearney 2016-07-27 10:59:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501