Skip to content

CLOUDSTACK-8745 : verify usage after root disk migration - #713

Merged
asfgit merged 1 commit into
apache:masterfrom
nitt10prashant:pool_maint
Apr 25, 2016
Merged

CLOUDSTACK-8745 : verify usage after root disk migration#713
asfgit merged 1 commit into
apache:masterfrom
nitt10prashant:pool_maint

Conversation

@nitt10prashant

Copy link
Copy Markdown
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
Copy Markdown

cloudstack-pull-rats #342 ABORTED

@asfbot

Copy link
Copy Markdown

cloudstack-pull-requests #1037 ABORTED

@asfbot

Copy link
Copy Markdown

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

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

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
Copy Markdown
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
Copy Markdown
ContributorAuthor

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
Copy Markdown

cloudstack-pull-rats #349 ABORTED

@asfbot

Copy link
Copy Markdown

cloudstack-pull-analysis #281 ABORTED

@sanju1010

Copy link
Copy Markdown
Contributor

LGTM!!

@asfbot

Copy link
Copy Markdown

cloudstack-pull-analysis #526 ABORTED

@asfbot

Copy link
Copy Markdown

cloudstack-pull-rats #590 ABORTED

@pavanb018

Copy link
Copy Markdown
Contributor

The test Looks good to me.

@yadvr

Copy link
Copy Markdown
Member

@nitt10prashant please rebase and meld into a single commit

@nitt10prashant

Copy link
Copy Markdown
ContributorAuthor

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
Copy Markdown
ContributorAuthor

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

@swill

Copy link
Copy Markdown
Contributor

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

@swill

Copy link
Copy Markdown
Contributor

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

@asfgit
asfgit merged commit 456abb0 into apache:masterApr 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 <williamstevens@gmail.com>
yadvr pushed a commit that referenced this pull request Jan 20, 2021
Customize link hover color
Customize loading color
Customize navigation menu color
Fixes#712Fixes#713Fixes#714
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Sign up for freeto 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

@nitt10prashant@asfbot@sanju1010@pavanb018@yadvr@swill@ksowmya@asfgit