Skip to content

CLOUDSTACK-10231: Asserted fixes for Direct Download on KVM#2408

Merged
yadvr merged 1 commit intoapache:4.11from
shapeblue:fr16dettachisofix
Mar 20, 2018
Merged

CLOUDSTACK-10231: Asserted fixes for Direct Download on KVM#2408
yadvr merged 1 commit intoapache:4.11from
shapeblue:fr16dettachisofix

Conversation

@nvazquez
Copy link
Contributor

@nvazquez nvazquez commented Jan 15, 2018

Several fixes addressed:

  • Dettach ISO fails when trying to detach a direct download ISO
  • Fix for metalink support on SSVM agents (this closes CLOUDSTACK-10238)
  • Reinstall VM from bypassed registered template (this closes CLOUDSTACK-10250)
  • Fix upload certificate error message even though operation was successful
  • Fix metalink download, checksum retry logic and metalink SSVM downloader

@nvazquez nvazquez added this to the 4.11.1 milestone Jan 15, 2018
@nvazquez nvazquez changed the base branch from master to 4.11 January 15, 2018 14:17
@nvazquez nvazquez changed the title CLOUDSTACK-10231: Dettach ISO fails for direct downloaded ISO on KVM CLOUDSTACK-10231: Detach ISO fails for direct downloaded ISO on KVM Jan 15, 2018
@yadvr
Copy link
Member

yadvr commented Jan 19, 2018

@nvazquez should this be seen as a blocker? /cc @DaanHoogland and others
@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1661

@yadvr
Copy link
Member

yadvr commented Jan 19, 2018

@blueorangutan test

@blueorangutan
Copy link

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

@DaanHoogland
Copy link
Contributor

@rhtyd I don't think it is a blocker. It is new functionality failing, but it is nice to include if it is fixed and we need another RC.

@nvazquez
Copy link
Contributor Author

@rhtyd agree with @DaanHoogland, it is a fix only for new Direct Download functionality

@blueorangutan
Copy link

Trillian test result (tid-2172)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30851 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2408-t2172-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 62 look OK, 5 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_04_extract_template Failure 128.28 test_templates.py
ContextSuite context=TestISOUsage>:setup Error 0.00 test_usage.py
test_06_download_detached_volume Failure 137.58 test_volumes.py
test_05_rvpc_multi_tiers Failure 310.07 test_vpc_redundant.py
test_05_rvpc_multi_tiers Error 332.97 test_vpc_redundant.py
test_hostha_enable_ha_when_host_in_maintenance Error 1.44 test_hostha_kvm.py

Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

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

LGTM, I've run the results manually and they passed

[root@trl-1183-k-cs411-bstoyanov-marvin ~]# cat /marvin//MarvinLogs/test_vpc_redundant_7KZ1HA/results.txt
Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network and check default routes ... === TestName: test_02_redundant_VPC_default_routes | Status : SUCCESS ===
ok
Create a redundant VPC with two networks with two VMs in each network ... === TestName: test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers | Status : SUCCESS ===
ok
Create a redundant VPC with 1 Tier, 1 VM, 1 ACL, 1 PF and test Network GC Nics ... === TestName: test_04_rvpc_network_garbage_collector_nics | Status : SUCCESS ===
ok
Create a redundant VPC with multiple tiers ... === TestName: test_05_rvpc_multi_tiers | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 5 tests in 2713.730s

OK

@nvazquez
Copy link
Contributor Author

Thanks for manual verification @borisstoyanov! @DaanHoogland could you review this one as well?

DaanHoogland
DaanHoogland previously approved these changes Jan 26, 2018
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.

hard to read protocol check but overall good amend of the code.

