-
Notifications
You must be signed in to change notification settings - Fork 1.2k
extract volume: Fix NPE when Volume exists on secondary store but doesn't have a download URL #4530
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
extract volume: Fix NPE when Volume exists on secondary store but doesn't have a download URL #4530
Conversation
|
@blueorangutan package |
|
@Pearl1594 a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2477 |
|
@blueorangutan test |
|
@Pearl1594 a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
@Pearl1594 is this also a bug in 4.14 ? |
|
@weizhouapache I believe this got introduced in 4.15 |
ok thanks @Pearl1594 |
@Pearl1594 by the way, do you know what lines of code changes causes it ? is there any other issue ? |
|
@weizhouapache I think it was introduced by https://github.com/apache/cloudstack/pull/4078/files#diff-b93da5c5293f8cb4470ff6b1642d312131bb053df07b71b4b951b08dff0ad9abR2881 and there are no other issues wrt this that I noticed. |
|
thanks @Pearl1594 |
|
@Pearl1594 Im not able to reproduce the issue is kvm. Is it specific to vmware which is seen from your logs? Before destroying systemvmn After destroying systemvm After creating systevm again |
|
@ravening I faced this issue on a KVM environment. |
|
Trillian test result (tid-3330)
|
harikrishna-patnala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could reproduce the issue on VMware environment.
I've tested the fix and it is working good.
LGTM
* master: server: add conditions for custom offerings (apache#4540) vr: Ensuring dnsmasq.leases file is populated (apache#4529) template: Ensuring template is cross zone if type changed to system (apache#4522) storage: Fix hypervisor type cast to string (apache#4516) db upgrade: fix sql exception: Access denied; you need (at least one of) the SUPER privilege(s) for this operation (apache#4533) CLOUDSTACK-10423:Potential sensitive information disclosure (apache#4536) jobs: The patch remove the password from resultObject and make it be humanreadable (apache#4538) listphysicalnetworks: Honouring keyword parameter (apache#4511) Fix NPE when Volume exists on secondary store but doesn't have a download URL (apache#4530) apidoc issue (apache#4532) db: Fix description of volume.stats.interval which is in milliseconds not seconds (apache#4526) kvm: set cpu topology only if cpucore per socket is positive value (apache#4527) xenserver: check and eject patch vbd for systemvms (apache#4525) Fix warning when setup cloudstack-common (apache#4523) kvm: FIX cpucorespersocket is not working on KVM (apache#4497) change debug to warn for unknown exceptions (apache#4521) Fix failure in validating IP address in case of multiple Management Servers (apache#4507) Update log output for FirstFitPlanner (apache#4515) ui: deprecate old UI and move to legacy to be served at /client/legacy (apache#4518)
Description
This PR fixes an NPE that's noticed when we perform the following:
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
How Has This Been Tested?
Perform the above mentioned steps and the download url is created.