Skip to content

Failed installation of dcos cli #1575

@Kotsakis

Description

@Kotsakis

Logging in to my team's dcos cluster after an upgrade to version noted below, hitting upper right corner menu in gui to install the cli

curl https://downloads.dcos.io/binaries/cli/undefined/x86-64/latest/dcos -o dcos && 
chmod +x ./dcos && 
sudo mv dcos /usr/local/bin && 
dcos cluster setup http://10.xxx.x.xxx && 
dcos

Doing

cat /usr/local/bin/dcos

yields

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>68121YF1WEH58QHT</RequestId><HostId>0R0nGQSjR0jrJ7Ce+fK8NQe18+PN0R9mJb1yujRTBjEeaWJP7KPRGw0OIndkPxknD0Njv46Qe6g=</HostId></Error>

Please answer the following questions before submitting your issue. Thanks!

What version of DC/OS + DC/OS CLI are you using (dcos --version)?

Using Mesosphere DC/OS Version 2.2.1

Trying to install cli so got no

What operating system and version are you using?

Linux 3.10.0-957.10.1.el7.x86_64 x86_64
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

What did you do?

If possible please provide a recipe for reproducing.

What did you expect to see?

I expected to see a successful installation.

What did you see instead?

/usr/local/bin/dcos: line 1: syntax error near unexpected token `newline'
/usr/local/bin/dcos: line 1: `<?xml version="1.0" encoding="UTF-8"?>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions