Bug 1776151
Summary: | Job result as failure on successful playbook run | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ondřej Pražák <oprazak> |
Component: | Ansible - Configuration Management | Assignee: | Ondřej Pražák <oprazak> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.7.0 | CC: | egolov, inecas, lpramuk, mhulan, rbertolj |
Target Milestone: | 6.7.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-foreman_ansible_core-3.0.2 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-14 13:27:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1780108 | ||
Bug Blocks: |
Description
Ondřej Pražák
2019-11-25 09:02:36 UTC
Created from redmine issue https://projects.theforeman.org/issues/28313 *** Bug 1776153 has been marked as a duplicate of this bug. *** Upstream bug assigned to oprazak Upstream bug assigned to oprazak Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28313 has been resolved. *** Bug 1776829 has been marked as a duplicate of this bug. *** *** Bug 1776828 has been marked as a duplicate of this bug. *** FailedQA. 1) Install and import adriagalin.motd role # ansible-galaxy install -p /etc/ansible/roles adriagalin.motd # hammer ansible roles import --proxy-id 1 2) Assign the role to the Satellite host # curl -k https://$(hostname):9090/ssh/pubkey >> ~/.ssh/authorized_keys # hammer host ansible-roles assign --name $(hostname) --ansible-roles adriagalin.motd 3) Play the roles for the host # hammer host ansible-roles play --name $(hostname) Ansible roles are being played. Job ID: 6 4) Check the job and its task details State: running 25% Complete ___/ Run \___ 3: Actions::ProxyAction (suspended) [ 988.19s / 0.12s ] Cancel >>> Job is pending forever Before the "fix" Actions::RemoteExecution::RunHostJob during Finalize stage failed ___/ Finalize \___ 4: Actions::RemoteExecution::RunHostJob (error) [ 0.02s / 0.02s ] Error: StandardError Job execution failed After the "fix" the execution freezes on the previous action Actions::ProxyAction during Run stage ___/ Run \___ 3: Actions::ProxyAction (suspended) [ 988.19s / 0.12s ] Cancel I have retested on the last snap and can't reproduce the issue you desribe in comment 11. I tried arbitrary ansible command run and also installed the role according to your setps. Everything seems to work fine. We need your reproducer to unblock this. I'm no longer able to reproduce comment#11 as well. The issue reproduced in comment#11 seems to be fixed now and is then unrelated to this BZ. Switching back to ON_QA then. VERIFIED. @satellite-6.7.0-5.beta.el7sat.noarch tfm-rubygem-foreman_ansible_core-3.0.2-1.el7sat.noarch by following manual steps: 1) Install and import adriagalin.motd role # ansible-galaxy install -p /etc/ansible/roles adriagalin.motd # hammer ansible roles import --proxy-id 1 2) Assign the role to the Satellite host # curl -k https://$(hostname):9090/ssh/pubkey >> ~/.ssh/authorized_keys # hammer host ansible-roles assign --name $(hostname) --ansible-roles adriagalin.motd 3) Play the roles for the host # hammer host ansible-roles play --name $(hostname) Ansible roles are being played. Job ID: 6 4) Check the job and its task details >>> Job finished successfully 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/RHSA-2020:1454 |