Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Eirini on K3s #1691

Open
cosmo83 opened this issue Jan 28, 2021 · 1 comment
Open

Eirini on K3s #1691

cosmo83 opened this issue Jan 28, 2021 · 1 comment
Assignees
Labels
Type: Bug Something isn't working

Comments

@cosmo83
Copy link

cosmo83 commented Jan 28, 2021

Describe the bug
Not able to pull the image from BITS Servie

To Reproduce
Install Kubecf with eirini enabled on K3S (or any non-kind kubernetes cluster)

Expected behavior
When i do a cf-push, eirini should be able to pull the image and run the same.

Environment

  • KubeCF - 2.7.12
  • Eirini

I have the eirini enabled in as :
features:
eirini:
enabled: true

The following is the error iam getting

opensuse@kubecf-master:~/imp> kubectl get events -n eirini LAST SEEN TYPE REASON OBJECT MESSAGE 38m Normal BackOff pod/cf-nodejs-infra-828661607d-0 Back-off pulling image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11" 32m Warning Failed pod/cf-nodejs-infra-828661607d-0 Error: ImagePullBackOff 30m Normal Pulling pod/cf-nodejs-infra-828661607d-0 Pulling image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11" 30m Warning Failed pod/cf-nodejs-infra-828661607d-0 Failed to pull image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11": rpc error: code = Unknown desc = failed to pull and unpack image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11": failed to resolve reference "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11": failed to do request: Head "http://127.0.0.1:31666/v2/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84/manifests/6667c518fcc65682bcdc720461d4276514b27c11": dial tcp 127.0.0.1:31666: connect: no route to host 30m Warning Failed pod/cf-nodejs-infra-828661607d-0 Error: ErrImagePull 30m Warning Failed pod/cf-nodejs-infra-828661607d-0 Error: ImagePullBackOff 27m Normal BackOff pod/cf-nodejs-infra-828661607d-0 Back-off pulling image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11" 21m Normal Pulling pod/cf-nodejs-infra-828661607d-0 Pulling image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11" 20m Warning Failed pod/cf-nodejs-infra-828661607d-0 Failed to pull image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11": rpc error: code = Unknown desc = failed to pull and unpack image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11": failed to resolve reference "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11": failed to do request: Head "http://127.0.0.1:31666/v2/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84/manifests/6667c518fcc65682bcdc720461d4276514b27c11": dial tcp 127.0.0.1:31666: connect: no route to host 20m Warning Failed pod/cf-nodejs-infra-828661607d-0 Error: ErrImagePull 17m Warning Failed pod/cf-nodejs-infra-828661607d-0 Error: ImagePullBackOff 2m28s Normal BackOff pod/cf-nodejs-infra-828661607d-0 Back-off pulling image "127.0.0.1:31666/cloudfoundry/a29481f1-46b8-4c6a-a836-bb9308a2ed84:6667c518fcc65682bcdc720461d4276514b27c11"

opensuse@kubecf-master:~/imp> kubectl get pods -A | grep bits kubecf bits-5df96ff556-d86hf 1/1 Running 0 10h

@cosmo83 cosmo83 added the Type: Bug Something isn't working label Jan 28, 2021
@cosmo83
Copy link
Author

cosmo83 commented Jan 29, 2021

Can anyone help me .. I have reimplementedm evverything again. Even added the cert into system , but still getting the following error whn iam doing a cf push. Am i missing something ?

28s Warning Failed pod/cf-nodejs-infra-077fe681a3-0 Failed to pull image "127.0.0.1:31666/cloudfoundry/fa11eddc-4343-4b92-b3d7-5cb51d1736de:9551daf4d47dd0beff98dfe0ae153a390203d5d1": rpc error: code = Unknown desc = failed to pull and unpack image "127.0.0.1:31666/cloudfoundry/fa11eddc-4343-4b92-b3d7-5cb51d1736de:9551daf4d47dd0beff98dfe0ae153a390203d5d1": failed to resolve reference "127.0.0.1:31666/cloudfoundry/fa11eddc-4343-4b92-b3d7-5cb51d1736de:9551daf4d47dd0beff98dfe0ae153a390203d5d1": unexpected status code [manifests 9551daf4d47dd0beff98dfe0ae153a390203d5d1]: 400 Bad Request
28s Warning Failed pod/cf-nodejs-infra-077fe681a3-0 Error: ErrImagePull
3s Warning Failed pod/cf-nodejs-infra-077fe681a3-0 Error: ImagePullBackOff
3s Normal BackOff pod/cf-nodejs-infra-077fe681a3-0 Back-off pulling image "127.0.0.1:31666/cloudfoundry/fa11eddc-4343-4b92-b3d7-5cb51d1736de:9551daf4d47dd0beff98dfe0ae153a390203d5d1"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants