Azure / azure-cli

Azure Command-Line Interface
MIT License
4.01k stars 2.98k forks source link

Unable to install rdbms-connect in Microsoft-Hosted Pipeline Agent #22128

Open meastp opened 2 years ago

meastp commented 2 years ago

Hi,

I'm using Azure DevOps with a Microsoft-Hosted Pipeline Agent (have tried both windows-2019 and windows-2022)

Trying to run az extension add --name rdbms-connect --debug

in this task:

      - task: AzureCLI@2
        displayName: Azure CLI
        name: azclicreate
        inputs:
          ...

See the "included software" links under both agents for what's installed on the agents: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml

The --debug log is attached below.

azuredevops.log

Please shout out if more info is needed.

Rezpector888 commented 2 years ago

i have same issue The system cannot find the path specified: 'C:\\Program Files\\Common Files\\AzureCliExtensionDirectory\\rdbms-connect'. Retrying ...

yonzhan commented 2 years ago

route to CXP team

meastp commented 2 years ago

FYI, a workaround until this is fixed is to use a Linux agent instead (ubuntu-latest) (and pscore instead of ps).

navba-MSFT commented 2 years ago

Adding the Service team for the devops/pipelines issue.

ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @v-anvashist, @V-hmusukula.

Issue Details
Hi, I'm using Azure DevOps with a Microsoft-Hosted Pipeline Agent (have tried both `windows-2019` and `windows-2022`) Trying to run `az extension add --name rdbms-connect --debug` in this task: ``` - task: AzureCLI@2 displayName: Azure CLI name: azclicreate inputs: ... ``` See the "included software" links under both agents for what's installed on the agents: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml The `--debug` log is attached below. [azuredevops.log](https://github.com/Azure/azure-cli/files/8521637/azuredevops.log) Please shout out if more info is needed.
Author: meastp
Assignees: jiasli
Labels: `Service Attention`, `customer-reported`, `Installation`, `DevOps`, `Pipelines`, `Auto-Assign`
Milestone: Backlog
navba-MSFT commented 2 years ago

@v-anvashist, @V-hmusukula Please look into this issue once you get a chance.

v-anvashist commented 2 years ago

@meastp I am not able to repro this issue.

We are using windows 10 and able to install rdbms connect

Thanks, Anjali

meastp commented 2 years ago

@v-anvashist

I'm using Azure DevOps with a Microsoft-Hosted Pipeline Agent (have tried both windows-2019 and windows-2022)

i.e. not windows 10, but nice to know that at least some windows versions work :)

v-anvashist commented 2 years ago

@meastp Thanks for your response ! After detailed analysis we figured out that we are not owing the same.

@navba-MSFT Could you please redirect this issue to some another team?

Thanks, Anjali

AliKhyar commented 1 year ago

please, any updates on how to fix this?

nschoenberg commented 1 year ago

@v-anvashist Any updates on this? Its not working on my win10 nor in Pipeline Agent