You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/08/13 06:56:02 UTC

[GitHub] [camel-k] anandkane opened a new issue #1663: IntegrationKit stuck in 'Build Submitted' phase due to validation error 'type in spec.tasks.image.volumes.secret is required'

anandkane opened a new issue #1663:
URL: https://github.com/apache/camel-k/issues/1663


   Hello
   
   I followed the instruction to install Camel K on GKE given at https://camel.apache.org/camel-k/latest/installation/gke.html and https://camel.apache.org/camel-k/latest/installation/registry/gcr.html. After that I tried to run hello.groovy, but faced the problem outlined in https://github.com/apache/camel-k/issues/1370. I was able to get past the problem by setting flag --build-publish-strategy=Kaniko.
   
   However, the IntegrationKit is still stuck in 'Build Submitted' phase and the cause this time is 
   validation failure list:
   type in spec.tasks.image.volumes.secret is required
   
   Full output of 'k describe integrationkits.camel.apache.org kit-bsqdepf9gf15pade1u5g' can be found in the attached file.
   
   Any help in fixing this problem will be highly appreciated.
   
   Thanks
   
   [describe-kit.txt](https://github.com/apache/camel-k/files/5067547/describe-kit.txt)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] senthilkrajagopal removed a comment on issue #1663: IntegrationKit stuck in 'Build Submitted' phase due to validation error 'type in spec.tasks.image.volumes.secret is required' on GKE

Posted by GitBox <gi...@apache.org>.
senthilkrajagopal removed a comment on issue #1663:
URL: https://github.com/apache/camel-k/issues/1663#issuecomment-683440123


   
   --build-publish-strategy Spectrum worked for me. Looking at the code, it appears like kaniko was removed after 1.0.0-RC1.
   
   Use spectrum along with .dockerconfigjson. Follow the steps here.. https://medium.com/hackernoon/today-i-learned-pull-docker-image-from-gcr-google-container-registry-in-any-non-gcp-kubernetes-5f8298f28969
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] anandkane commented on issue #1663: IntegrationKit stuck in 'Build Submitted' phase due to validation error 'type in spec.tasks.image.volumes.secret is required' on GKE

Posted by GitBox <gi...@apache.org>.
anandkane commented on issue #1663:
URL: https://github.com/apache/camel-k/issues/1663#issuecomment-673411945


   Updates:
   
   The same example runs successfully on Minikube.
   
   Kubernetes versions on Minikube
   {
     "clientVersion": {
       "major": "1",
       "minor": "18",
       "gitVersion": "v1.18.6",
       "gitCommit": "dff82dc0de47299ab66c83c626e08b245ab19037",
       "gitTreeState": "clean",
       "buildDate": "2020-07-15T16:58:53Z",
       "goVersion": "go1.13.9",
       "compiler": "gc",
       "platform": "linux/amd64"
     },
     **"serverVersion"**: {
       "major": "1",
       **"minor": "18",**
       "gitVersion": "v1.18.3",
       "gitCommit": "2e7996e3e2712684bc73f0dec0200d64eec7fe40",
       "gitTreeState": "clean",
       "buildDate": "2020-05-20T12:43:34Z",
       "goVersion": "go1.13.9",
       "compiler": "gc",
       "platform": "linux/amd64"
     }
   }
   
   Kubernetes versions on GKE
   
   {
     "clientVersion": {
       "major": "1",
       "minor": "18",
       "gitVersion": "v1.18.6",
       "gitCommit": "dff82dc0de47299ab66c83c626e08b245ab19037",
       "gitTreeState": "clean",
       "buildDate": "2020-07-15T16:58:53Z",
       "goVersion": "go1.13.9",
       "compiler": "gc",
       "platform": "linux/amd64"
     },
     **"serverVersion":** {
       "major": "1",
       **"minor": "15+",**
       "gitVersion": "v1.15.12-gke.2",
       "gitCommit": "fb7add51f767aae42655d39972210dc1c5dbd4b3",
       "gitTreeState": "clean",
       "buildDate": "2020-06-01T22:20:10Z",
       "goVersion": "go1.12.17b4",
       "compiler": "gc",
       "platform": "linux/amd64"
     }
   }


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] github-actions[bot] closed issue #1663: IntegrationKit stuck in 'Build Submitted' phase due to validation error 'type in spec.tasks.image.volumes.secret is required' on GKE

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1663:
URL: https://github.com/apache/camel-k/issues/1663


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] senthilkrajagopal commented on issue #1663: IntegrationKit stuck in 'Build Submitted' phase due to validation error 'type in spec.tasks.image.volumes.secret is required' on GKE

Posted by GitBox <gi...@apache.org>.
senthilkrajagopal commented on issue #1663:
URL: https://github.com/apache/camel-k/issues/1663#issuecomment-683440123


   
   --build-publish-strategy Spectrum worked for me. Looking at the code, it appears like kaniko was removed after 1.0.0-RC1.
   
   Use spectrum along with .dockerconfigjson. Follow the steps here.. https://medium.com/hackernoon/today-i-learned-pull-docker-image-from-gcr-google-container-registry-in-any-non-gcp-kubernetes-5f8298f28969
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] anandkane commented on issue #1663: IntegrationKit stuck in 'Build Submitted' phase due to validation error 'type in spec.tasks.image.volumes.secret is required' on GKE

Posted by GitBox <gi...@apache.org>.
anandkane commented on issue #1663:
URL: https://github.com/apache/camel-k/issues/1663#issuecomment-673414135


   Uopdate 2: When GKE is updated to use the 'latest' kubernetes version, the error changes to "camel-k-integration-kit-controller  Cannot reconcile Integration Kit kit-bsqgln23se6vbbiof2d0: cannot create build: Build.camel.apache.org "kit-bsqgln23se6vbbiof2d0" is invalid: type: Required value"
   
   kubernetes version after update:
   
     "clientVersion": {
       "major": "1",
       "minor": "18",
       "gitVersion": "v1.18.6",
       "gitCommit": "dff82dc0de47299ab66c83c626e08b245ab19037",
       "gitTreeState": "clean",
       "buildDate": "2020-07-15T16:58:53Z",
       "goVersion": "go1.13.9",
       "compiler": "gc",
       "platform": "linux/amd64"
     },
     **"serverVersion"**: {
       "major": "1",
       **"minor": "16+",**
       "gitVersion": "v1.16.13-gke.1",
       "gitCommit": "688c6543aa4b285355723f100302d80431e411cc",
       "gitTreeState": "clean",
       "buildDate": "2020-07-21T02:37:26Z",
       "goVersion": "go1.13.9b4",
       "compiler": "gc",
       "platform": "linux/amd64"
     }
   }
   
   [describe-kit-latest-k8s.txt](https://github.com/apache/camel-k/files/5068633/describe-kit-latest-k8s.txt)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] github-actions[bot] commented on issue #1663: IntegrationKit stuck in 'Build Submitted' phase due to validation error 'type in spec.tasks.image.volumes.secret is required' on GKE

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1663:
URL: https://github.com/apache/camel-k/issues/1663#issuecomment-994157954


   This issue has been automatically marked as stale due to 90 days of inactivity. 
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply write any comment.
   Thanks for your contributions!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org