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

Access First Cluster Lab Guide #636

Open
Mybarry opened this issue Sep 3, 2019 · 5 comments
Open

Access First Cluster Lab Guide #636

Mybarry opened this issue Sep 3, 2019 · 5 comments
Labels
AppliesTo/LabGuide bug/minor You found a simple problem and know the resolution, but materials need to be updated bug/workaround This issue is a known technical bug with a workaround available. not for typos/grammar triage/support apply this label for user support issues

Comments

@Mybarry
Copy link
Contributor

Mybarry commented Sep 3, 2019

Using Branch PKS 1.4 Step 3.3 fails. When I run the command:
kubectl run busybox --rm --image=busybox -it --restart=Never -- sh
I never bet the command prompt. It just hangs and I have to Ctl-C after some time.

Not sure what else to do. Has this particular cli been verified?

@afewellvmware afewellvmware added AppliesTo/LabGuide possible bug/ needs replication This doesn't seem right triage/support apply this label for user support issues labels Sep 3, 2019
@afewellvmware
Copy link
Collaborator

Interesting @Mybarry , I havent gone through that lab guide myself, I find the -rm flag troubling, does it work if you try it without -rm?

@afewellvmware
Copy link
Collaborator

OK I looked at the lab guide and have a more clear picture, I dont see anything obviously wrong with the syntax of the command, not sure why its hanging like that. If you could open a seperate putty session to cli-vm and use it to kubectl describe the pod and maybe look at logs, it may give some better insight. I have to run to an appointment now but will try to replicate this later. Thanks!

@Mybarry
Copy link
Contributor Author

Mybarry commented Sep 3, 2019

Found the issue: the nginx-test pod is never actually deployed! From the log:
ubuntu@cli-vm:$ kubectl get pods
NAME READY STATUS RESTARTS AGE
nginx-test 0/1 ImagePullBackOff 0 3h57m
ubuntu@cli-vm:
$ kubectl logs nginx-test
Error from server (BadRequest): container "nginx-test" in pod "nginx-test" is waiting to start: trying and failing to pull image

Do you know WHERE it is pulling this image from?

@Mybarry
Copy link
Contributor Author

Mybarry commented Sep 3, 2019

Maybe a OneCloud resource/issue? I tried another lab guide and all my pods are stuck in STATUS: ContainerCreating,ImagePullBackOff..................................

@afewellvmware
Copy link
Collaborator

Issue appears to be caused as k8s cluster was not enabled for outbound internet access, it was installed per instructions in LAG-MC1322, will leave issue open until lab guide updated

@afewellvmware afewellvmware added bug/minor You found a simple problem and know the resolution, but materials need to be updated bug/workaround This issue is a known technical bug with a workaround available. not for typos/grammar and removed possible bug/ needs replication This doesn't seem right labels Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AppliesTo/LabGuide bug/minor You found a simple problem and know the resolution, but materials need to be updated bug/workaround This issue is a known technical bug with a workaround available. not for typos/grammar triage/support apply this label for user support issues
Projects
None yet
Development

No branches or pull requests

2 participants