lburgazzoli opened a new issue #764: Cannot set blockOwnerDeletion in this case 
because cannot find RESTMapping for APIVersion camel.apache.org/v1alpha1 Kind 
IntegrationKit
URL: https://github.com/apache/camel-k/issues/764
 
 
   When running an integration juts after camel-k installation on minishift, 
the following error if reported a few time, then the normal process starts and 
the error is not reported anymore:
   
   ```
   {"level":"info","ts":1561204279.99775,"logger":"camel-k.trait","msg":"Apply 
trait: camel"}
   
{"level":"info","ts":1561204280.0009656,"logger":"camel-k.trait","msg":"Apply 
trait: builder"}
   
{"level":"info","ts":1561204280.0009966,"logger":"camel-k.trait","msg":"Apply 
trait: deployer"}
   
{"level":"error","ts":1561204280.004709,"logger":"kubebuilder.controller","msg":"Reconciler
 
error","controller":"integrationkit-controller","request":"myproject/kit-bk71cbu3rvq309f4o150","error":"cannot
 create build: builds.camel.apache.org \"kit-bk71cbu3rvq309f4o150\" is 
forbidden: cannot set blockOwnerDeletion in this case because cannot find 
RESTMapping for APIVersion camel.apache.org/v1alpha1 Kind IntegrationKit: no 
matches for kind \"IntegrationKit\" in version 
\"camel.apache.org/v1alpha1\"","errorVerbose":"builds.camel.apache.org 
\"kit-bk71cbu3rvq309f4o150\" is forbidden: cannot set blockOwnerDeletion in 
this case because cannot find RESTMapping for APIVersion 
camel.apache.org/v1alpha1 Kind IntegrationKit: no matches for kind 
\"IntegrationKit\" in version \"camel.apache.org/v1alpha1\"\ncannot create 
build\ngithub.com/apache/camel-k/pkg/controller/integrationkit.(*buildAction).handleBuildSubmitted\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/pkg/controller/integrationkit/build.go:119\ngithub.com/apache/camel-k/pkg/controller/integrationkit.(*buildAction).Handle\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/pkg/controller/integrationkit/build.go:58\ngithub.com/apache/camel-k/pkg/controller/integrationkit.(*ReconcileIntegrationKit).Reconcile\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/pkg/controller/integrationkit/integrationkit_controller.go:154\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88\nruntime.goexit\n\t/opt/data/sfw/lang/go/1.12.5/src/runtime/asm_amd64.s:1337","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/github.com/go-logr/zapr/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/lburgazz/work/apache/dev/camel-k-go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
   
{"level":"info","ts":1561204281.2852147,"logger":"camel-k.controller.integrationkit","msg":"Reconciling
 
IntegrationKit","request-namespace":"myproject","request-name":"kit-bk71cbu3rvq309f4o150"}
   
{"level":"info","ts":1561204281.2852836,"logger":"camel-k.controller.integrationkit","msg":"Invoking
 action 
build-submitted","request-namespace":"myproject","request-name":"kit-bk71cbu3rvq309f4o150","api-version":"camel.apache.org/v1alpha1","kind":"IntegrationKit","ns":"myproject","name":"kit-bk71cbu3rvq309f4o150"}
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to