Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed installation of dcos cli #1575

Open
Kotsakis opened this issue May 31, 2021 · 3 comments
Open

Failed installation of dcos cli #1575

Kotsakis opened this issue May 31, 2021 · 3 comments

Comments

@Kotsakis
Copy link

Kotsakis commented May 31, 2021

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"?>'

@janisz
Copy link
Contributor

janisz commented May 31, 2021

@janisz
Copy link
Contributor

janisz commented May 31, 2021

Could you post logs from your browser console? Maybe some extension is interfering with the UI code.

@Kotsakis
Copy link
Author

Hey!

Updating the download url with what you provided, made it work. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants