Bug 1800503
Summary: | In Hammer, it is not possible to set default keyboard layout for a RHEV host | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukáš Hellebrandt <lhellebr> |
Component: | Compute Resources - RHEV | Assignee: | Yifat Makias <ymakias> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.7.0 | CC: | egolov, ehelms, inecas, mshira, orabin, tbrisker, ymakias |
Target Milestone: | 6.8.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | foreman-2.1.1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 13:00:15 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
Lukáš Hellebrandt
2020-02-07 09:44:20 UTC
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 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 |