Description of problem: When adding a RHEV CR in Hammer, it is possible to select default display type but it's not possible to select default keyboard layout (as opposed to WebUI where both is possible). Version-Release number of selected component (if applicable): Sat 6.7, new functionality How reproducible: Deterministic Steps to Reproduce: 1. # hammer compute-resource create --help Actual results: No info about setting default keyboard layout for RHEV Expected results: Info about setting default keyboard layout for RHEV which actually works
While trying to reproduce this bug I saw that there is a keyboard option when creating a new RHEV compute resource however, there is no such option when creating a host and I think there should be.
Created redmine issue https://projects.theforeman.org/issues/29254 from this bug
Upstream bug assigned to ymakias
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/29254 has been resolved.
FailedQA with Sat 6.8 snap 5.0. While the command help now correctly contains "--keyboard" parameter description, using it has actually no effect: # hammer compute-resource create --name testv4Hammer8 --provider Ovirt --url https://<RHEV_FQDN>/ovirt-engine/api --user <rhev_login> --password <rhev_password> --datacenter Satellite-Devel --display-type VNC --keyboard fo => Results in a CR created with correct display type but keyboard always being "en-us".
Verified with Sat 6.8 snap 17. # hammer compute-resource create --help | grep layout -A1 --keyboard-layout KEYBOARD_LAYOUT For RHEV only Possible value(s): 'ar', 'de-ch', 'es', 'fo', 'fr-ca', 'hu', 'ja', 'mk', 'no', 'pt-br', 'sv', 'da', 'en-gb', 'et', 'fr', 'fr-ch', 'is', 'lt', 'nl', 'pl', 'ru', 'th', 'de', 'en-us', 'fi', 'fr-be', 'hr', 'it', 'lv', 'nl-be', 'pt', 'sl', 'tr' # hammer compute-resource create --name rhev2 --provider ovirt --use-v4 yes --url https://<FQDN>/ovirt-engine/api --user <user> --password <password> --datacenter Satellite-Engineering --display-type SPICE --keyboard-layout fr-ca Compute resource created. Checked in WebUI that the layout is indeed set to fr-ca. Additionally, checked that the parameter only accepts acceptable values, the error is: ``` Could not create the compute resource: Error: Option '--keyboard-layout': Value must be one of 'ar', 'de-ch', 'es', 'fo', 'fr-ca', 'hu', 'ja', 'mk', 'no', 'pt-br', 'sv', 'da', 'en-gb', 'et', 'fr', 'fr-ch', 'is', 'lt', 'nl', 'pl', 'ru', 'th', 'de', 'en-us', 'fi', 'fr-be', 'hr', 'it', 'lv', 'nl-be', 'pt', 'sl', 'tr'.. ```
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 (Important: Satellite 6.8 release), 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/RHSA-2020:4366