Deployment Script Fails with serviceconnector-passwordless Extension Installation Error #8380
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Service Attention
This issue is responsible by Azure service team.
Service Connector
az webapp/functionapp/springapp/containerapp connection
Describe the bug
When running a deployment script with the Azure CLI version 2.63.0, the deployment fails with errors related to the serviceconnector-passwordless extension. The error message suggests that the extension could not be installed successfully due to a Pip failed with status code 1 error.
Related command
az extension add --name serviceconnector-passwordless --allow-preview true
Errors
WARNING: Command group 'config' is experimental and under development.
WARNING: Azure CLI 2.63.0 is the last version available on Alpine and will not receive updates. Consider migrating to the Azure Linux based image for Azure CLI.
ERROR: Fail to install
serviceconnector-passwordless
extension. Please manually install it withaz extension add --name serviceconnector-passwordless --upgrade
and rerun the command.Issue script & Debug output
This is the output from the deployment script:
Adding certificates not required Registering and setting the cloud Cloud is already registered Registering and setting the cloud completed fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz (1/6) Upgrading libcrypto3 (3.3.1-r1 -> 3.3.2-r1) (2/6) Upgrading libssl3 (3.3.1-r1 -> 3.3.2-r1) (3/6) Installing libpq (16.6-r0) (4/6) Installing pkgconf (2.2.0-r0) (5/6) Installing openssl-dev (3.3.2-r1) (6/6) Installing libpq-dev (16.6-r0) Executing busybox-1.36.1-r29.trigger Executing ca-certificates-20240226-r0.trigger OK: 35 MiB in 53 packages fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz OK: 35 MiB in 53 packages WARNING: Command group 'config' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus WARNING: The installed extension 'webapp' is in preview. WARNING: This extension depends on libpq-dev and will be installed first. ERROR: An error occurred. Pip failed with status code 1. Use --debug for more information. WARNING: Default enabled including preview versions for extension installation now. Disabled in future release. Use '--allow-preview true' to enable it specifically if needed. Use '--allow-preview false' to install stable version only. WARNING: This extension depends on libpq-dev and will be installed first. ERROR: Fail to install
serviceconnector-passwordlessextension. Please manually install it with
az extension add --name serviceconnector-passwordless --upgradeand rerun the command
Expected behavior
No error when running locally.
Environment Summary
Azure CLI Version: 2.63.0
Extensions Used:
webapp
serviceconnector-passwordless
OS: Alpine Linux-based container
Additional context
No response
The text was updated successfully, but these errors were encountered: