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

Issue Setting Up tink Playground in K3D #846

Open
planet opened this issue Dec 4, 2023 · 1 comment
Open

Issue Setting Up tink Playground in K3D #846

planet opened this issue Dec 4, 2023 · 1 comment

Comments

@planet
Copy link

planet commented Dec 4, 2023

Following the set up guide for Kubernetes (K3D) here: https://github.com/tinkerbell/playground/blob/main/docs/quickstarts/KUBERNETES.md

I'm getting the following error when running this.

I have set up the LB_IP as well as verify there is vaid for trusted_proxies (10.42.0.0/24). I am behind a HTTP proxy but I'm not sure if that matters. Any ideas what I'm doing wrong here? Thanks in advance!

helm install --debug tink-stack oci://ghcr.io/tinkerbell/charts/stack --version "$STACK_CHART_VERSION" --create-namespace --namespace tink-system --wait --set "smee.trustedProxies={${trusted_proxies}}" --set "hegel.trustedProxies={${trusted_proxies}}" --set "stack.loadBalancerIP=$LB_IP" --set "smee.publicIP=$LB_IP"
install.go:214: [debug] Original chart version: "0.4.2"
DEBU[0000] resolving                                     host=ghcr.io
DEBU[0000] do request                                    host=ghcr.io request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*" request.header.user-agent=Helm/3.13.1 request.method=HEAD url="https://ghcr.io/v2/tinkerbell/charts/stack/manifests/0.4.2"
DEBU[0000] fetch response received                       host=ghcr.io response.header.content-length=73 response.header.content-type=application/json response.header.date="Mon, 04 Dec 2023 22:31:59 GMT" response.header.www-authenticate="Bearer realm=\"https://ghcr.io/token\",service=\"ghcr.io\",scope=\"repository:user/image:pull\"" response.header.x-github-request-id="B90A:9BB0:12A243:197E8F:656E535F" response.status="401 Unauthorized" url="https://ghcr.io/v2/tinkerbell/charts/stack/manifests/0.4.2"
DEBU[0000] Unauthorized                                  header="Bearer realm=\"https://ghcr.io/token\",service=\"ghcr.io\",scope=\"repository:user/image:pull\"" host=ghcr.io
DEBU[0000] do request                                    host=ghcr.io request.header.accept="application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*" request.header.user-agent=Helm/3.13.1 request.method=HEAD url="https://ghcr.io/v2/tinkerbell/charts/stack/manifests/0.4.2"
DEBU[0000] fetch response received                       host=ghcr.io response.header.content-length=354 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.date="Mon, 04 Dec 2023 22:31:59 GMT" response.header.docker-content-digest="sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4" response.header.docker-distribution-api-version=registry/2.0 response.header.etag="\"sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4\"" response.header.x-github-request-id="B90A:9BB0:12A24F:197EA0:656E535F" response.status="200 OK" url="https://ghcr.io/v2/tinkerbell/charts/stack/manifests/0.4.2"
DEBU[0000] resolved                                      desc.digest="sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4" host=ghcr.io
DEBU[0000] do request                                    digest="sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4" request.header.accept="application/vnd.oci.image.manifest.v1+json, */*" request.header.user-agent=Helm/3.13.1 request.method=GET url="https://ghcr.io/v2/tinkerbell/charts/stack/manifests/sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4"
DEBU[0000] fetch response received                       digest="sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4" response.header.content-length=354 response.header.content-type=application/vnd.oci.image.manifest.v1+json response.header.date="Mon, 04 Dec 2023 22:31:59 GMT" response.header.docker-content-digest="sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4" response.header.docker-distribution-api-version=registry/2.0 response.header.etag="\"sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4\"" response.header.x-github-request-id="B90A:9BB0:12A257:197EA7:656E535F" response.status="200 OK" url="https://ghcr.io/v2/tinkerbell/charts/stack/manifests/sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4"
DEBU[0000] do request                                    digest="sha256:b386edd00a8701cb3a553998afff3cad1856252948f82cf73d445e0376265007" request.header.accept="application/vnd.cncf.helm.chart.content.v1.tar+gzip, */*" request.header.user-agent=Helm/3.13.1 request.method=GET url="https://ghcr.io/v2/tinkerbell/charts/stack/blobs/sha256:b386edd00a8701cb3a553998afff3cad1856252948f82cf73d445e0376265007"
DEBU[0000] do request                                    digest="sha256:c4d1bcc06a419e5289f663782c74d5e393515b53d84246099b4b03dfd9dbd2d5" request.header.accept="application/vnd.cncf.helm.config.v1+json, */*" request.header.user-agent=Helm/3.13.1 request.method=GET url="https://ghcr.io/v2/tinkerbell/charts/stack/blobs/sha256:c4d1bcc06a419e5289f663782c74d5e393515b53d84246099b4b03dfd9dbd2d5"
DEBU[0000] fetch response received                       digest="sha256:b386edd00a8701cb3a553998afff3cad1856252948f82cf73d445e0376265007" response.header.accept-ranges=bytes response.header.age=27 response.header.content-disposition= response.header.content-length=19053 response.header.content-type=application/octet-stream response.header.date="Mon, 04 Dec 2023 22:31:59 GMT" response.header.etag="\"0x8DBDA386062C1CA\"" response.header.last-modified="Tue, 31 Oct 2023 17:39:47 GMT" response.header.server="Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0" response.header.strict-transport-security="max-age=31536000" response.header.via="1.1 varnish, 1.1 varnish" response.header.x-cache="MISS, HIT" response.header.x-cache-hits="0, 1" response.header.x-fastly-request-id=dd504938ad707b293645930a01f26d0d4aff90ef response.header.x-ms-blob-type=BlockBlob response.header.x-ms-copy-completion-time="Tue, 31 Oct 2023 17:39:47 GMT" response.header.x-ms-copy-id=89a05cbd-8287-40a4-ac39-28801bbcb9a4 response.header.x-ms-copy-progress=19053/19053 response.header.x-ms-copy-status=success response.header.x-ms-creation-time="Tue, 31 Oct 2023 17:39:47 GMT" response.header.x-ms-lease-state=available response.header.x-ms-lease-status=unlocked response.header.x-ms-request-id=da85c86e-c01e-00f0-5401-27a8cd000000 response.header.x-ms-server-encrypted=true response.header.x-ms-version=2019-12-12 response.header.x-served-by="cache-iad-kcgs7200085-IAD, cache-nyc-kteb1890037-NYC" response.status="200 OK" url="https://ghcr.io/v2/tinkerbell/charts/stack/blobs/sha256:b386edd00a8701cb3a553998afff3cad1856252948f82cf73d445e0376265007"
DEBU[0000] encountered unknown type application/vnd.cncf.helm.chart.content.v1.tar+gzip; children may not be fetched
DEBU[0000] fetch response received                       digest="sha256:c4d1bcc06a419e5289f663782c74d5e393515b53d84246099b4b03dfd9dbd2d5" response.header.accept-ranges=bytes response.header.age=27 response.header.content-disposition= response.header.content-length=415 response.header.content-type=application/octet-stream response.header.date="Mon, 04 Dec 2023 22:31:59 GMT" response.header.etag="\"0x8DBDA3860738E86\"" response.header.last-modified="Tue, 31 Oct 2023 17:39:47 GMT" response.header.server="Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0" response.header.strict-transport-security="max-age=31536000" response.header.via="1.1 varnish, 1.1 varnish" response.header.x-cache="MISS, HIT" response.header.x-cache-hits="0, 1" response.header.x-fastly-request-id=ecd1da4b08c6ea4541063522c16e19c6a5dcc056 response.header.x-ms-blob-type=BlockBlob response.header.x-ms-copy-completion-time="Tue, 31 Oct 2023 17:39:47 GMT" response.header.x-ms-copy-id=6838a49f-9096-4165-90c2-a49e344862ba response.header.x-ms-copy-progress=415/415 response.header.x-ms-copy-status=success response.header.x-ms-creation-time="Tue, 31 Oct 2023 17:39:47 GMT" response.header.x-ms-lease-state=available response.header.x-ms-lease-status=unlocked response.header.x-ms-request-id=a0eff589-501e-0059-5401-271db8000000 response.header.x-ms-server-encrypted=true response.header.x-ms-version=2019-12-12 response.header.x-served-by="cache-iad-kjyo7100133-IAD, cache-nyc-kteb1890037-NYC" response.status="200 OK" url="https://ghcr.io/v2/tinkerbell/charts/stack/blobs/sha256:c4d1bcc06a419e5289f663782c74d5e393515b53d84246099b4b03dfd9dbd2d5"
DEBU[0000] encountered unknown type application/vnd.cncf.helm.config.v1+json; children may not be fetched
Pulled: ghcr.io/tinkerbell/charts/stack:0.4.2
Digest: sha256:141f480037ad7256601e6e4961c4405403d02f8447c8e0a9880c5cc0459fb1b4
install.go:231: [debug] CHART PATH: /root/.cache/helm/repository/stack-0.4.2.tgz

client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD hardware.tinkerbell.org is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD templates.tinkerbell.org is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD workflows.tinkerbell.org is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD workflowdata.tinkerbell.org is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD jobs.bmc.tinkerbell.org is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD machines.bmc.tinkerbell.org is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
install.go:168: [debug] CRD tasks.bmc.tinkerbell.org is already present. Skipping.
client.go:142: [debug] creating 1 resource(s)
client.go:142: [debug] creating 36 resource(s)
wait.go:48: [debug] beginning wait for 36 resources with timeout of 5m0s
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
ready.go:262: [debug] Service does not have load balancer ingress IP address: tink-system/tink-stack
@chrisdoherty4
Copy link
Member

@planet Are all your pods running? Use kubectl get pods -n tink-system to fetch them all.

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

2 participants