Skip to content

vmware: fix stopped VM volume migration - #4758

Merged
yadvr merged 16 commits into
apache:4.15from
shapeblue:fix-vm-volmigrate-bug
Apr 24, 2021
Merged

vmware: fix stopped VM volume migration#4758
yadvr merged 16 commits into
apache:4.15from
shapeblue:fix-vm-volmigrate-bug

Conversation

@shwstppr

@shwstpprshwstppr commented Mar 5, 2021

Copy link
Copy Markdown
Contributor

Description

Fixes#4674

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):

How Has This Been Tested?

  1. Deploy VM with data disk(s)
  2. Stop VM
  3. Migrate ROOT volume of the VM to another storage pool
  4. Start VM <- VM should successfully start
(localcloud) SBCM5> > list virtualmachines id=88afcb03-b3b8-48f1-913a-f9b8224e16d7 {
"count": 1,
"virtualmachine": [
{
"account": "admin",
"affinitygroup": [],
"cpunumber": 1,
"cpuspeed": 500,
"cpuused": "0%",
"created": "2021-03-26T07:12:40+0000",
"details": {
"Message.ReservedCapacityFreed.Flag": "false",
"cpuOvercommitRatio": "2.0",
"dataDiskController": "osdefault",
"memoryOvercommitRatio": "1.0",
"rootDiskController": "lsilogic"
},
"diskioread": 0,
"diskiowrite": 0,
"diskkbsread": 0,
"diskkbswrite": 0,
"displayname": "t1",
"displayvm": true,
"domain": "ROOT",
"domainid": "f4ba1ec0-8dfe-11eb-a621-1e00d1000368",
"guestosid": "f4ce8b5a-8dfe-11eb-a621-1e00d1000368",
"haenable": false,
"hostid": "0ac50654-1bf1-4dce-ae61-3e303b4ca2bc",
"hostname": "10.0.33.107",
"hypervisor": "VMware",
"id": "88afcb03-b3b8-48f1-913a-f9b8224e16d7",
"instancename": "i-2-3-VM",
"isdynamicallyscalable": false,
"memory": 512,
"memoryintfreekbs": 5120,
"memorykbs": 524288,
"memorytargetkbs": 524288,
"name": "t1",
"networkkbsread": 0,
"networkkbswrite": 0,
"nic": [
{
"broadcasturi": "vlan://1638",
"extradhcpoption": [],
"gateway": "10.1.1.1",
"id": "180a8231-142a-4b41-8970-3db230eb9c7f",
"ipaddress": "10.1.1.54",
"isdefault": true,
"isolationuri": "vlan://1638",
"macaddress": "02:00:78:cd:00:01",
"netmask": "255.255.255.0",
"networkid": "1d953710-bdc5-43d6-be18-2b600a5ec9ee",
"networkname": "net1",
"secondaryip": [],
"traffictype": "Guest",
"type": "Isolated"
},
{
"broadcasturi": "vlan://1631",
"extradhcpoption": [],
"gateway": "10.1.1.1",
"id": "0734faa4-30da-4ebf-b088-0baeac55387e",
"ipaddress": "10.1.1.94",
"isdefault": false,
"isolationuri": "vlan://1631",
"macaddress": "02:00:1e:cb:00:01",
"netmask": "255.255.255.0",
"networkid": "e5c58088-03d9-41b7-9832-04bfe6ff3da0",
"networkname": "net2",
"secondaryip": [],
"traffictype": "Guest",
"type": "Isolated"
}
],
"osdisplayname": "Other Linux (64-bit)",
"ostypeid": "f4ce8b5a-8dfe-11eb-a621-1e00d1000368",
"passwordenabled": false,
"rootdeviceid": 0,
"rootdevicetype": "ROOT",
"securitygroup": [],
"serviceofferingid": "2ced6329-96a0-4bad-bdce-9c004501fb03",
"serviceofferingname": "Small Instance",
"state": "Running",
"tags": [],
"templatedisplaytext": "ma",
"templateid": "03a2c29f-9d9e-4d74-ad0f-8888ac1db3f7",
"templatename": "ma",
"userid": "0c02b74a-8dff-11eb-a621-1e00d1000368",
"username": "admin",
"zoneid": "000fb9f9-6d97-4a6e-860f-1875b8270907",
"zonename": "pr4758-t268-vmware-65u2"
}
]
}
(localcloud) SBCM5> > list volumes virtualmachineid=88afcb03-b3b8-48f1-913a-f9b8224e16d7 {
"count": 2,
"volume": [
{
"account": "admin",
"chaininfo": "{\"diskDeviceBusName\":\"scsi0:0\",\"diskChain\":[\"[95a458528779364c8d96bd3d35df2392] i-2-3-VM/f239c0a2f9c5492bb81dabcd701fc5ce.vmdk\"]}",
"clusterid": "1fa7097a-204a-4e19-a827-0b4ebd4a14cf",
"clustername": "p1-c1",
"created": "2021-03-26T07:17:38+0000",
"destroyed": false,
"deviceid": 0,
"diskioread": 0,
"diskiowrite": 0,
"diskkbsread": 0,
"diskkbswrite": 0,
"displayvolume": true,
"domain": "ROOT",
"domainid": "f4ba1ec0-8dfe-11eb-a621-1e00d1000368",
"hypervisor": "VMware",
"id": "3b449766-aee3-49ee-a34b-b91f8561358d",
"isextractable": false,
"name": "ROOT-3-0",
"path": "f239c0a2f9c5492bb81dabcd701fc5ce",
"physicalsize": 43319296,
"podid": "94f99c85-3285-4f0e-876d-f5653f97ade4",
"podname": "Pod1",
"provisioningtype": "thin",
"quiescevm": false,
"serviceofferingdisplaytext": "Small Instance",
"serviceofferingid": "2ced6329-96a0-4bad-bdce-9c004501fb03",
"serviceofferingname": "Small Instance",
"size": 52428800,
"state": "Ready",
"storage": "pr4758-t268-vmware-65u2-esxi-pri1",
"storageid": "95a45852-8779-364c-8d96-bd3d35df2392",
"storagetype": "shared",
"tags": [],
"templatedisplaytext": "ma",
"templateid": "03a2c29f-9d9e-4d74-ad0f-8888ac1db3f7",
"templatename": "ma",
"type": "ROOT",
"utilization": "82.6%",
"virtualmachineid": "88afcb03-b3b8-48f1-913a-f9b8224e16d7",
"virtualsize": 52428800,
"vmdisplayname": "t1",
"vmname": "t1",
"vmstate": "Running",
"zoneid": "000fb9f9-6d97-4a6e-860f-1875b8270907",
"zonename": "pr4758-t268-vmware-65u2"
},
{
"account": "admin",
"attached": "2021-03-26T07:16:54+0000",
"chaininfo": "{\"diskDeviceBusName\":\"scsi0:1\",\"diskChain\":[\"[95a458528779364c8d96bd3d35df2392] i-2-3-VM/f2a259f17f644d019ff0f13f2e5db5a0.vmdk\"]}",
"clusterid": "1fa7097a-204a-4e19-a827-0b4ebd4a14cf",
"clustername": "p1-c1",
"created": "2021-03-26T07:16:45+0000",
"destroyed": false,
"deviceid": 1,
"diskioread": 0,
"diskiowrite": 0,
"diskkbsread": 0,
"diskkbswrite": 0,
"diskofferingdisplaytext": "Small Disk, 5 GB",
"diskofferingid": "a17dc876-7bf6-4ebb-afa5-205723073343",
"diskofferingname": "Small",
"displayvolume": true,
"domain": "ROOT",
"domainid": "f4ba1ec0-8dfe-11eb-a621-1e00d1000368",
"hypervisor": "VMware",
"id": "548ff64d-5385-41fa-8365-f2593a4551fb",
"isextractable": true,
"name": "d1",
"path": "f2a259f17f644d019ff0f13f2e5db5a0",
"physicalsize": 0,
"podid": "94f99c85-3285-4f0e-876d-f5653f97ade4",
"podname": "Pod1",
"provisioningtype": "thin",
"quiescevm": false,
"size": 5368709120,
"state": "Ready",
"storage": "pr4758-t268-vmware-65u2-esxi-pri1",
"storageid": "95a45852-8779-364c-8d96-bd3d35df2392",
"storagetype": "shared",
"tags": [],
"type": "DATADISK",
"utilization": "0.0%",
"virtualmachineid": "88afcb03-b3b8-48f1-913a-f9b8224e16d7",
"virtualsize": 5368709120,
"vmdisplayname": "t1",
"vmname": "t1",
"vmstate": "Running",
"zoneid": "000fb9f9-6d97-4a6e-860f-1875b8270907",
"zonename": "pr4758-t268-vmware-65u2"
}
]
}
(localcloud) SBCM5> > stop virtualmachine id=88afcb03-b3b8-48f1-913a-f9b8224e16d7 {
"virtualmachine": {
"account": "admin",
"affinitygroup": [],
"cpunumber": 1,
"cpuspeed": 500,
"cpuused": "0%",
"created": "2021-03-26T07:12:40+0000",
"details": {
"Message.ReservedCapacityFreed.Flag": "false",
"cpuOvercommitRatio": "2.0",
"dataDiskController": "osdefault",
"memoryOvercommitRatio": "1.0",
"rootDiskController": "lsilogic"
},
"diskioread": 0,
"diskiowrite": 0,
"diskkbsread": 0,
"diskkbswrite": 0,
"displayname": "t1",
"displayvm": true,
"domain": "ROOT",
"domainid": "f4ba1ec0-8dfe-11eb-a621-1e00d1000368",
"guestosid": "f4ce8b5a-8dfe-11eb-a621-1e00d1000368",
"haenable": false,
"hypervisor": "VMware",
"id": "88afcb03-b3b8-48f1-913a-f9b8224e16d7",
"instancename": "i-2-3-VM",
"isdynamicallyscalable": false,
"jobid": "a97c141d-71b8-452e-859a-28868ac11ddc",
"jobstatus": 0,
"memory": 512,
"memoryintfreekbs": 5120,
"memorykbs": 524288,
"memorytargetkbs": 524288,
"name": "t1",
"networkkbsread": 0,
"networkkbswrite": 0,
"nic": [
{
"extradhcpoption": [],
"gateway": "10.1.1.1",
"id": "180a8231-142a-4b41-8970-3db230eb9c7f",
"ipaddress": "10.1.1.54",
"isdefault": true,
"macaddress": "02:00:78:cd:00:01",
"netmask": "255.255.255.0",
"networkid": "1d953710-bdc5-43d6-be18-2b600a5ec9ee",
"networkname": "net1",
"secondaryip": [],
"traffictype": "Guest",
"type": "Isolated"
},
{
"extradhcpoption": [],
"gateway": "10.1.1.1",
"id": "0734faa4-30da-4ebf-b088-0baeac55387e",
"ipaddress": "10.1.1.94",
"isdefault": false,
"macaddress": "02:00:1e:cb:00:01",
"netmask": "255.255.255.0",
"networkid": "e5c58088-03d9-41b7-9832-04bfe6ff3da0",
"networkname": "net2",
"secondaryip": [],
"traffictype": "Guest",
"type": "Isolated"
}
],
"osdisplayname": "Other Linux (64-bit)",
"ostypeid": "f4ce8b5a-8dfe-11eb-a621-1e00d1000368",
"passwordenabled": false,
"rootdeviceid": 0,
"rootdevicetype": "ROOT",
"securitygroup": [],
"serviceofferingid": "2ced6329-96a0-4bad-bdce-9c004501fb03",
"serviceofferingname": "Small Instance",
"state": "Stopped",
"tags": [],
"templatedisplaytext": "ma",
"templateid": "03a2c29f-9d9e-4d74-ad0f-8888ac1db3f7",
"templatename": "ma",
"userid": "0c02b74a-8dff-11eb-a621-1e00d1000368",
"username": "admin",
"zoneid": "000fb9f9-6d97-4a6e-860f-1875b8270907",
"zonename": "pr4758-t268-vmware-65u2"
}
}
(localcloud) SBCM5> > list storagepools filter=id,name,scope,clusterid,clustername,hypervisor
{
"count": 2,
"storagepool": [
{
"clusterid": "1fa7097a-204a-4e19-a827-0b4ebd4a14cf",
"clustername": "p1-c1",
"id": "4616afa5-447f-3846-bfc9-f7c5108b4c67",
"name": "pr4758-t268-vmware-65u2-esxi-pri2",
"scope": "CLUSTER"
},
{
"clusterid": "1fa7097a-204a-4e19-a827-0b4ebd4a14cf",
"clustername": "p1-c1",
"id": "95a45852-8779-364c-8d96-bd3d35df2392",
"name": "pr4758-t268-vmware-65u2-esxi-pri1",
"scope": "CLUSTER"
}
]
}
(localcloud) SBCM5> > migrate volume volumeid=3b449766-aee3-49ee-a34b-b91f8561358d storageid=4616afa5-447f-3846-bfc9-f7c5108b4c67
{
"volume": {
"account": "admin",
"clusterid": "1fa7097a-204a-4e19-a827-0b4ebd4a14cf",
"clustername": "p1-c1",
"created": "2021-03-26T07:53:57+0000",
"destroyed": false,
"deviceid": 0,
"displayvolume": true,
"domain": "ROOT",
"domainid": "f4ba1ec0-8dfe-11eb-a621-1e00d1000368",
"hypervisor": "VMware",
"id": "3b449766-aee3-49ee-a34b-b91f8561358d",
"isextractable": false,
"name": "ROOT-3-0",
"path": "fc78a63779bb4ee6bce2f5d47b88ea55",
"podid": "94f99c85-3285-4f0e-876d-f5653f97ade4",
"podname": "Pod1",
"provisioningtype": "thin",
"quiescevm": false,
"serviceofferingdisplaytext": "Small Instance",
"serviceofferingid": "2ced6329-96a0-4bad-bdce-9c004501fb03",
"serviceofferingname": "Small Instance",
"size": 52428800,
"state": "Ready",
"storage": "pr4758-t268-vmware-65u2-esxi-pri2",
"storageid": "4616afa5-447f-3846-bfc9-f7c5108b4c67",
"storagetype": "shared",
"tags": [],
"templatedisplaytext": "ma",
"templateid": "03a2c29f-9d9e-4d74-ad0f-8888ac1db3f7",
"templatename": "ma",
"type": "ROOT",
"virtualmachineid": "88afcb03-b3b8-48f1-913a-f9b8224e16d7",
"vmdisplayname": "t1",
"vmname": "t1",
"vmstate": "Stopped",
"zoneid": "000fb9f9-6d97-4a6e-860f-1875b8270907",
"zonename": "pr4758-t268-vmware-65u2"
}
}
(localcloud) SBCM5> > start virtualmachine id=88afcb03-b3b8-48f1-913a-f9b8224e16d7 {
"virtualmachine": {
"account": "admin",
"affinitygroup": [],
"cpunumber": 1,
"cpuspeed": 500,
"cpuused": "0%",
"created": "2021-03-26T07:12:40+0000",
"details": {
"Message.ReservedCapacityFreed.Flag": "false",
"cpuOvercommitRatio": "2.0",
"dataDiskController": "osdefault",
"memoryOvercommitRatio": "1.0",
"rootDiskController": "lsilogic"
},
"diskioread": 0,
"diskiowrite": 0,
"diskkbsread": 0,
"diskkbswrite": 0,
"displayname": "t1",
"displayvm": true,
"domain": "ROOT",
"domainid": "f4ba1ec0-8dfe-11eb-a621-1e00d1000368",
"guestosid": "f4ce8b5a-8dfe-11eb-a621-1e00d1000368",
"haenable": false,
"hostid": "0ac50654-1bf1-4dce-ae61-3e303b4ca2bc",
"hostname": "10.0.33.107",
"hypervisor": "VMware",
"id": "88afcb03-b3b8-48f1-913a-f9b8224e16d7",
"instancename": "i-2-3-VM",
"isdynamicallyscalable": false,
"jobid": "445c10a7-cb0f-4c76-8fe5-96f4f48879ed",
"jobstatus": 0,
"memory": 512,
"memoryintfreekbs": 5120,
"memorykbs": 524288,
"memorytargetkbs": 524288,
"name": "t1",
"networkkbsread": 0,
"networkkbswrite": 0,
"nic": [
{
"broadcasturi": "vlan://1638",
"extradhcpoption": [],
"gateway": "10.1.1.1",
"id": "180a8231-142a-4b41-8970-3db230eb9c7f",
"ipaddress": "10.1.1.54",
"isdefault": true,
"isolationuri": "vlan://1638",
"macaddress": "02:00:78:cd:00:01",
"netmask": "255.255.255.0",
"networkid": "1d953710-bdc5-43d6-be18-2b600a5ec9ee",
"networkname": "net1",
"secondaryip": [],
"traffictype": "Guest",
"type": "Isolated"
},
{
"broadcasturi": "vlan://1631",
"extradhcpoption": [],
"gateway": "10.1.1.1",
"id": "0734faa4-30da-4ebf-b088-0baeac55387e",
"ipaddress": "10.1.1.94",
"isdefault": false,
"isolationuri": "vlan://1631",
"macaddress": "02:00:1e:cb:00:01",
"netmask": "255.255.255.0",
"networkid": "e5c58088-03d9-41b7-9832-04bfe6ff3da0",
"networkname": "net2",
"secondaryip": [],
"traffictype": "Guest",
"type": "Isolated"
}
],
"osdisplayname": "Other Linux (64-bit)",
"ostypeid": "f4ce8b5a-8dfe-11eb-a621-1e00d1000368",
"passwordenabled": false,
"rootdeviceid": 0,
"rootdevicetype": "ROOT",
"securitygroup": [],
"serviceofferingid": "2ced6329-96a0-4bad-bdce-9c004501fb03",
"serviceofferingname": "Small Instance",
"state": "Running",
"tags": [],
"templatedisplaytext": "ma",
"templateid": "03a2c29f-9d9e-4d74-ad0f-8888ac1db3f7",
"templatename": "ma",
"userid": "0c02b74a-8dff-11eb-a621-1e00d1000368",
"username": "admin",
"zoneid": "000fb9f9-6d97-4a6e-860f-1875b8270907",
"zonename": "pr4758-t268-vmware-65u2"
}
}

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstpprshwstppr changed the title Fix vm volmigrate bugvmware: fix stopped VM volume migrationMar 5, 2021
List<VirtualDisk> virtualDisks = vmMo.getVirtualDisks();
List<String> managedDatastoreNames = getManagedDatastoreNamesFromVirtualDisks(virtualDisks);

// Preserve other disks of the VM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for these changes @shwstppr.
Can you please test destroy VM and expunge VM cases with VM having disks. Because this particular block is removed to address disk detachments in case of destroy VM. If those operations are not effected, this looks good to me.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@harikrishna-patnala I've verified the destroy case and have seen any issue.
Will try to share API responses if needed

@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@shwstpprshwstppr added this to the 4.15.1.0 milestone Mar 9, 2021
@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2887

@shwstppr
shwstppr marked this pull request as ready for review March 9, 2021 12:46
@shwstppr
shwstppr requested review from nvazquez and yadvrMarch 9, 2021 12:48
@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 60

@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

[S] Trillian test result (tid-64)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 37730 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4758-t64-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Smoke tests completed. 85 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_03_deploy_and_upgrade_kubernetes_clusterFailure786.77test_kubernetes_clusters.py

@blueorangutan

Copy link
Copy Markdown

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

TestResultTime (s)Test File
test_03_deploy_and_upgrade_kubernetes_clusterFailure774.83test_kubernetes_clusters.py
test_03_migrate_detached_volumeError74.32test_vm_life_cycle.py
ContextSuite context=TestVAppsVM>:setupError44.34test_vm_life_cycle.py

@shwstppr

Copy link
Copy Markdown
ContributorAuthor

test_03_migrate_detached_volume failure related to #4785

@yadvr

Copy link
Copy Markdown
Member

@nvazquez@harikrishna-patnala can you review this?

@yadvr
yadvr changed the base branch from master to 4.15March 18, 2021 09:00
if (!blankVmCreated) {
throw new Exception("Failed to create VM. vmName: " + vmInternalCSName);
}
deployAsIs = false;

@nvazqueznvazquezMar 22, 2021

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you please include a log line explaining why not deploying-as-is in this case? Otherwise will look confusing as the StartCommand may receive deployAsIs = true and not honouring it

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@nvazquez I've added a log message. Please see if there needs to be any change in the text.
Also, I've found that systemvms use the same flow with the default systemvm template, i.e., register a blank VM and then start it. Though deployAsIs was already false in that case.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes - as long a new system VM template is not registered it uses the non-deploy-as-is behaviour

@sureshanapartisureshanapartiMar 30, 2021

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@shwstppr possible to consider user input through some strictness flag for deployAsIs, and then fallback to not deploying-as-is case if strictness flag is false? (so that user will be aware of it already)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@shwstppr, a small concern here. Since we are starting the VM as not deployAsIs for a VM which is actually a deployAsIs, will there be any problem while applying vApp properties as it is. Can you please test that.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Thanks for pointing it out @harikrishna-patnala . There seem an issue vApp appliances. Re-working on it.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 264

@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

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

TestResultTime (s)Test File
test_03_deploy_and_upgrade_kubernetes_clusterFailure777.03test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardownError79.97test_kubernetes_clusters.py
ContextSuite context=TestVAppsVM>:setupError44.31test_vm_life_cycle.py

@nvazquez

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-435)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34275 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4758-t435-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_diagnostics.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Smoke tests completed. 86 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_10_traceroute_in_vrFailure61.41test_diagnostics.py

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 415

@nvazqueznvazquez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @shwstppr LGTM

@yadvr

Copy link
Copy Markdown
Member

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-469)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36360 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4758-t469-vmware-67u3.zip
Intermittent failure detected: /marvin/tests/smoke/test_diagnostics.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Smoke tests completed. 86 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_01_ping_in_vr_successFailure15.33test_diagnostics.py
test_03_ping_in_ssvm_successFailure15.34test_diagnostics.py
test_05_ping_in_cpvm_successFailure15.34test_diagnostics.py

@yadvr

Copy link
Copy Markdown
Member

@borisstoyanov@nvazquez are you lgtm on this?

@nvazquez

Copy link
Copy Markdown
Contributor

Yes, LGTM after various rounds of review and manual testing

@shwstpprshwstppr reopened this Apr 23, 2021
@vladimirpetrov
vladimirpetrov self-requested a review April 23, 2021 14:52

@vladimirpetrovvladimirpetrov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, tested with both standard template and multi-disk one.

@shwstpprshwstppr reopened this Apr 23, 2021
@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ centos7 ✔️ centos8 ✔️ debian. SL-JID 455

@shwstppr

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

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

TestResultTime (s)Test File

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vmware: vm operations fail after ROOT volume migration

7 participants

@shwstppr@blueorangutan@yadvr@nvazquez@harikrishna-patnala@sureshanaparti@vladimirpetrov