| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…unged but not removed Steps to reproduce the issue (1) create a vm and stop it. check resource count of primary storage (2) download volume. resource count of primary storage is not changed. (3) expunge the vm, the volume will be Expunged state as there is a volume snapshot on secondary storage. The resource count of primary storage decreased. (4) update resource count of the account (or domain), the resource count of primary storage is reset to the value in step (2).
| "label.action.destroy.instance.processing": "正在销毁实例...", | ||
| "label.action.destroy.systemvm": "销毁系统 VM", | ||
| "label.action.destroy.systemvm.processing": "正在销毁系统 VM...", | ||
| "label.action.destroy.volume":"Destroy Volume", |
There was a problem hiding this comment.
hihi
Sorry, something went wrong.
There was a problem hiding this comment.
You have your own to translate @DaanHoogland as well ;)
Sorry, something went wrong.
There was a problem hiding this comment.
@K0zka @cl-k-takahashi @svenvogel @nvazquez @pdion891 @div8cn @GabrielBrascher
If you guys want to donate 5min of your life to translate those 2-3 lines to your languages - you are most welcome.
Sorry, something went wrong.
There was a problem hiding this comment.
@andrijapanicsb
"label.action.destroy.volume":"ボリュームの破棄",
"label.action.recover.volume":"ボリュームの復元",
"message.action.destroy.volume":"このボリュームを破棄してもよろしいですか?",
"message.action.recover.volume":"このボリュームを復元してもよろしいですか?",
Sorry, something went wrong.
There was a problem hiding this comment.
@andrijapanicsb here we go. 😄 (german)
"label.action.recover.volume":"Volume wiederherstellen",
"message.action.destroy.volume":"Bitte bestätigen, dass Sie das Volume zerstören wollen.",
"message.action.recover.volume":"Bitte bestätigen, dass die das Volume wiederherstellen wollen.",do we speak about this lines?
Sorry, something went wrong.
There was a problem hiding this comment.
@svenvogel one line is missing its translation...please add ASAP?
Sorry, something went wrong.
There was a problem hiding this comment.
"label.action.destroy.volume":"vernietig schijf",
"label.action.recover.volume":"herstel schijf",
"message.action.destroy.volume":"Bevestig alstublieft dat U deze schijf wilt vernietigen?",
"message.action.recover.volume":"Bevestig alstublieft dat U deze schijf wilt herstellen?",
there's Dutch for you @andrijapanicsb
Sorry, something went wrong.
There was a problem hiding this comment.
I took the liberty to capitalise those first 2, I'm sure it would be painful for you to see it lowercase @DaanHoogland
Sorry, something went wrong.
There was a problem hiding this comment.
ping @svenvogel
Sorry, something went wrong.
There was a problem hiding this comment.
We, the Dutch, are not getting high on capitalisation usually, @andrijapanicsb ! I did it exactly according to convention; start of sentence, 'U', personal names, geographical names. That's it.
Sorry, something went wrong.
|
seems like a useful feature @ustcweizhou . I had a global look and saw some style issues but no real ones. I'll do a thourough review when I have time. @PaulAngus @andrijapanicsb any thoughts? |
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖centos6 ✖centos7 ✖debian. JID-438 |
Sorry, something went wrong.
|
@andrijapanicsb a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-532 |
Sorry, something went wrong.
|
@andrijapanicsb a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian test result (tid-695)
|
Sorry, something went wrong.
|
code looks good, two minor remarks @weizhouapache |
Sorry, something went wrong.
|
@weizhouapache I've been committing the translation messages directly to your branch - hope that is ok? (wouldn't dare to touch the code) |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM based on code
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖centos6 ✖centos7 ✖debian. JID-666 |
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-690 |
Sorry, something went wrong.
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Sorry, something went wrong.
|
Trillian test result (tid-841)
|
Sorry, something went wrong.
|
@andrijapanicsb Thanks a lot for your translations ! |
Sorry, something went wrong.
|
@DaanHoogland Thanks for review ! I added a commit per your comments. |
Sorry, something went wrong.
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
Sorry, something went wrong.
|
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-739 |
Sorry, something went wrong.
|
@rhtyd this passed all tests last week, do we need a retest? |
Sorry, something went wrong.
There was a problem hiding this comment.
For what tis worth, the Dutch capitalisation convention; start of sentence, 'U', personal names, geographical names. That's it, not even month or weekday names not designations of conditions like nationality get capatalised. This means the translation in general is not exactly according to national standards. Having gotten that of my chest; I am not investing time in this now, so ... lgtm
Sorry, something went wrong.
|
2 approving changes, Merging. |
Sorry, something went wrong.
|
@rhtyd are you referring to this with #3601 (comment) ? |
Sorry, something went wrong.
|
Yes @DaanHoogland maybe Wei can comment? |
Sorry, something went wrong.
|
@rhtyd @DaanHoogland ok
Detach a Volume attached to a VM ... === TestName: test_02_detach_volume | Status : SUCCESS ===
ok
Delete a Volume unattached to an VM ... === TestName: test_03_delete_detached_volume | Status : SUCCESS ===
ok
Create a volume under a non-root domain as non-root-domain user ... === TestName: test_create_volume_under_domain | Status : SUCCESS ===
ok
----------------------------------------------------------------------
Ran 4 tests in 277.694s
OK
and smoke/test_volumes.py on kvm Test destroy Virtual Machine and it's volumes ... === TestName: test_11_destroy_vm_and_volumes | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 1 test in 678.315s OK and smoke/test_vm_life_cycle.py Delete a Volume unattached to an VM ... === TestName: test_09_delete_detached_volume | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 1 test in 364.770s OK I have create a pr for travis test: #3880 |
Sorry, something went wrong.
|
Yes smoketests indeed pass on kvm but Travis runs tests against simulator. I'll review the PR. Thanks. |
Sorry, something went wrong.
* server: fix resource count of primary storage if some volumes are Expunged but not removed Steps to reproduce the issue (1) create a vm and stop it. check resource count of primary storage (2) download volume. resource count of primary storage is not changed. (3) expunge the vm, the volume will be Expunged state as there is a volume snapshot on secondary storage. The resource count of primary storage decreased. (4) update resource count of the account (or domain), the resource count of primary storage is reset to the value in step (2). * New feature: Add support to destroy/recover volumes * Add integration test for volume destroy/recover * marvin: check resource count of more types * messages translate to JP * Update messages for CN * translate message for NL * fix two issues per Daan's comments Co-authored-by: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Description
cloudstack provides options to destroy and recover a vm. For volumes, we do not have similar operations. When we delete a volume, it will be removed from primary storage permanently.
With this change,
(1) we have option to destroy a volume (expunge=false) or delete a volume permanently (expunge=true)
(2) we are be able to recover a Destroy volume to Ready state.
(3) Destroy volume will be removed in storage clean up.
(4) when reinstall a vm, the old root volume will be Destroy state. It can be recovered to Ready state and attached to other vm so we can restore some data.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
destroy vm (expunge=false)
recover a Destroy vm
delete vm (same as destroy vm with expunge=True)
More test cases can be found in the integration tests.