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

Executing command "oc exec -it my-cluster-kafka-0 -- bash" fails #1300

Open
ghost opened this issue Sep 8, 2021 · 2 comments
Open

Executing command "oc exec -it my-cluster-kafka-0 -- bash" fails #1300

ghost opened this issue Sep 8, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 8, 2021

In which scenario did this bug occur?
Apache Kafka Basics -

Name the katacoda you were using

At what step of the scenario did this happen?
Step 3 of 4. Accessing the running Kafka broker pod

...
Support for remote container command execution is built into the oc CLI. Bash is one of the commands we can execute. To get an interactive terminal issue the following command:

oc exec -it my-cluster-kafka-0 -- bash (THIS STEP)

You are now running a terminal into the Kafka broker container. Here you can execute the scripts available in the /bin directory.

Executing command "oc exec -it my-cluster-kafka-0 -- bash" fails with "error: unable to upgrade connection: Unauthorized"

Logs or error messages

error: unable to upgrade connection: Unauthorized
Paste in any error message you got

Screenshots

If applicable, add screenshots to help explain your problem

Additional context

Add any other context about the problem

@karstengresch
Copy link

Confirming this issue as of today, 2021-10-04.

@karstengresch
Copy link

TWIMC: This might help: https://access.redhat.com/solutions/5734741

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

1 participant