* Return data store URL from store
*/
private String getDataStoreUrlFromStore(DataStoreTO store) {
if (!(store instanceof NfsTO) && (!(store instanceof PrimaryDataStoreTO) ||
Copy link
Contributor

Choose a reason for hiding this comment

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

java could really do with an unless construct here ;)

@yadvr
Copy link
Member

yadvr commented Feb 10, 2018

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos6 ✖centos7 ✔debian. JID-1700

@yadvr
Copy link
Member

yadvr commented Feb 10, 2018

@blueorangutan test

@blueorangutan
Copy link

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

@nvazquez
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1719

@nvazquez
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@DaanHoogland
Copy link
Contributor

this closes #2411
this closes #2423
this closes #2447

@DaanHoogland DaanHoogland changed the title CLOUDSTACK-10231: Detach ISO fails for direct downloaded ISO on KVM asserted fixes for direct downloads Feb 15, 2018
@DaanHoogland DaanHoogland dismissed their stale review February 16, 2018 08:55

touched the code myself, by now

@borisstoyanov
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1746

@borisstoyanov
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1748

@borisstoyanov
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (tid-2302)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35456 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2408-t2302-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 63 look OK, 4 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_04_extract_template Failure 128.37 test_templates.py
ContextSuite context=TestISOUsage>:setup Error 0.00 test_usage.py
test_06_download_detached_volume Failure 138.78 test_volumes.py
test_hostha_enable_ha_when_host_in_maintenance Error 1.82 test_hostha_kvm.py

@borisstoyanov
Copy link
Contributor

@blueorangutan test matrix

@blueorangutan
Copy link

@borisstoyanov a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan
Copy link

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

Test Result Time (s) Test File

@blueorangutan
Copy link

Trillian test result (tid-2306)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 28863 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2408-t2306-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_02_vpc_privategw_static_routes Failure 172.89 test_privategw_acl.py

@blueorangutan
Copy link

Trillian test result (tid-2310)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 6
Total time taken: 35723 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2408-t2310-xenserver-71.zip
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_scale_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Smoke tests completed. 63 look OK, 4 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_scale_vm Error 13.63 test_scale_vm.py
test_04_extract_template Failure 128.40 test_templates.py
ContextSuite context=TestISOUsage>:setup Error 0.00 test_usage.py
test_06_download_detached_volume Failure 149.12 test_volumes.py

@blueorangutan
Copy link

Trillian test result (tid-2309)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 6
Total time taken: 37206 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2408-t2309-xenserver-71.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_scale_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Smoke tests completed. 63 look OK, 4 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_scale_vm Error 18.81 test_scale_vm.py
test_04_extract_template Failure 128.32 test_templates.py
ContextSuite context=TestISOUsage>:setup Error 0.00 test_usage.py
test_06_download_detached_volume Failure 142.00 test_volumes.py

@nvazquez
Copy link
Contributor Author

nvazquez commented Mar 6, 2018

@borisstoyanov are we ok with test results?

@borisstoyanov
Copy link
Contributor

I'm just running a smoketest against Xen7.1, to confirm these issues are there as well and we should be good @nvazquez.

Copy link
Member

@yadvr yadvr left a comment

Choose a reason for hiding this comment

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

LGTM

@DaanHoogland
Copy link
Contributor

though I only had minimum involvement I hesitate to merge myself.
Can we merge?

@DaanHoogland
Copy link
Contributor

@borisstoyanov @rhtyd ^^?

@borisstoyanov
Copy link
Contributor

yes @DaanHoogland, this has passed testing and it's good for merge, smoketests are showing good results and it has enough LGTMs.

@yadvr
Copy link
Member

yadvr commented Mar 15, 2018

@nvazquez can you squash commits based on JIRA id or you would like to squash the entire PR by a single JIRA id?
@DaanHoogland I can merge based on regression test results, I have not tested the feature manually myself. Maybe @borisstoyanov and @nvazquez can advise?

@nvazquez
Copy link
Contributor Author

@rhtyd let me squash the entire PR to single Jira ID

@nvazquez nvazquez force-pushed the fr16dettachisofix branch from 39c3239 to 161926c Compare March 15, 2018 14:40
@nvazquez nvazquez changed the title asserted fixes for direct downloads CLOUDSTACK-10231: Asserted fixes for Direct Download on KVM Mar 15, 2018
@nvazquez
Copy link
Contributor Author

@rhtyd done

@nvazquez
Copy link
Contributor Author

@borisstoyanov @rhtyd @DaanHoogland hi guys, can we merge this one?

@yadvr yadvr merged commit 6a75423 into apache:4.11 Mar 20, 2018
@yadvr
Copy link
Member

yadvr commented Mar 20, 2018

Merged based on tests and reviews.

@nvazquez nvazquez deleted the fr16dettachisofix branch April 6, 2020 14:50
Tonitzpp pushed a commit to scclouds/cloudstack that referenced this pull request Dec 18, 2025
…ouds'

Refatoração dos _logs_ do fluxo de migração de VM no KVM

Closes apache#2408

See merge request scclouds/scclouds!1219
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.

5 participants