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

fix: enable wait_for_ip for existing vm customization #63037

Closed
wants to merge 1 commit into from
Closed

fix: enable wait_for_ip for existing vm customization #63037

wants to merge 1 commit into from

Conversation

wilmardo
Copy link
Contributor

@wilmardo wilmardo commented Oct 2, 2019

SUMMARY

Enable wait_for_ip_address when customizing an existing VM.
Used the same logic as deploy_vm:
https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/vmware/vmware_guest.py#L2471

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

vmware_guest

ADDITIONAL INFORMATION

This is for example useful when restoring a snapshot and customizing the network afterwards.

@ansibot
Copy link
Contributor

ansibot commented Oct 2, 2019

@ansibot
Copy link
Contributor

ansibot commented Oct 2, 2019

@wilmardo, just so you are aware we have a dedicated Working Group for vmware.
You can find other people interested in this in #ansible-vmware on Freenode IRC
For more information about communities, meetings and agendas see https://github.com/ansible/community

click here for bot help

@ansibot ansibot added affects_2.10 This issue/PR affects Ansible v2.10 bug This issue/PR relates to a bug. cloud community_review In order to be merged, this PR must follow the community review workflow. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community labels Oct 2, 2019
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Oct 10, 2019
@goneri
Copy link
Contributor

goneri commented Oct 17, 2019

Hi @wilmardo!

I'm not sure we need this change since this seems to be an issue vmware_guest_tools_wait can address? Is there any cases where it would not be enough?

@ansibot ansibot removed the needs_triage Needs a first human triage before being processed. label Oct 17, 2019
@wilmardo
Copy link
Contributor Author

wilmardo commented Nov 7, 2019

Hi @goneri!

I ran into this since I wanted to create a machine with network customizations, boot the vm once, shutdown, create a snapshot and then apply a password customization on the existing vm and wait for it to boot and complete.

I could fix it with vmware_guest_tools_wait but it seems wrong to have the options available in the module but they are silently ignored when doing customizations on an existing VM.

@ansibot ansibot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed community_review In order to be merged, this PR must follow the community review workflow. labels Nov 23, 2019
@Akasurde
Copy link
Member

@wilmardo Could you please rebase this PR? @goneri This can be helpful in case #66662.

@wilmardo
Copy link
Contributor Author

@Akasurde Will do today :)

Signed-off-by: wilmardo <info@wilmardenouden.nl>
@wilmardo
Copy link
Contributor Author

@Akasurde @goneri Ready for review again 🎉

@ansibot ansibot added community_review In order to be merged, this PR must follow the community review workflow. and removed needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Jan 22, 2020
@ansible-zuul
Copy link

ansible-zuul bot commented Jan 22, 2020

Build succeeded (third-party-check pipeline).

@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Jan 30, 2020
@ansibot ansibot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed community_review In order to be merged, this PR must follow the community review workflow. labels Mar 26, 2020
@goneri
Copy link
Contributor

goneri commented Apr 15, 2020

Hi!

Thank you for your PR. Since March 2, 2020, the Ansible team does not accept any new changes on the VMware modules on the core ansible/ansible repository.
The development continue but in the new VMware collection repository: https://github.com/ansible-collections/vmware
We have no way to properly migrate a Github issue between the two projects. Could you please reopen the PR there? https://github.com/ansible-collections/vmware

Links:

needs_info

@ansibot ansibot added the needs_info This issue requires further information. Please answer any outstanding questions. label Apr 15, 2020
@ansibot ansibot added collection Related to Ansible Collections work collection:community.vmware needs_collection_redirect https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md labels Apr 29, 2020
@ansibot
Copy link
Contributor

ansibot commented May 24, 2020

@wilmardo This pullrequest is waiting for your response. Please respond or the pullrequest will be closed.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Jun 28, 2020

@wilmardo You have not responded to information requests in this pullrequest so we will assume it no longer affects you. If you are still interested in this, please create a new pullrequest with the requested information.

click here for bot help

@ansibot ansibot closed this Jun 28, 2020
@ansible ansible locked and limited conversation to collaborators Jul 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.10 This issue/PR affects Ansible v2.10 bug This issue/PR relates to a bug. cloud collection:community.vmware collection Related to Ansible Collections work module This issue/PR relates to a module. needs_collection_redirect https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md needs_info This issue requires further information. Please answer any outstanding questions. needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. support:community This issue/PR relates to code supported by the Ansible community. vmware VMware community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants