Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible-runner: Fix getting status of playbook #468

Merged
merged 1 commit into from Jun 23, 2022

Conversation

mnecas
Copy link
Member

@mnecas mnecas commented Jun 15, 2022

Ansible-runner command no longer creates a status file when running but
only after it is finished. This patch changes the logic to return status
running according to daemon.log which is created right after the playbook
is started. Before this PR, the status of the playbook was always unknow
so when doing the pooling it always passed and continued until it either
succeeded, failed, or timed out.

Ansible-runner command does nolonger create status file when running but
only after it finished. This patch changes the logic to return status
running acording to daemon.log which is created right after the playbook
is started.
@mnecas mnecas force-pushed the fix_ansible_polling_status branch from 428f6be to 1c91e52 Compare June 15, 2022 13:32
@liranr23
Copy link
Member

/ost

@liranr23
Copy link
Member

@michalskrivanek / @mwperina can we get it in?

@mwperina mwperina removed the request for review from dangel101 June 16, 2022 07:55
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

When 4.5.1GA build is done, let's merged it

@ahadas ahadas added this to the ovirt-4.5.2 milestone Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants