| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
cloudstack-pull-analysis #274 UNSTABLE |
Sorry, something went wrong.
There was a problem hiding this comment.
There are enableMaintenance and cancelMaintenance methods available now directly from StoragePool in base.py. It's better to use that instead of repeating?
Sorry, something went wrong.
There was a problem hiding this comment.
those methods can be used only with storage pool class object.
Sorry, something went wrong.
There was a problem hiding this comment.
hmm... I thought something like this should work: StoragePool.enableMaintenance(self.api_client, id=storageself.storageid[0][0]) since it is a classmethod
I am just trying to confirm you're using the latest base.py since couple of these enhancements went in recently into base.py...
If it still doesn't fit in, it's ok. You can continue the way you've done
Sorry, something went wrong.
|
test result of enough storage is not available to perform test put storage in maintenance mode and start ha vm and check usage ... SKIP: sufficient storage not available in any cluster for zone 90d85d89-01c4-4a91-b76e-eedf947b40f6 Ran 1 test in 4.059s OK (SKIP=1) |
Sorry, something went wrong.
|
LGTM!! |
Sorry, something went wrong.
|
The test Looks good to me. |
Sorry, something went wrong.
|
@nitt10prashant please rebase and meld into a single commit |
Sorry, something went wrong.
|
sure |
Sorry, something went wrong.
modified to use maintenance method is base.py and added some more checks CLOUDSTACK-8745: Fail test if list response in empty
|
@bhaisaab rebased and merged into single commit ,@swill @koushik-das can you please look into this |
Sorry, something went wrong.
|
I need one more LGTM code review on this one. I will try to test this in my lab today. Thanks... |
Sorry, something went wrong.
|
I think this one is ready unless anyone has any final words... |
Sorry, something went wrong.
CLOUDSTACK-8745 : verify usage after root disk migrationput storage in maintenance mode and start ha vm and check usage ... === TestName: test_ha_with_storage_maintenance | Status : SUCCESS === ok ---------------------------------------------------------------------- Ran 1 test in 842.294s OK * pr/713: CLOUDSTACK-8745 : verify usage after root disk migration Signed-off-by: Will Stevens <williamstevens@gmail.com>
| Back | FazBrowse Home | New Git URL |
put storage in maintenance mode and start ha vm and check usage ... === TestName: test_ha_with_storage_maintenance | Status : SUCCESS ===
ok
Ran 1 test in 842.294s
OK