Skip to content

[VMware] Added Worker VM tags for few cloned VMs while performing some volume operations. #5377

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

Merged
merged 1 commit into from
Aug 30, 2021

Conversation

sureshanaparti
Copy link
Contributor

Description

Worker VM tags are missed for few cloned VMs in VMware, and so these are skipped when tracking / cleaning up of Worker VMs. Adding proper Worker VM tags to these VMs would make them trackable from CloudStack.

This PR updates the (missed) Worker VM tags for the cloned VMs (in VMware) when creating template from volume, and exporting volume to secondary storage.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

Snapshot operation (for detached disk) tasks in vCenter =>

01_SnapshotOperation

Worker VM to attach disk =>

02_WorkerVMToAttachDisk

Cloned VM to export disk to secondary storage =>

03_ClonedVMToExportDisk

How Has This Been Tested?

Manually verified the worker VM tags set in the cloned VMs (from vCenter) while performing the following operations.

  • Take volume snapshot
  • Create template from volume

@sureshanaparti
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1021

@sureshanaparti
Copy link
Contributor Author

@blueorangutan test centos7 vmware-67u3

@blueorangutan
Copy link

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (tid-1781)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36593 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5377-t1781-vmware-67u3.zip
Smoke tests completed. 89 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@rohityadavcloud
Copy link
Member

@sureshanaparti does this affect 4.15? If so please change PR branch to 4.15 esp for bugfixes, thanks.

@nvazquez nvazquez added this to the 4.16.0.0 milestone Aug 27, 2021
Copy link
Contributor

@nvazquez nvazquez 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

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

clgtm

…e volume operations.

Worker VM tags are missed for few cloned VMs in VMware, and so these are skipped when tracking / cleaning up of Worker VMs. Adding proper Worker VM tags to these VMs would make them trackable from CloudStack.
@sureshanaparti sureshanaparti changed the base branch from main to 4.15 August 30, 2021 05:14
@sureshanaparti sureshanaparti modified the milestones: 4.16.0.0, 4.15.2.0 Aug 30, 2021
@sureshanaparti
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 1059

@sureshanaparti
Copy link
Contributor Author

@blueorangutan test centos7 vmware-67u3

@apache apache deleted a comment from blueorangutan Aug 30, 2021
@apache apache deleted a comment from blueorangutan Aug 30, 2021
@blueorangutan
Copy link

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (tid-1836)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39415 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5377-t1836-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_list_ids_parameter.py
Smoke tests completed. 87 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@nvazquez nvazquez merged commit 46ca853 into apache:4.15 Aug 30, 2021
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.

6 participants