You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/12/10 16:27:12 UTC
[GitHub] [cloudstack] ravening commented on pull request #4530: extract volume: Fix NPE when Volume exists on secondary store but doesn't have a download URL
ravening commented on pull request #4530:
URL: https://github.com/apache/cloudstack/pull/4530#issuecomment-742629037
@Pearl1594 Im not able to reproduce the issue is kvm. Is it specific to vmware which is seen from your logs?
Before destroying systemvmn
```
mysql> select * from volume_store_ref\G
*************************** 1. row ***************************
id: 1
store_id: 1
volume_id: 962
download_state: DOWNLOADED
install_path: volumes/2/962/14961c07-b490-43f4-991a-1628e5878178.qcow2
url: NULL
download_url: https://10-135-122-128.cloud.net/userdata/e21f48ea-3ffd-448f-95ad-defdb9d08245.qcow2
state: Ready
destroyed: 0
update_count: 2
ref_cnt: 0
updated: 2020-12-10 16:20:15
download_url_created: 2020-12-10 16:20:17
```
After destroying systemvm
```
mysql> select * from volume_store_ref\G
*************************** 1. row ***************************
download_state: DOWNLOADED
install_path: volumes/2/962/14961c07-b490-43f4-991a-1628e5878178.qcow2
url: NULL
download_url: NULL
state: Ready
destroyed: 0
update_count: 2
ref_cnt: 0
updated: 2020-12-10 16:20:15
download_url_created: 1969-12-31 00:00:00
1 row in set (0.01 sec)
```
After creating systevm again
```
mysql> select * from volume_store_ref\G
*************************** 1. row ***************************
download_state: DOWNLOADED
install_path: volumes/2/962/14961c07-b490-43f4-991a-1628e5878178.qcow2
url: NULL
download_url: https://10-135-122-128.cloud.net/userdata/26df39b8-1a43-45db-b515-f8a6ec9150a9.qcow2
state: Ready
destroyed: 0
update_count: 2
ref_cnt: 0
updated: 2020-12-10 16:20:15
download_url_created: 2020-12-10 16:22:40
1 row in set (0.00 sec)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org