Skip to content

CLOUDSTACK-9542 make listNics and ListUserVms return uniform NIC data - #2208

Merged
yadvr merged 4 commits into
apache:masterfrom
shapeblue:CLOUDSTACK-9542
Dec 21, 2017
Merged

CLOUDSTACK-9542 make listNics and ListUserVms return uniform NIC data#2208
yadvr merged 4 commits into
apache:masterfrom
shapeblue:CLOUDSTACK-9542

Conversation

@DaanHoogland

Copy link
Copy Markdown
Contributor

@PaulAngus@borisroman please see if this is what is expected

@borisstoyanov

Copy link
Copy Markdown
Contributor

Hey @DaanHoogland I think you pinged the wrong Boris, but don't worry
@blueorangutan package

@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

sorry @borisroman , just missing you ;)

@borisstoyanov

Copy link
Copy Markdown
Contributor

@blueorangutan test

@borisstoyanovborisstoyanov 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.

@DaanHoogland There's one error in travis could this be related to your changes? I doubt so..

 File "/home/travis/build/apache/cloudstack/test/integration/smoke/test_primary_storage.py", line 386, in tearDownClass
Exception: Cleanup failed with Execute cmd: deletestoragepool failed, due to: errorCode: 530, errorText:Cannot delete pool Primary XEN as there are associated non-destroyed vols for this pool

@borisstoyanovborisstoyanov 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.

Looks like few tests are failing due to the listNics changes, will build and try to fix them

@borisstoyanovborisstoyanov 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.

@DaanHoogland it appears that the router fails to start with the error:

{errorcode : 530, errortext : u'Resource [Host:2] is unreachable: Host 2: Unable to start instance due to Unable to start VM:c36680d3-765e-4d62-85ae-49cd89c04ad1 due to error in finalizeStart, not retrying'}

I think this could be related to your changes.

@yadvr

yadvr commented Aug 3, 2017

Copy link
Copy Markdown
Member

LGTM, no deletions in returned keys just additive changes. @DaanHoogland however a minor note, the comments may be indented, or just removed. I understand that it notes the sequence of keys, however that's not how the params/keys are serialized/returned in the api response. It just makes the code look bit weird IMO :)

@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

@rhtyd I agree with your comment on comments (in this case) however those are there just to keep track for the viewer which has been added in which output. I will add cross references to both bits to each other so future generations will be able to make sense of it.

@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

@borisstoyanov I don't see how a host unreachable can be caused by an API result changing. I will rebase, repackage and retest.

@apacheapache deleted a comment from blueorangutanAug 25, 2017
@apacheapache deleted a comment from blueorangutanAug 25, 2017
@apacheapache deleted a comment from blueorangutanAug 25, 2017
@apacheapache deleted a comment from blueorangutanAug 25, 2017
@apacheapache deleted a comment from blueorangutanAug 25, 2017
@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@cloudmonger

Copy link
Copy Markdown

ACS CI BVT Run

Sumarry:
Build Number 1146
Hypervisor xenserver
NetworkType Advanced
Passed=106
Failed=5
Skipped=12

Link to logs Folder (search by build_no):https://www.dropbox.com/sh/r2si930m8xxzavs/AAAzNrnoF1fC3auFrvsKo_8-a?dl=0

Failed tests:

  • test_volumes.py

  • test_06_download_detached_volume Failing since 2 runs

  • test_routers_network_ops.py

  • test_01_isolate_network_FW_PF_default_routes_egress_true Failing since 11 runs

  • test_02_isolate_network_FW_PF_default_routes_egress_false Failing since 138 runs

  • test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Failing since 133 runs

  • test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Failing since 133 runs

Skipped tests:
test_vm_nic_adapter_vmxnet3
test_01_verify_libvirt
test_02_verify_libvirt_after_restart
test_03_verify_libvirt_attach_disk
test_04_verify_guest_lspci
test_05_change_vm_ostype_restart
test_06_verify_guest_lspci_again
test_static_role_account_acls
test_11_ss_nfs_version_on_ssvm
test_nested_virtualization_vmware
test_3d_gpu_support
test_deploy_vgpu_enabled_vm

Passed test suits:
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_vm_snapshots.py
test_over_provisioning.py
test_global_settings.py
test_router_dnsservice.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_loadbalance.py
test_routers.py
test_reset_vm_on_reboot.py
test_deploy_vms_with_varied_deploymentplanners.py
test_network.py
test_router_dns.py
test_non_contigiousvlan.py
test_login.py
test_deploy_vm_iso.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_metrics_api.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_disk_offerings.py

@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

question about @cloudmonger, everyone: How to find the error output for the failed tests in the dropbox link. There are only numbered directories in there. Must they be grep'd, i.e. all downloaded to search? or can i find a logical link from a failed test name to a location of it's results? @karuturi@kishankavala@sanjaytripathi , @ALL, @anyoneelse, ...

@apacheapache deleted a comment from blueorangutanAug 28, 2017
@apacheapache deleted a comment from blueorangutanSep 29, 2017
@apacheapache deleted a comment from blueorangutanSep 29, 2017
@apacheapache deleted a comment from blueorangutanSep 29, 2017
@apacheapache deleted a comment from blueorangutanSep 29, 2017
@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

two runs with the same version led to different fails as I suspected. I don't see direct relation to the code but don't dare to merge. I will rebase and go from there.

@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from blueorangutanNov 3, 2017
@apacheapache deleted a comment from yadvrNov 3, 2017
@apacheapache deleted a comment from yadvrNov 3, 2017
@yadvryadvr added this to the 4.11 milestone Dec 10, 2017
@yadvr

Copy link
Copy Markdown
Member

@DaanHoogland please rebase and fix conflicts

@yadvr

Copy link
Copy Markdown
Member

@DaanHoogland can you fix conflicts on your PR?

@DaanHoogland

Copy link
Copy Markdown
ContributorAuthor

Yes @rhtyd I will rebase one last time.

@yadvr

Copy link
Copy Markdown
Member

@DaanHoogland thanks, you know you can kick tests yourself!
@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rhtyd 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: ✔centos6 ✔centos7 ✔debian. JID-1438

@yadvr

Copy link
Copy Markdown
Member

@DaanHoogland and also run them ;)
@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1841)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30267 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2208-t1841-kvm-centos7.zip
Smoke tests completed. 64 look OK, 3 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_01_vpc_privategw_aclFailure46.77test_privategw_acl.py
test_02_vpc_privategw_static_routesFailure148.00test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanupFailure193.41test_privategw_acl.py
test_04_rvpc_privategw_static_routesFailure304.25test_privategw_acl.py
test_02_create_template_with_checksum_sha1Error5.24test_templates.py
test_03_create_template_with_checksum_sha256Error5.23test_templates.py
test_04_create_template_with_checksum_md5Error5.24test_templates.py
test_01_vpc_remote_access_vpnError45.86test_vpc_vpn.py

@yadvr

Copy link
Copy Markdown
Member

Tests lgtm, additional review required for merging this.

@borisstoyanovborisstoyanov 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, based on the latests test results

@yadvr
yadvr merged commit 8e6d8a1 into apache:masterDec 21, 2017
@yadvr

Copy link
Copy Markdown
Member

Merged this based on test results and two lgtms/code reviews.

Tonitzpp pushed a commit to scclouds/cloudstack that referenced this pull request Dec 18, 2025
Correção de listagem não autorizada de temas da UI
Closesapache#2208
See merge request scclouds/scclouds!1262
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.

6 participants

@DaanHoogland@borisstoyanov@yadvr@cloudmonger@blueorangutan@kiwiflyer