Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-978

azure-cli tools installed from pip are not usable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: puppet
    • Labels:
      None
    • Similar Issues:

      Description

      Installing the azure-cli system-wide with pip results in an unusable az command since the /usr/local/bin/az cannot find the installed Python eggs

      ERROR: Error loading command module 'network'
      ERROR: Error loading command module 'profile'
      ERROR: Error loading command module 'resource'
      ERROR: Error loading command module 'role'
      ERROR: Error loading command module 'storage'
      ERROR: Error loading command module 'vm'
      usage: az [-h] [--output {json,tsv,list,table,jsonc}] [--verbose] [--debug]
                [--query JMESPATH]
                {context,component,configure,cloud,feedback} ...
      

        Attachments

          Issue Links

            Activity

            Hide
            rtyler R. Tyler Croy added a comment -

            I have verified that, at least on Ubuntu 16.04, the debian package works properly

            Show
            rtyler R. Tyler Croy added a comment - I have verified that, at least on Ubuntu 16.04, the debian package works properly
            Hide
            rtyler R. Tyler Croy added a comment -

            Verified that the debian package installs properly on 14.04

            Show
            rtyler R. Tyler Croy added a comment - Verified that the debian package installs properly on 14.04
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            Tyler confirmed that this will impact the release tomorrow.

            Show
            kohsuke Kohsuke Kawaguchi added a comment - Tyler confirmed that this will impact the release tomorrow.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: R. Tyler Croy
            Path:
            dist/profile/manifests/mirrorbrain.pp
            spec/classes/profile/mirrorbrain_spec.rb
            http://jenkins-ci.org/commit/jenkins-infra/7bd84b7616f8d01fd1ccd4e02f35566057e50275
            Log:
            Fetch the azure-cli from debian packages instead of relying on pip

            Fixes INFRA-978

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: R. Tyler Croy Path: dist/profile/manifests/mirrorbrain.pp spec/classes/profile/mirrorbrain_spec.rb http://jenkins-ci.org/commit/jenkins-infra/7bd84b7616f8d01fd1ccd4e02f35566057e50275 Log: Fetch the azure-cli from debian packages instead of relying on pip Fixes INFRA-978
            Hide
            rtyler R. Tyler Croy added a comment -

            A proper installation of azure-cli is available on pkg.jenkins.io now

            Show
            rtyler R. Tyler Croy added a comment - A proper installation of azure-cli is available on pkg.jenkins.io now

              People

              Assignee:
              rtyler R. Tyler Croy
              Reporter:
              rtyler R. Tyler Croy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: