I'm using kind kubernetes cluster. Flux was working fine initially. I kept my system in sleep mode and when i logged in back i'm getting error.
when i try to sync using below command:
fluxctl --k8s-fwd-ns=flux sync
getting following error:
Error: can not connect to git repository with URL ssh://[email protected]/chakreshkolluru/flux-get-started
Full error message: git clone --mirror: fatal: Could not read from remote repository., full output:
Cloning into bare repository '/tmp/flux-gitclone248425324'...
ssh: Could not resolve hostname github.com: Try again
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Run 'fluxctl sync --help' for usage.
Below are the logs of flux pod:
10.96.0.10:53 is the IP of my kube-dns service for your information.
ts=2020-07-21T06:40:18.208727093Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/stefanprodan/podinfo auth={map[]} err="requesting tags: Get https://index.docker.io/v2/stefanprodan/podinfo/tags/list: Get https://auth.docker.io/token?scope=repository%3Astefanprodan%2Fpodinfo%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:22.244654943Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/fluxcd/flux auth={map[]} err="requesting tags: Get https://index.docker.io/v2/fluxcd/flux/tags/list: Get https://auth.docker.io/token?scope=repository%3Afluxcd%2Fflux%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:26.274664868Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/memcached auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/memcached/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fmemcached%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:30.299816275Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/chakreshkolluru/web-jsp auth={map[]} err="requesting tags: Get https://index.docker.io/v2/chakreshkolluru/web-jsp/tags/list: Get https://auth.docker.io/token?scope=repository%3Achakreshkolluru%2Fweb-jsp%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:34.320444036Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/kindest/kindnetd auth={map[]} err="requesting tags: Get https://index.docker.io/v2/kindest/kindnetd/tags/list: Get https://auth.docker.io/token?scope=repository%3Akindest%2Fkindnetd%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:38.346409179Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/alpine auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/alpine/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:42.368066992Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/nginx auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/nginx/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:46.554991301Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/bitnami/mongodb auth={map[]} err="requesting tags: Get https://index.docker.io/v2/bitnami/mongodb/tags/list: Get https://auth.docker.io/token?scope=repository%3Abitnami%2Fmongodb%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
Can anyone help me in resolving this issue. I tried it two times by deleting and creating new kubernetes cluster using kind and getting same error.
I'm using kind kubernetes cluster. Flux was working fine initially. I kept my system in sleep mode and when i logged in back i'm getting error.
when i try to sync using below command:
fluxctl --k8s-fwd-ns=flux sync
getting following error:
Error: can not connect to git repository with URL ssh://[email protected]/chakreshkolluru/flux-get-started
Full error message: git clone --mirror: fatal: Could not read from remote repository., full output:
Cloning into bare repository '/tmp/flux-gitclone248425324'...
ssh: Could not resolve hostname github.com: Try again
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Run 'fluxctl sync --help' for usage.
Below are the logs of flux pod:
10.96.0.10:53 is the IP of my kube-dns service for your information.
ts=2020-07-21T06:40:18.208727093Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/stefanprodan/podinfo auth={map[]} err="requesting tags: Get https://index.docker.io/v2/stefanprodan/podinfo/tags/list: Get https://auth.docker.io/token?scope=repository%3Astefanprodan%2Fpodinfo%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:22.244654943Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/fluxcd/flux auth={map[]} err="requesting tags: Get https://index.docker.io/v2/fluxcd/flux/tags/list: Get https://auth.docker.io/token?scope=repository%3Afluxcd%2Fflux%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:26.274664868Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/memcached auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/memcached/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fmemcached%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:30.299816275Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/chakreshkolluru/web-jsp auth={map[]} err="requesting tags: Get https://index.docker.io/v2/chakreshkolluru/web-jsp/tags/list: Get https://auth.docker.io/token?scope=repository%3Achakreshkolluru%2Fweb-jsp%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:34.320444036Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/kindest/kindnetd auth={map[]} err="requesting tags: Get https://index.docker.io/v2/kindest/kindnetd/tags/list: Get https://auth.docker.io/token?scope=repository%3Akindest%2Fkindnetd%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:38.346409179Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/alpine auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/alpine/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:42.368066992Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/library/nginx auth={map[]} err="requesting tags: Get https://index.docker.io/v2/library/nginx/tags/list: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Fnginx%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
ts=2020-07-21T06:40:46.554991301Z caller=warming.go:180 component=warmer canonical_name=index.docker.io/bitnami/mongodb auth={map[]} err="requesting tags: Get https://index.docker.io/v2/bitnami/mongodb/tags/list: Get https://auth.docker.io/token?scope=repository%3Abitnami%2Fmongodb%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 10.96.0.10:53: server misbehaving"
Can anyone help me in resolving this issue. I tried it two times by deleting and creating new kubernetes cluster using kind and getting same error.