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

chectl fails to find install download link for Apple silicon - Darwin ARM64 #22058

Closed
cgruver opened this issue Mar 14, 2023 · 6 comments
Closed
Labels
area/chectl Issues related to chectl, the CLI of Che area/ci/multi-arch Issues and PRs related to the release of images targeting architectures other than amd64 kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@cgruver
Copy link

cgruver commented Mar 14, 2023

Describe the bug

The chectl install fails to find a download link:

bash <(curl -sL  https://www.eclipse.org/che/chectl/)

Throws the following error:

ERROR: No download link found at https://che-incubator.github.io/chectl/download-link/stable-darwin-arm

Che version

7.61@latest

Steps to reproduce

bash <(curl -sL  https://www.eclipse.org/che/chectl/)
chectl script requires superuser access.
You will be prompted for your password by sudo.
Password:
curl: (22) The requested URL returned error: 404
ERROR: No download link found at https://che-incubator.github.io/chectl/download-link/stable-darwin-arm

Expected behavior

chectl install is successful

Runtime

other (please specify in additional context)

Screenshots

No response

Installation method

chectl/latest

Environment

macOS

Eclipse Che Logs

No response

Additional context

The chectl CLI can be installed by manually downloading and unpacking the tarball from the chectl releases links.

@cgruver cgruver added the kind/bug Outline of a bug - must adhere to the bug report template. label Mar 14, 2023
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Mar 14, 2023
@AObuchow AObuchow added the area/chectl Issues related to chectl, the CLI of Che label Mar 15, 2023
@AObuchow
Copy link

@cgruver Thank you very much for reporting this.

Seems to be a similar error to #21783, though I'm not sure why this issue is occurring this time around.

CC: @tolusha

@AObuchow AObuchow added area/ci/multi-arch Issues and PRs related to the release of images targeting architectures other than amd64 and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Mar 15, 2023
@tolusha
Copy link
Contributor

tolusha commented Mar 15, 2023

I see.
We have chectl binaries for arm64 platform [1], but we have an issue with building the correct download url.
Let me fix it. As a workaround you can download binaries manually.

[1] https://github.com/che-incubator/chectl/releases/tag/7.62.0

@tolusha
Copy link
Contributor

tolusha commented Mar 15, 2023

@cgruver
Could you try to install from next channel?
bash <(curl -sL https://www.eclipse.org/che/chectl/) --channel=next

@cgruver
Copy link
Author

cgruver commented Mar 15, 2023

@tolusha Next channel works.

bash <(curl -sL  https://www.eclipse.org/che/chectl/) --channel=next
chectl script requires superuser access.
You will be prompted for your password by sudo.
Password:
Downloading https://github.com/che-incubator/chectl/releases/download/20230314070752/chectl-darwin-arm64.tar.gz...
######################################################################### 100.0%
SUCCESS: chectl installed to /usr/local/bin/chectl
SUCCESS: installation log written in /Users/charrogruver/chectl-install.log
chectl/0.0.20230314-next.f7d1fd4 darwin-arm64 node-v16.13.2

@cgruver
Copy link
Author

cgruver commented Mar 15, 2023

@tolusha After installing from Next channel, it was also able to update back to stable.

chectl update stable
chectl: Updating CLI from 0.0.20230314-next.f7d1fd4 to 7.62.0... done
chectl: Updating CLI... done

@cgruver
Copy link
Author

cgruver commented Mar 15, 2023

Actually, it looks like the issue is resolved with the release of chectl 7.62.0

@cgruver cgruver closed this as completed Mar 15, 2023
@tolusha tolusha mentioned this issue Mar 17, 2023
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che area/ci/multi-arch Issues and PRs related to the release of images targeting architectures other than amd64 kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

4 participants