Skip to content

server: Fix NPE while update displayvm on vm with dynamic service offering#3758

Merged
yadvr merged 1 commit into
apache:4.13from
ustcweizhou:4.13-fix-npe-update-displayvm
Jan 28, 2020
Merged

server: Fix NPE while update displayvm on vm with dynamic service offering#3758
yadvr merged 1 commit into
apache:4.13from
ustcweizhou:4.13-fix-npe-update-displayvm

Conversation

@ustcweizhou
Copy link
Copy Markdown
Contributor

Description

Steps to reproduce the issue
(1) create a custom service offering
(2) create a vm with the offering
(3) update vm with displayvm=false, returns an error

(local) > update virtualmachine id=f33fd06a-7643-40d1-833f-272845d9ba09 displayvm=false
Error 530: {"updatevirtualmachineresponse":{"uuidList":[],"errorcode":530,"cserrorcode":9999}}

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)

Screenshots (if appropriate):

How Has This Been Tested?

…ering

Steps to reproduce the issue
(1) create a custom service offering
(2) create a vm with the offering
(3) update vm with displayvm=false, returns an error

(local) > update virtualmachine id=f33fd06a-7643-40d1-833f-272845d9ba09 displayvm=false
Error 530: {"updatevirtualmachineresponse":{"uuidList":[],"errorcode":530,"cserrorcode":9999}}
Copy link
Copy Markdown
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.

explicit service offering call instead of generic dao call - lgtm

@apache apache deleted a comment from blueorangutan Jan 3, 2020
@apache apache deleted a comment from blueorangutan Jan 3, 2020
@andrijapanicsb
Copy link
Copy Markdown
Contributor

failed to build, wiped the env...

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_05_rvpc_multi_tiers Failure 416.77 test_vpc_redundant.py
test_05_rvpc_multi_tiers Error 442.66 test_vpc_redundant.py

@DaanHoogland
Copy link
Copy Markdown
Contributor

errors seem unrelated, trying insanity
@blueorangutan test

@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan test

@apache apache deleted a comment from blueorangutan Jan 21, 2020
@apache apache deleted a comment from blueorangutan Jan 21, 2020
@apache apache deleted a comment from blueorangutan Jan 21, 2020
@apache apache deleted a comment from blueorangutan Jan 21, 2020
@blueorangutan
Copy link
Copy Markdown

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

@apache apache deleted a comment from blueorangutan Jan 21, 2020
@apache apache deleted a comment from blueorangutan Jan 21, 2020
@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_04_rvpc_network_garbage_collector_nics Failure 337.54 test_vpc_redundant.py

@DaanHoogland
Copy link
Copy Markdown
Contributor

regression results spurious, @borisstoyanov @andrijapanicsb

@yadvr yadvr merged commit a77d74b into apache:4.13 Jan 28, 2020
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Feb 28, 2020
…ering (apache#3758)

Steps to reproduce the issue
(1) create a custom service offering
(2) create a vm with the offering
(3) update vm with displayvm=false, returns an error

(local) > update virtualmachine id=f33fd06a-7643-40d1-833f-272845d9ba09 displayvm=false
Error 530: {"updatevirtualmachineresponse":{"uuidList":[],"errorcode":530,"cserrorcode":9999}}
Sign up for free to 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