Red Hat Bugzilla – Bug 1265967
hammer option to change libvirt compute resource display is missing
Last modified: 2016-07-27 06:59:27 EDT
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):
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
No option to change display type of libvirt compute resource.
Hammer utility should have option to change the display type of libvirt compute resource.
Created redmine issue http://projects.theforeman.org/issues/14330 from this bug
Upstream bug assigned to firstname.lastname@example.org
Upstream bug component is Compute Resources
Moving to POST since upstream bug http://projects.theforeman.org/issues/14330 has been closed
Applied in changeset commit:e52bc50f83ebabb40b28c20c263f97947c881207.
~]# hammer -u admin -p changeme compute-resource update --id 2 --display-type SPICE
Compute resource updated
VERIFIED with sat62-snap10.1
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.