Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-2325

dcos package install --cli elastic results in an error

    Details

    • Story Points:
      3

      Description

      From https://github.com/dcos/dcos-cli/issues/1190 , the customer has disabled http, but DC/OS returned an asset with an http scheme while it is queried with https :

      curl -k -H "Authorization: token=$(dcos config show core.dcos_acs_token)" -H "User-Agent: python-requests/2.18.4" -H "Accept-Encoding: gzip, deflate" -H "Accept: application/vnd.dcos.package.describe-response+json;charset=utf-8;version=v3" -H "Content-Type: application/vnd.dcos.package.describe-request+json;charset=utf-8;version=v1" --data '\{"packageName":"elastic"}' $(dcos config show core.dcos_url)/package/describe | jq . | grep admin
       % Total % Received % Xferd Average Speed Time Time Time Current
       Dload Upload Total Spent Left Speed
      100 69970 100 69945 100 25 69945 25 0:00:01 0:00:01 --:--:-- 66574
       "scheduler-zip": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/elastic/assets/2.2.0-5.6.5/elastic-scheduler.zip",
       "statsd-plugin-zip": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://github.com/mesosphere/elasticsearch-statsd-plugin/releases/download/5.6.5.0/elasticsearch-statsd-5.6.5.0.zip",
       "diagnostics-zip": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://github.com/elastic/elasticsearch-support-diagnostics/releases/download/6.2/support-diagnostics-6.2-dist.zip",
       "libmesos-bundle-tar-gz": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/libmesos-bundle/libmesos-bundle-master-28f8827.tar.gz",
       "executor-zip": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/elastic/assets/2.2.0-5.6.5/executor.zip",
       "elasticsearch-tar-gz": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.5.tar.gz",
       "bootstrap-zip": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/elastic/assets/2.2.0-5.6.5/bootstrap.zip",
       "elasticsearch-jre-tar-gz": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/java/server-jre-8u162-linux-x64.tar.gz",
       "xpack-zip": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.6.5.zip",
       "jre-tar-gz": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/java/server-jre-8u162-linux-x64.tar.gz"
       "icon-small": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/assets/universe/000/elastic-icon-small.png",
       "icon-medium": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/assets/universe/000/elastic-icon-medium.png",
       "icon-large": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/assets/universe/000/elastic-icon-large.png"
       "url": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/elastic/assets/2.2.0-5.6.5/dcos-service-cli.exe",
       "url": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/elastic/assets/2.2.0-5.6.5/dcos-service-cli-linux",
       "url": "http://admin.dcos-sandbox.dub.rd2.<removed>.io/package/resource?url=https://downloads.mesosphere.com/elastic/assets/2.2.0-5.6.5/dcos-service-cli-darwin",
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bilalamarni Bilal Amarni
                Reporter:
                bilalamarni Bilal Amarni
                Team:
                CLI Team
                Watchers:
                Bilal Amarni, Jan-Philip Gehrcke, Kevin Klues (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: