azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

[RDBMS] Update Python SDK version for PostgreSQL flexible servers. Edit create private endpoint migration

Open nasc17 opened this issue 10 months ago • 4 comments

Related command az postgres flexible-server migration create --subscription sub --resource-group testGroup --name testserver --migration-name testmigration --properties "migrationConfig.json" --migrationRuntimeResourceId /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testsourcemigration

Description Edit private endpoint migration to use the option command argumetn --migrationRuntimeResourceId that will be responsible for migrating data between source and target server in support of private endpoint migration. This property is to be defined in JSON file passed in properties argument for creating a migration

Update CLI to use latest Python SDK version.

Testing Guide Manually

History Notes [RDBMS] az postgres flexible-server migration create: Add private endpoint support for migrations by providing migration runtime resource ID as command line argument

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change [Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

nasc17 avatar Apr 22 '24 20:04 nasc17

️✔️AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.11
️✔️3.9
️✔️ams
️✔️latest
️✔️3.11
️✔️3.9
️✔️apim
️✔️latest
️✔️3.11
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.11
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.11
️✔️3.9
️✔️aro
️✔️latest
️✔️3.11
️✔️3.9
️✔️backup
️✔️latest
️✔️3.11
️✔️3.9
️✔️batch
️✔️latest
️✔️3.11
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.11
️✔️3.9
️✔️billing
️✔️latest
️✔️3.11
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.11
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.11
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.11
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.11
️✔️3.9
️✔️compute_recommender
️✔️latest
️✔️3.11
️✔️3.9
️✔️config
️✔️latest
️✔️3.11
️✔️3.9
️✔️configure
️✔️latest
️✔️3.11
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.11
️✔️3.9
️✔️container
️✔️latest
️✔️3.11
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.11
️✔️3.9
️✔️core
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.11
️✔️3.9
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️dla
️✔️latest
️✔️3.11
️✔️3.9
️✔️dls
️✔️latest
️✔️3.11
️✔️3.9
️✔️dms
️✔️latest
️✔️3.11
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.11
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.11
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.11
️✔️3.9
️✔️find
️✔️latest
️✔️3.11
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.11
️✔️3.9
️✔️identity
️✔️latest
️✔️3.11
️✔️3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️keyvault
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️kusto
️✔️latest
️✔️3.11
️✔️3.9
️✔️lab
️✔️latest
️✔️3.11
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.11
️✔️3.9
️✔️maps
️✔️latest
️✔️3.11
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.11
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.11
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.11
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.11
️✔️3.9
️✔️network
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.11
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.11
️✔️3.9
️✔️profile
️✔️latest
️✔️3.11
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.11
️✔️3.9
️✔️redis
️✔️latest
️✔️3.11
️✔️3.9
️✔️relay
️✔️latest
️✔️3.11
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️role
️✔️latest
️✔️3.11
️✔️3.9
️✔️search
️✔️latest
️✔️3.11
️✔️3.9
️✔️security
️✔️latest
️✔️3.11
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.11
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.11
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.11
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.11
️✔️3.9
️✔️sql
️✔️latest
️✔️3.11
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.11
️✔️3.9
️✔️storage
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.11
️✔️3.9
️✔️telemetry
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️util
️✔️latest
️✔️3.11
️✔️3.9
️✔️vm
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9

Hi @nasc17, Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

⚠️AzureCLI-BreakingChangeTest
⚠️rdbms
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd postgres flexible-server migration create cmd postgres flexible-server migration create added parameter migrationInstanceResourceId

RDBMS

yonzhan avatar Apr 22 '24 20:04 yonzhan

@nasc17 Please help to fix these tests.

honghr avatar May 06 '24 04:05 honghr

@honghr @nitishsharma25 I have 3 MySQL tests I have not been able to get passed running live. test_mysql_flexible_server_georestore_update_mgmt gave No available SKUs in this location, then when I try to change location it never completes. Have tried multiple times test_mysql_flexible_server_byok_mgmt I keep getting my token expired and needs to be refreshed. Even after new login this comes up test_mysql_flexible_server_import_create Single server creation is blocked in cli but needed to at beginning of test and causes failure

nasc17 avatar May 07 '24 15:05 nasc17

@honghr @nitishsharma25 I have 3 MySQL tests I have not been able to get passed running live. test_mysql_flexible_server_georestore_update_mgmt gave No available SKUs in this location, then when I try to change location it never completes. Have tried multiple times test_mysql_flexible_server_byok_mgmt I keep getting my token expired and needs to be refreshed. Even after new login this comes up test_mysql_flexible_server_import_create Single server creation is blocked in cli but needed to at beginning of test and causes failure

Hi @nasc17 , First test_mysql_flexible_server_import_create, you can just skip this because we have blocked single server creation. And other cases you can try to regenerate and if still failed, you can grant me permission to your fork repo and I will commit new recording files.

honghr avatar May 09 '24 09:05 honghr

++ @Ethan @.> ++ @Bin @.> for visibility


From: Haoran Hong @.> Sent: Thursday, May 9, 2024 3:17 PM To: Azure/azure-cli @.> Cc: Nitish Sharma @.>; Mention @.> Subject: Re: [Azure/azure-cli] [RDBMS] Update Python SDK version for PostgreSQL flexible servers. Edit create private endpoint migration (PR #28798)

@honghrhttps://github.com/honghr @nitishsharma25https://github.com/nitishsharma25 I have 3 MySQL tests I have not been able to get passed running live. test_mysql_flexible_server_georestore_update_mgmt gave No available SKUs in this location, then when I try to change location it never completes. Have tried multiple times test_mysql_flexible_server_byok_mgmt I keep getting my token expired and needs to be refreshed. Even after new login this comes up test_mysql_flexible_server_import_create Single server creation is blocked in cli but needed to at beginning of test and causes failure

Hi @nasc17https://github.com/nasc17 , First test_mysql_flexible_server_import_create, you can just skip this because we have blocked single server creation. And other cases you can try to regenerate and if still failed, you can grant me permission to your fork repo and I will commit new recording files.

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-cli/pull/28798#issuecomment-2102325182, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2ZXWCCWIWRKSII6M472IKDZBNAZNAVCNFSM6AAAAABGTNRUJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGMZDKMJYGI. You are receiving this because you were mentioned.Message ID: @.***>

nitishsharma25 avatar May 10 '24 04:05 nitishsharma25