-
Notifications
You must be signed in to change notification settings - Fork 95
Change AdminCLI set command to take "--vm-group" arg, and change AdminCLI user guide #1037
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Why the CI is still failing ? |
PR is having vmdkops_admin.py with the new name and vmdkops_admin_test.py is required to be fixed as part of this PR.
It is better to run all tests locally before pushing/generating a PR. |
@@ -420,8 +420,8 @@ def commands(): | |||
'help': 'Volume to set options for, specified as "volume@datastore".', | |||
'required': True | |||
}, | |||
'--tenant': { | |||
'help': 'Name of the tenant the volume belongs to.', | |||
'--vm-group': { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed offline, please run all tests make test-all
with your change and provide fix for any tests referring to older name i.e. --tenant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually CI should be back RSN, isn't it ? So CI pass is needed as soon as maintenance is over.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Mark. I tried to run "make test-all" locally, it still failed at test " TestVolumeCreationFirstTime " which is a known issue. So I think there is not too much value added to run the CI test locally. If the CI test is failing with some known issue, we should disable that test temporarily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestVolumeCreationFirstTimeis related to old(er) ESX and Photon OS version only. Please check with @shuklanirdesh82 and make sure your testbed is updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talked with @shuklanirdesh82 , upgrade the photon OS version. Then rerun test "make test-all", it failed only one test "TestConcurrency", which is a known issue.
…nCLI user guide to make sure it is up-to-date after renaming "tenant" to "vm-group".
ad88fa6
to
b7afb86
Compare
"make test-esx" passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pending CI pass (or make test-all if CI maintenance is delayed)
…nCLI user guide (#1037) * Change AdminCLI set command to take "--vm-group" arg, and change AdminCLI user guide to make sure it is up-to-date after renaming "tenant" to "vm-group".
This PR includes:
Fixes #1026
Fixes #1035