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

ovirt_disk: fix activate #61

Merged
merged 1 commit into from
Jun 17, 2020
Merged

Conversation

mnecas
Copy link
Member

@mnecas mnecas commented Jun 16, 2020

Issue: was not able to attach the deactivated disk to the VM
This keeps previous logic the same (default is activated) but when specifying the value it will overwrite it.
@mwperina @dangel101

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

@gcecchi
Copy link

gcecchi commented Jun 17, 2020

I confirm that it worked for me, both directly using ansible-playbook command from a CentOS 7.8 controller node with ansible-2.9.9-1.el7.noarch, after patching /usr/lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_disk.py and also using job template in an AWX environment with ansible 2.8.5 after patching the same way the custom venv file /opt/my-envs/py36/lib/python3.6/site-packages/ansible/modules/cloud/ovirt/ovirt_disk.py. I put a pause of 10 seconds between attach task (with actvate: no) and activation task and I have the time to see in web admin gui the disk first attached with the still red arrow and then becoming green. Thanks for the quick fix

@mnecas mnecas merged commit fbc5404 into oVirt:master Jun 17, 2020
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

3 participants