-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[ACS] BREAKING CHANGE: ARO remove vnet-peer, upgrade to 2019-10-27-preview API version #12240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
193895c to
b0ded8c
Compare
|
Updated history notes section to conform to the required format. |
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.
You already have the help text in _params.py. You can remove it here.
|
@olga-mir Could you please update this with your status? Thanks! |
|
hi @kwoodson this can't be merged yet because the core sdk has not been updated with the latest API specs. On the last scrum with MSFT last Friday (6th March) I've been told that there is a conflict with AKS core sdk release/versioning and it's been taking a lot of time to resolve. I will resume working on this task when this has been sorted out |
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.
Per https://github.com/Azure/sdk-release-request/issues/46 this should be available in the latest release (8.3.0).
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.
Seems to be missing the right models, I've pinged the release manager on the ticket.
|
waiting on this PR: Azure/azure-sdk-for-python#10332 |
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.
Do we have a wait command as there are so many support_to_wait commands ?
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.
@arrownj yes we do have wait command:
| g.wait_command('wait') |
|
@ehashman @kwoodson sdk has now been updated, I will resume work on this PR soon. |
11d722f to
3264bc1
Compare
|
@julienstroheker I have tested the |
|
I am running The payload sent is: @julienstroheker any thoughts? |
|
I ran one more check and I want to provide some more detail. I took the above payload and placed in the script that creates production cluster using rest API call directly. Using curl the created cluster does appear to be private, while the one created with cli is not (like I observed yesterday). In the resource group of the cluster which is created with cli, PLS, PLS NIC and When describing both clusters using Because which is produced by this PR is valid, I assume that the problem is with Azure RP. |
|
one more thing that I've noticed is that the CLI cluster has 3 deployments on the RG, while cluster created with curl had 4. Missing deployment is |
|
Your payload is sent with the wrong API Version 2019-09-30-preview, should be 2019-10-27-preview This needs to be modified inside the _client_factory.py You can run any command with the Thanks |
3264bc1 to
bc513c8
Compare
|
thanks @julienstroheker indeed I've missed the api version string update (bc513c8) I thought models upgrade did the trick. I have fixed that and tested again the created cluster is a valid cluster and update refresh-cluster also works. I have rebased and tests passed, so marking this ready for review. |
|
@fengzhou-msft @arrownj can either of you please take another look at this PR, it now looks good from our side. |
arrownj
left a comment
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. And remember to fix the PR title(2019-20-27 -> 2019-10-27).
|
Hi @fengzhou-msft , could you help take a look at it once more? If no problem, I will merge it. |
…10-27-preview API version (Azure#12240)" This reverts commit 32e5102.
* Revert "ACS: remove fields cleanup that no longer exist (#13315)" This reverts commit cd405fa. * Revert "[ACS] BREAKING CHANGE: ARO remove vnet-peer, upgrade to 2019-10-27-preview API version (#12240)" This reverts commit 32e5102. Co-authored-by: Olga Mirensky <[email protected]>
This is a draft PR to allow early feedback.
This PR updates ARO module to latest API version
2019-10-27-preview. It depends on Azure/azure-rest-api-specs#8305 (in the process of being merged) and the consequent sdk-for-python build.In the new version vnet-peer has been removed from "create" operation. This is due to latest changes done on Azure side while implementing new API features it is now possible to edit vnet peering after the cluster creation. I have tried deprecation approach (https://github.com/Azure/azure-cli/blob/dev/doc/authoring_command_modules/authoring_commands.md#deprecating-commands-and-arguments) but unfortunately in this circumstances we have to remove it now rather than adding a deprecation notice.
History Notes:
[ACS] BREAKING CHANGE: az openshift create: remove --vnet-peer parameter.
[ACS] az openshift create: add flags to support private cluster.
[ACS] az openshift: upgrade to
2019-10-27-previewAPI version.[ACS] az openshift: add
updatecommand.This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.