Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Fix issue #1188: vmgroup is not removable when vms are added from both ESXs #1231

Merged
merged 3 commits into from
May 10, 2017

Conversation

shaominchen
Copy link
Contributor

Note: This PR was created for a clean commit history. See original PR #1214 for test result and previous review comments)

…h ESXs

(See original PR #1214 for the details of review comments)
auth_api._tenant_vm_rm(name=name,
vm_list=vm_names)
auth_api._tenant_rm(name=name,
remove_volumes=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: no new line at the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Addressed.

@shaominchen
Copy link
Contributor Author

@pshahzeb @shuklanirdesh82 The CI test has passed: https://ci.vmware.run/vmware/docker-volume-vsphere/95
Can you please add a ship-it?

Copy link
Contributor

@pshahzeb pshahzeb left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@shuklanirdesh82 shuklanirdesh82 left a comment

Choose a reason for hiding this comment

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

L844 and L755: to keep it consistent.

Your proposed changes looks good to me. some minor comments for consistency.

error_info = auth_api._tenant_vm_rm(name=self.tenant1_new_name,
vm_list=vm_list)
self.assertEqual(None, error_info)

error_info = auth_api._tenant_rm(
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use test_utils.cleanup_tenant to keep it consistent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, will address.

@shuklanirdesh82
Copy link
Contributor

Thanks @shaominchen for addressing quickly!

@shuklanirdesh82 shuklanirdesh82 merged commit d0620dc into master May 10, 2017
@shuklanirdesh82 shuklanirdesh82 deleted the issue_1188.shchen branch May 10, 2017 04:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants