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

Refactor vmware guest controller #926

Conversation

mariolenz
Copy link
Collaborator

@mariolenz mariolenz commented Jul 1, 2021

Depends-On: #967

SUMMARY

Remove duplicate code from vmware_guest_controller by using functions from module_utils.vm_device_helper.PyVmomiDeviceHelper. Also, move some definitions from vmware_guest_controller and vmware_guest_disk to module_utils.vm_device_helper.PyVmomiDeviceHelper.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

vmware_guest_controller
vmware_guest_disk

ADDITIONAL INFORMATION

Follow-up to PR #914

@mariolenz mariolenz force-pushed the refactor_vmware_guest_controller branch 2 times, most recently from 1e9dd9a to 81ca35c Compare July 1, 2021 18:00
@mariolenz mariolenz force-pushed the refactor_vmware_guest_controller branch from 81ca35c to ccb6366 Compare July 1, 2021 18:09
@mariolenz mariolenz changed the title [WIP] Refactor vmware guest controller Refactor vmware guest controller Jul 7, 2021
@mariolenz mariolenz requested a review from Tomorrow9 July 7, 2021 19:02
@mariolenz mariolenz added the module_utils module_utils label Jul 11, 2021
@mariolenz mariolenz requested a review from Akasurde July 11, 2021 14:53
@mariolenz
Copy link
Collaborator Author

recheck

1 similar comment
@mariolenz
Copy link
Collaborator Author

recheck

@mariolenz
Copy link
Collaborator Author

mariolenz commented Jul 12, 2021

I wonder why this didn't fail the CI...

Now that's weird. I see vmware_guest_controller in the list of targets in the log but I don't see it being actually run.

@Tomorrow9 Just for your information, I think that PR #936 has the same problem. It's possible that ansible/ansible-zuul-jobs#984 fixes this for now.

@mariolenz
Copy link
Collaborator Author

recheck

@mariolenz
Copy link
Collaborator Author

@Akasurde @goneri I don't see the integration tests for vmware_guest_controller or vmware_guest_disk in the log. Any ideas?

For your information, I've seen integration tests not being run several times during the last couple of days. I've opened issue #956 to track this.

@mariolenz
Copy link
Collaborator Author

recheck

@goneri
Copy link
Member

goneri commented Jul 13, 2021

@Akasurde @goneri I don't see the integration tests for vmware_guest_controller or vmware_guest_disk in the log. Any ideas?

For your information, I've seen integration tests not being run several times during the last couple of days. I've opened issue #956 to track this.

Thank you @mariolenz. I take a look.

@goneri
Copy link
Member

goneri commented Jul 13, 2021

recheck

@mariolenz mariolenz changed the title Refactor vmware guest controller [WIP] Refactor vmware guest controller Jul 14, 2021
@mariolenz
Copy link
Collaborator Author

recheck

1 similar comment
@mariolenz
Copy link
Collaborator Author

recheck

@mariolenz mariolenz changed the title [WIP] Refactor vmware guest controller Refactor vmware guest controller Jul 16, 2021
@mariolenz
Copy link
Collaborator Author

Thanks for having a look at this PR @Tomorrow9! I've fixed the bug you found and will add the gate label now that the integration tests succeed.

@mariolenz mariolenz added the gate label Jul 16, 2021
@ansible-zuul ansible-zuul bot merged commit 455cbcf into ansible-collections:main Jul 16, 2021
@mariolenz mariolenz deleted the refactor_vmware_guest_controller branch July 16, 2021 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants