Azure / azure-cli

Azure Command-Line Interface
MIT License
3.98k stars 2.95k forks source link

Update azure-mgmt-redhatopenshift to 1.0.0 #18421

Open glaubitz opened 3 years ago

glaubitz commented 3 years ago

The current version of azure-mgmt-redhatopenshift is 1.0.0 which has been released on May, 20 2021 with the pre-version being available since December [1].

azure-cli still depends on the old version 0.1.0 which is incompatible with version:

glaubitz@suse-laptop:~> az --help
Error loading command module 'aro': cannot import name 'AzureRedHatOpenShiftClient' from 'azure.mgmt.redhatopenshift' (/usr/lib/python3.8/site-packages/azure/mgmt/redhatopenshift/__init__.py)

Group
    az

Subgroups:
    account                                   : Manage Azure subscription information.
    acr                                       : Manage private registries with Azure Container
                                                Registries.
    ad                                        : Manage Azure Active Directory Graph entities needed
                                                for Role Based Access Control.
    advisor                                   : Manage Azure Advisor.
    afd                             [Preview]
    aks                                       : Manage Azure Kubernetes Services.

[1] https://pypi.org/project/azure-mgmt-redhatopenshift/#history

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @mjudeikis, @jim-minter, @julienstroheker, @amanohar.

Issue Details
The current version of `azure-mgmt-redhatopenshift` is 1.0.0 which has been released on May, 20 2021 with the pre-version being available since December [1]. `azure-cli` still depends on the old version 0.1.0 which is incompatible with version: ``` glaubitz@suse-laptop:~> az --help Error loading command module 'aro': cannot import name 'AzureRedHatOpenShiftClient' from 'azure.mgmt.redhatopenshift' (/usr/lib/python3.8/site-packages/azure/mgmt/redhatopenshift/__init__.py) Group az Subgroups: account : Manage Azure subscription information. acr : Manage private registries with Azure Container Registries. ad : Manage Azure Active Directory Graph entities needed for Role Based Access Control. advisor : Manage Azure Advisor. afd [Preview] aks : Manage Azure Kubernetes Services. ``` > [1] https://pypi.org/project/azure-mgmt-redhatopenshift/#history
Author: glaubitz
Assignees: -
Labels: `ARO`, `Service Attention`, `question`
Milestone: -
yonzhan commented 3 years ago

route to service team

mjudeikis commented 3 years ago

@yonzhan ARO didn't released 1.0.0 and we dint changed code for it. Can somebody from wider CLI team find out what is happening?

jsntcy commented 3 years ago

@mjudeikis, 1.0.0 is track 2 SDK (next generation SDK) while 0.1.0 is track 1 SDK (old generation SDK). SDK team will deprecate track 1 SDK soon and they release track 2 SDK with their plan, but not per service team's request.

Here is the timeline for track 1 SDK retirement,

An email titled with "[ARO] Heads-up: All Azure CLI modules need to be migrated to track 2 SDK due to track 1 SDK's retirement" was sent to you one month ago, please take a look.