Skip to content

CLOUDSTACK-8655: [Browser Based Upload Volume] Partially uploaded vol…#611

Closed
koushik-das wants to merge 1 commit into
apache:masterfrom
koushik-das:CLOUDSTACK-8655
Closed

CLOUDSTACK-8655: [Browser Based Upload Volume] Partially uploaded vol…#611
koushik-das wants to merge 1 commit into
apache:masterfrom
koushik-das:CLOUDSTACK-8655

Conversation

@koushik-das
Copy link
Copy Markdown
Contributor

…umes are not getting destroyed as part of storage GC

As part of volume sync, that runs during of SSVM start-up, the volume_store_ref entry was getting deleted. Volume GC relies on this entry to move volume to destroyed state.
Since the entry was getting deleted, GC thread never moved the volume from UploadError/UploadAbandoned to Destroyed. Fix is to not remove the volume_store_ref entry as part
of volume sync and let GC thread handle the clean up.

…umes are not getting destroyed as part of storage GC

As part of volume sync, that runs during of SSVM start-up, the volume_store_ref entry was getting deleted. Volume GC relies on this entry to move volume to destroyed state.
Since the entry was getting deleted, GC thread never moved the volume from UploadError/UploadAbandoned to Destroyed. Fix is to not remove the volume_store_ref entry as part
of volume sync and let GC thread handle the clean up.
@koushik-das
Copy link
Copy Markdown
Contributor Author

Test browser based incomplete volume upload, followed by SSVM destroy. Volume should go to UploadAbandoned/Error state and get cleaned up. ... === TestName: test_browser_upload_volume_incomplete | Status : SUCCESS ===
ok


Ran 1 test in 351.347s

OK

@asfbot
Copy link
Copy Markdown

asfbot commented Jul 21, 2015

cloudstack-pull-rats #92 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Jul 21, 2015

cloudstack-pull-requests #790 SUCCESS
This pull request looks good

@asfbot
Copy link
Copy Markdown

asfbot commented Jul 21, 2015

cloudstack-pull-analysis #25 SUCCESS
This pull request looks good

@yadvr
Copy link
Copy Markdown
Member

yadvr commented Jul 22, 2015

LGTM

2 similar comments
@DaanHoogland
Copy link
Copy Markdown
Contributor

LGTM

@kishankavala
Copy link
Copy Markdown
Contributor

LGTM

@asfgit asfgit closed this in ab7c9e4 Jul 22, 2015
@koushik-das koushik-das deleted the CLOUDSTACK-8655 branch July 22, 2015 13:37
maneesha-p pushed a commit to maneesha-p/cloudstack that referenced this pull request Jul 31, 2015
…umes are not getting destroyed as part of storage GC

As part of volume sync, that runs during of SSVM start-up, the volume_store_ref entry was getting deleted. Volume GC relies on this entry to move volume to destroyed state.
Since the entry was getting deleted, GC thread never moved the volume from UploadError/UploadAbandoned to Destroyed. Fix is to not remove the volume_store_ref entry as part
of volume sync and let GC thread handle the clean up.

This closes apache#611
yadvr pushed a commit that referenced this pull request Jan 20, 2021
* Add contextual info to forms

* additional tooltips - Primary storage form

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
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