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

VMware: Handle exception for no snapshot while cloning #47924

Merged
merged 1 commit into from
Nov 2, 2018

Conversation

Akasurde
Copy link
Member

@Akasurde Akasurde commented Nov 1, 2018

SUMMARY

Handle exception when there is no snapshot available in virtual machine or template while cloning using vmware_guest.

Fixes: #47920

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

changelogs/fragments/47920-vmware_guest-handle_no_root_snapshot.yaml
lib/ansible/modules/cloud/vmware/vmware_guest.py

ANSIBLE VERSION
2.8-devel

Handle exception when there is no snapshot available in virtual machine or template while cloning using vmware_guest.

Fixes: ansible#47920

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@ansibot
Copy link
Contributor

ansibot commented Nov 1, 2018

Hi @Akasurde, thank you for submitting this pull-request!

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Nov 1, 2018

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 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 Nov 1, 2018
@Akasurde Akasurde removed the needs_triage Needs a first human triage before being processed. label Nov 1, 2018
@Akasurde Akasurde merged commit 487f2f2 into ansible:devel Nov 2, 2018
@Akasurde Akasurde deleted the i47920 branch November 2, 2018 08:10
Akasurde added a commit to Akasurde/ansible that referenced this pull request Nov 2, 2018
Handle exception when there is no snapshot available in virtual machine or template while cloning using vmware_guest.

Fixes: ansible#47920

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 487f2f2)
abadger pushed a commit that referenced this pull request Nov 5, 2018
Handle exception when there is no snapshot available in virtual machine or template while cloning using vmware_guest.

Fixes: #47920

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 487f2f2)
Tomorrow9 pushed a commit to Tomorrow9/ansible that referenced this pull request Dec 4, 2018
Handle exception when there is no snapshot available in virtual machine or template while cloning using vmware_guest.

Fixes: ansible#47920

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 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. 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.

VMware: vmware_guest AttributeError: 'NoneType' object has no attribute 'rootSnapshotList'
2 participants