Bug 1983760
| Summary: | Hammer ansible command gives "Error: undefined method" | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Ondrej Gajdusek <ogajduse> |
| Component: | Ansible - Configuration Management | Assignee: | Ondřej Pražák <oprazak> |
| Status: | CLOSED ERRATA | QA Contact: | Ondrej Gajdusek <ogajduse> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.10.0 | CC: | lvrtelov, oezr, oprazak, pcreech |
| Target Milestone: | 6.10.0 | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-hammer_cli_foreman_ansible-0.3.4 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-11-16 14:12:49 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
Ondrej Gajdusek
2021-07-19 17:34:08 UTC
Created redmine issue https://projects.theforeman.org/issues/33165 from this bug Upstream bug assigned to oprazak Upstream bug assigned to oprazak Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33165 has been resolved. Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33165 has been resolved. VERIFIED @Satellite 6.10.0 snap 13 foreman-2.5.2.4-1.el7sat.noarch satellite-6.10.0-0.6.beta.el7sat.noarch The user is able to update the variable using steps 1 and 2 from the BZ description followed by the steps below. [root@dhcp-3-143 ~]# hammer ansible variables create --ansible-role-id 2 --variable aa_test_variable --default-value defaultval1 Ansible variable [aa_test_variable] was created. [root@dhcp-3-143 ~]# hammer ansible variables list --search name=aa_test_variable ---|------------------|---------------|------|---------------------------------------------- ID | VARIABLE | DEFAULT VALUE | TYPE | ROLE ---|------------------|---------------|------|---------------------------------------------- 43 | aa_test_variable | defaultval1 | | project-receptor.satellite_receptor_installer ---|------------------|---------------|------|---------------------------------------------- [root@dhcp-3-143 ~]# hammer ansible variables update --name aa_test_variable --default-value defaultval2 Ansible variable [aa_test_variable] updated. [root@dhcp-3-143 ~]# hammer ansible variables list --search name=aa_test_variable ---|------------------|---------------|------|---------------------------------------------- ID | VARIABLE | DEFAULT VALUE | TYPE | ROLE ---|------------------|---------------|------|---------------------------------------------- 43 | aa_test_variable | defaultval2 | | project-receptor.satellite_receptor_installer ---|------------------|---------------|------|---------------------------------------------- Verified using tfm-rubygem-hammer_cli_foreman_ansible-0.3.4-1.el7sat.noarch 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 (Moderate: Satellite 6.10 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-2021:4702 |