-
Notifications
You must be signed in to change notification settings - Fork 115
kapp: Error: Applying create builder/cf-default-builder (kpack.io/v1alpha1) namespace: cf-workloads-staging: #659
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/177859822 The labels on this github issue will be updated when the story is started. |
The cf-default-builder container image is uploaded to your specified registry as part of the deployment. From the error message you've got, I'm guessing that the registry didn't like the request that it got sent due to quoting within the spec.tag... invalid value: “cf4k8s”/cf-default-builder: - I'm guessing here, but it doesn't look right ot me that 'cf4k8s' is quoted, but the bits after the slash is not. Maybe something quoted in the manifest that shoudn't be? |
Thanks, Jimconner. I'm still getting the same issue after removing the quotes to repository_prefix: cf4k8s. 7:45:30PM: ---- waiting on 2 changes [305/308 done] ---- kapp: Error: Timed out waiting after 15m0s one of the observations is, the pod ccdb-migrate-6tkjr is in a completed state but an error with the volume mount. Events: Normal Scheduled 11m default-scheduler Successfully assigned cf-system/ccdb-migrate-6tkjr to k8s-worker-2-cf4k8s03 kubectl get pods -A kubernetes version: v1.18.4 cf buildpacks buildpack position enabled locked filename stack Here I'm using artifactory docker repository as an app registry. Kindly help me. |
Request you to help me on this. kapp: Error: waiting on reconcile builder/cf-default-builder (kpack.io/v1alpha1) namespace: cf-workloads-staging: |
Looks like issue is with connectivity with docker hub. Namespace cf-workloads-staging Namespace (cluster) Now I have changed app_register to docker hub. app_registry: 12:58:02AM: ongoing: reconcile clusterstack/bionic-stack (kpack.io/v1alpha1) cluster kapp: Error: waiting on reconcile builder/cf-default-builder (kpack.io/v1alpha1) namespace: cf-workloads-staging: Appreciate your help. |
message: 'Get "https://index.docker.io/v2/": read tcp 10.244.181.113:54198->52.55.43.248:443: Do you have a firewall or proxy blocking your access to Dockerhub or something like that? cf-for-k8s needs to push the cf-default-builder image up to the registry that you defined, and it would appear that it can't get a connection to Dockerhub. Hope that helps. |
Thanks, Jim for the details. cat registry.yamlapp_registry: [myhome@k8s hack]$ bash validate-registry-access.sh registry.yaml Login Succeeded any other alternative, instead of pushing the cf-default-builder image to the registry. Install only on the K8s environment. |
Hi Naveen. When I was trying out cf-for-k8s a few months ago (haven't touched it for a while), I used harbor as my registry. I did this because my broadband speed is limited and because I don't have a paid-for dockerhub account and therefore was hitting the container pull limits that they introduced back in November. My deployments of cf-for-k8s and harbor were running on top of minikube. Here's the notes I made from when I set harbor up... Maybe there'll be something in here that helps you.
In my cf-values.yml I had the following for app_registry
|
Thanks, Jim. I will try the same. |
@naveenspen14 Were you able to resolve your issue? |
Hi Jim & Birdrock, I couldn't resolve this issue in VMware proxy environment. Except for docker-registry connectivity, others are working fine. Due to this issue, we couldn't be able to push any apps. |
@jimconner
Due to this I am getting error in
|
Hi Team,
We are installing cf-for-k8s on vmware environment. We are getting the below error through kapp.
$ kapp deploy -a cf -f cf4k8s_setup/cf-for-k8s-rendered.yml -y
Target cluster 'https://:6443' (nodes:master-0-cf4k8s01, 4+)
Changes
Namespace Name Kind Conds. Age Op Op st. Wait to Rs Ri
(cluster) bionic-stack ClusterStack 0/1 t 5h - - reconcile ok -
^ cf-buildpack-store ClusterStore 0/1 t 5h - - reconcile ok -
^ defaults.webhook.kpack.io MutatingWebhookConfiguration - 5h update - reconcile ok -
^ istiod-istio-system ValidatingWebhookConfiguration - 5h update - reconcile ok -
^ validation.webhook.kpack.io ValidatingWebhookConfiguration - 5h update - reconcile ok -
cf-workloads-staging cc-kpack-registry-service-account ServiceAccount - 5h update - reconcile ok -
^ cf-default-builder Builder - - create - reconcile - -
kpack webhook-certs Secret - 5h update - reconcile ok -
Op: 1 create, 0 delete, 5 update, 2 noop
Wait to: 8 reconcile, 0 delete, 0 noop
11:40:25PM: ---- applying 1 changes [7/8 done] ----
11:41:26PM: create builder/cf-default-builder (kpack.io/v1alpha1) namespace: cf-workloads-staging
kapp: Error: Applying create builder/cf-default-builder (kpack.io/v1alpha1) namespace: cf-workloads-staging:
Saving record of last applied resource:
Updating resource builder/cf-default-builder (kpack.io/v1alpha1) namespace: cf-workloads-staging: admission webhook "validation.webhook.kpack.io" denied the request: validation failed: invalid value: “cf4k8s”/cf-default-builder: spec.tag (reason: BadRequest)
The interesting part is, cf api <> is a success and but couldn't able to push any apps.
Also, we not seeing any build packs after installation. Do we need to install build packs separately through packeto.
The text was updated successfully, but these errors were encountered: