Skip to content

Conversation

@nitt10prashant
Copy link
Contributor

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

@asfbot
Copy link

asfbot commented Aug 18, 2015

cloudstack-pull-rats #342 ABORTED

@asfbot
Copy link

asfbot commented Aug 18, 2015

cloudstack-pull-requests #1037 ABORTED

@asfbot
Copy link

asfbot commented Aug 18, 2015

cloudstack-pull-analysis #274 UNSTABLE
Looks like there's a problem with this pull request

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are enableMaintenance and cancelMaintenance methods available now directly from StoragePool in base.py. It's better to use that instead of repeating?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those methods can be used only with storage pool class object.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@nitt10prashant
Copy link
Contributor Author

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)

@asfbot
Copy link

asfbot commented Aug 19, 2015

cloudstack-pull-rats #349 ABORTED

@asfbot
Copy link

asfbot commented Aug 19, 2015

cloudstack-pull-analysis #281 ABORTED

@sanju1010
Copy link
Contributor

LGTM!!

@asfbot
Copy link

asfbot commented Sep 14, 2015

cloudstack-pull-analysis #526 ABORTED

@asfbot
Copy link

asfbot commented Sep 14, 2015

cloudstack-pull-rats #590 ABORTED

@pavanb018
Copy link
Contributor

The test Looks good to me.

@rohityadavcloud
Copy link
Member

@nitt10prashant please rebase and meld into a single commit

@nitt10prashant
Copy link
Contributor Author

sure

modified to use maintenance method is base.py and added some more checks

CLOUDSTACK-8745: Fail test if list response in empty
@nitt10prashant
Copy link
Contributor Author

@bhaisaab rebased and merged into single commit ,@swill @koushik-das can you please look into this

@swill
Copy link
Contributor

swill commented Apr 22, 2016

I need one more LGTM code review on this one. I will try to test this in my lab today. Thanks...

@swill
Copy link
Contributor

swill commented Apr 22, 2016

I think this one is ready unless anyone has any final words...

@asfgit asfgit merged commit 456abb0 into apache:master Apr 25, 2016
asfgit pushed a commit that referenced this pull request Apr 25, 2016
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 <[email protected]>
rohityadavcloud pushed a commit that referenced this pull request Jan 20, 2021
Customize link hover color
Customize loading color
Customize navigation menu color

Fixes #712
Fixes #713
Fixes #714

Signed-off-by: Rohit Yadav <[email protected]>
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.

8 participants