{"action":"created","issue":{"url":"https://api.github.com/repos/syndesisio/syndesis/issues/4717","repository_url":"https://api.github.com/repos/syndesisio/syndesis","labels_url":"https://api.github.com/repos/syndesisio/syndesis/issues/4717/labels{/name}","comments_url":"https://api.github.com/repos/syndesisio/syndesis/issues/4717/comments","events_url":"https://api.github.com/repos/syndesisio/syndesis/issues/4717/events","html_url":"https://github.com/syndesisio/syndesis/issues/4717","id":416184670,"node_id":"MDU6SXNzdWU0MTYxODQ2NzA=","number":4717,"title":"Problem with privileges during installation","user":{"login":"mkralik3","id":16251792,"node_id":"MDQ6VXNlcjE2MjUxNzky","avatar_url":"https://avatars2.githubusercontent.com/u/16251792?v=4","gravatar_id":"","url":"https://api.github.com/users/mkralik3","html_url":"https://github.com/mkralik3","followers_url":"https://api.github.com/users/mkralik3/followers","following_url":"https://api.github.com/users/mkralik3/following{/other_user}","gists_url":"https://api.github.com/users/mkralik3/gists{/gist_id}","starred_url":"https://api.github.com/users/mkralik3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkralik3/subscriptions","organizations_url":"https://api.github.com/users/mkralik3/orgs","repos_url":"https://api.github.com/users/mkralik3/repos","events_url":"https://api.github.com/users/mkralik3/events{/privacy}","received_events_url":"https://api.github.com/users/mkralik3/received_events","type":"User","site_admin":false},"labels":[{"id":751428603,"node_id":"MDU6TGFiZWw3NTE0Mjg2MDM=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/cat/bug","name":"cat/bug","color":"C45C5C","default":false},{"id":751428831,"node_id":"MDU6TGFiZWw3NTE0Mjg4MzE=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/prio/p0","name":"prio/p0","color":"FF5254","default":false},{"id":995262067,"node_id":"MDU6TGFiZWw5OTUyNjIwNjc=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/source/qe","name":"source/qe","color":"ECC81F","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/syndesisio/syndesis/milestones/28","html_url":"https://github.com/syndesisio/syndesis/milestone/28","labels_url":"https://api.github.com/repos/syndesisio/syndesis/milestones/28/labels","id":3955553,"node_id":"MDk6TWlsZXN0b25lMzk1NTU1Mw==","number":28,"title":"Sprint 42 (3/4)","description":"","creator":{"login":"heiko-braun","id":369380,"node_id":"MDQ6VXNlcjM2OTM4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/369380?v=4","gravatar_id":"","url":"https://api.github.com/users/heiko-braun","html_url":"https://github.com/heiko-braun","followers_url":"https://api.github.com/users/heiko-braun/followers","following_url":"https://api.github.com/users/heiko-braun/following{/other_user}","gists_url":"https://api.github.com/users/heiko-braun/gists{/gist_id}","starred_url":"https://api.github.com/users/heiko-braun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiko-braun/subscriptions","organizations_url":"https://api.github.com/users/heiko-braun/orgs","repos_url":"https://api.github.com/users/heiko-braun/repos","events_url":"https://api.github.com/users/heiko-braun/events{/privacy}","received_events_url":"https://api.github.com/users/heiko-braun/received_events","type":"User","site_admin":false},"open_issues":75,"closed_issues":57,"state":"open","created_at":"2019-01-09T13:16:34Z","updated_at":"2019-03-04T10:15:40Z","due_on":"2019-03-08T08:00:00Z","closed_at":null},"comments":25,"created_at":"2019-03-01T16:38:21Z","updated_at":"2019-03-04T10:49:16Z","closed_at":null,"author_association":"NONE","body":"## This is a...\r\n\r\n<pre><code>\r\n[ ] Feature request\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Documentation issue or request\r\n</code></pre>\r\n\r\n## Description\r\nI have a clean instance of minishift (full-reset)\r\n```\r\nsyndesis minishift --full-reset --install --project syndesis --openshift-version 3.11.0\r\n```\r\nInstallation of Syndesis takes so long (20 minutes for me).\r\nDuring the installation, the pods are been created, terminated and again created. it is repeated several times.\r\nThis error is repeated in the operator log:\r\n```\r\n{\"level\":\"error\",\"ts\":1551456915.553912,\"logger\":\"kubebuilder.controller\",\"msg\":\"Reconciler error\",\"controller\":\"syndesis-controller\",\"request\":\"syndesis/app\",\"error\":\"roles.rbac.authorization.k8s.io \\\"camel-k\\\" is forbidden: attempt to grant extra privileges: [{[*] [camel.apache.org] [*] [] []}] user=&{system:serviceaccount:syndesis:syndesis-operator 8f4e4614-3c3c-11e9-8e73-5254003010a8 [system:serviceaccounts system:serviceaccounts:syndesis system:authenticated] map[]} ownerrules=[{[get] [ user.openshift.io] [users] [~] []} {[list] [ project.openshift.io] [projectrequests] [] []} {[get list] [ authorization.openshift.io] [clusterroles] [] []} {[get list watch] [rbac.authorization.k8s.io] [clusterroles] [] []} {[get list] [storage.k8s.io] [storageclasses] [] []} {[list watch] [ project.openshift.io] [projects] [] []} {[create] [ authorization.openshift.io] [selfsubjectrulesreviews] [] []} {[create] [authorization.k8s.io] [selfsubjectaccessreviews] [] []} {[get] [] [] [] [/healthz /healthz/*]} {[get] [] [] [] [/version /version/* /api /api/* /apis /apis/* /oapi /oapi/* /openapi/v2 /swaggerapi /swaggerapi/* /swagger.json /swagger-2.0.0.pb-v1 /osapi /osapi/ /.well-known /.well-known/* /]} {[create] [ authorization.openshift.io] [selfsubjectrulesreviews] [] []} {[create] [authorization.k8s.io] [selfsubjectaccessreviews] [] []} {[create] [authorization.k8s.io] [selfsubjectaccessreviews selfsubjectrulesreviews] [] []} {[create] [ build.openshift.io] [builds/docker builds/optimizeddocker] [] []} {[create] [ build.openshift.io] [builds/jenkinspipeline] [] []} {[create] [ build.openshift.io] [builds/source] [] []} {[get] [] [] [] [/api /api/* /apis /apis/* /healthz /openapi /openapi/* /swagger-2.0.0.pb-v1 /swagger.json /swaggerapi /swaggerapi/* /version /version/]} {[delete] [ oauth.openshift.io] [oauthaccesstokens oauthauthorizetokens] [] []} {[get] [] [] [] [/version /version/* /api /api/* /apis /apis/* /oapi /oapi/* /openapi/v2 /swaggerapi /swaggerapi/* /swagger.json /swagger-2.0.0.pb-v1 /osapi /osapi/ /.well-known /.well-known/* /]} {[impersonate] [authentication.k8s.io] [userextras/scopes.authorization.openshift.io] [] []} {[create get] [ build.openshift.io] [buildconfigs/webhooks] [] []} {[create delete deletecollection get list patch update watch] [] [pods pods/attach pods/exec pods/portforward pods/proxy] [] []} {[create delete deletecollection get list patch update watch] [] [configmaps endpoints persistentvolumeclaims replicationcontrollers replicationcontrollers/scale secrets serviceaccounts services services/proxy] [] []} {[get list watch] [] [bindings events limitranges namespaces/status pods/log pods/status replicationcontrollers/status resourcequotas resourcequotas/status] [] []} {[get list watch] [] [namespaces] [] []} {[impersonate] [] [serviceaccounts] [] []} {[create delete deletecollection get list patch update watch] [apps] [daemonsets deployments deployments/rollback deployments/scale replicasets replicasets/scale statefulsets statefulsets/scale] [] []} {[create delete deletecollection get list patch update watch] [autoscaling] [horizontalpodautoscalers] [] []} {[create delete deletecollection get list patch update watch] [batch] [cronjobs jobs] [] []} {[create delete deletecollection get list patch update watch] [extensions] [daemonsets deployments deployments/rollback deployments/scale ingresses networkpolicies replicasets replicasets/scale replicationcontrollers/scale] [] []} {[create delete deletecollection get list patch update watch] [policy] [poddisruptionbudgets] [] []} {[create delete deletecollection get list patch update watch] [networking.k8s.io] [networkpolicies] [] []} {[create delete deletecollection get list patch update watch] [ build.openshift.io] [buildconfigs buildconfigs/webhooks builds] [] []} {[get list watch] [ build.openshift.io] [builds/log] [] []} {[create] [ build.openshift.io] [buildconfigs/instantiate buildconfigs/instantiatebinary builds/clone] [] []} {[update] [ build.openshift.io] [builds/details] [] []} {[edit view] [build.openshift.io] [jenkins] [] []} {[create delete deletecollection get list patch update watch] [ apps.openshift.io] [deploymentconfigs deploymentconfigs/scale] [] []} {[create] [ apps.openshift.io] [deploymentconfigrollbacks deploymentconfigs/instantiate deploymentconfigs/rollback] [] []} {[get list watch] [ apps.openshift.io] [deploymentconfigs/log deploymentconfigs/status] [] []} {[create delete deletecollection get list patch update watch] [ image.openshift.io] [imagestreamimages imagestreammappings imagestreams imagestreams/secrets imagestreamtags] [] []} {[get list watch] [ image.openshift.io] [imagestreams/status] [] []} {[get update] [ image.openshift.io] [imagestreams/layers] [] []} {[create] [ image.openshift.io] [imagestreamimports] [] []} {[get] [ project.openshift.io] [projects] [] []} {[get list watch] [ quota.openshift.io] [appliedclusterresourcequotas] [] []} {[create delete deletecollection get list patch update watch] [ route.openshift.io] [routes] [] []} {[create] [ route.openshift.io] [routes/custom-host] [] []} {[get list watch] [ route.openshift.io] [routes/status] [] []} {[create delete deletecollection get list patch update watch] [ template.openshift.io] [processedtemplates templateconfigs templateinstances templates] [] []} {[create delete deletecollection get list patch update watch] [extensions networking.k8s.io] [networkpolicies] [] []} {[create delete deletecollection get list patch update watch] [ build.openshift.io] [buildlogs] [] []} {[get list watch] [] [resourcequotausages] [] []} {[get list create update delete deletecollection watch] [syndesis.io] [* */finalizers] [] []} {[get list create update delete deletecollection watch] [] [pods services endpoints persistentvolumeclaims configmaps secrets serviceaccounts] [] []} {[get list] [] [events] [] []} {[get list create update delete deletecollection watch] [rbac.authorization.k8s.io] [roles rolebindings] [] []} {[get list create update delete deletecollection watch] [template.openshift.io] [processedtemplates] [] []} {[get list create update delete deletecollection watch] [image.openshift.io] [imagestreams] [] []} {[get list create update delete deletecollection watch] [apps.openshift.io] [deploymentconfigs] [] []} {[get list create update delete deletecollection watch] [build.openshift.io] [buildconfigs] [] []} {[get list create update delete deletecollection watch] [authorization.openshift.io] [rolebindings] [] []} {[get list create update delete deletecollection watch] [route.openshift.io] [routes routes/custom-host] [] []} {[get list create update delete deletecollection watch] [camel.apache.org] [*] [] []} {[get list create update delete deletecollection watch] [monitoring.coreos.com] [alertmanagers prometheuses servicemonitors prometheusrules] [] []} {[get list create update delete deletecollection watch] [integreatly.org] [grafanadashboards] [] []} {[get list watch] [] [configmaps endpoints persistentvolumeclaims pods replicationcontrollers replicationcontrollers/scale serviceaccounts services] [] []} {[get list watch] [] [bindings events limitranges namespaces/status pods/log pods/status replicationcontrollers/status resourcequotas resourcequotas/status] [] []} {[get list watch] [] [namespaces] [] []} {[get list watch] [apps] [daemonsets deployments deployments/scale replicasets replicasets/scale statefulsets statefulsets/scale] [] []} {[get list watch] [autoscaling] [horizontalpodautoscalers] [] []} {[get list watch] [batch] [cronjobs jobs] [] []} {[get list watch] [extensions] [daemonsets deployments deployments/scale ingresses networkpolicies replicasets replicasets/scale replicationcontrollers/scale] [] []} {[get list watch] [policy] [poddisruptionbudgets] [] []} {[get list watch] [networking.k8s.io] [networkpolicies] [] []} {[get list watch] [ build.openshift.io] [buildconfigs buildconfigs/webhooks builds] [] []} {[get list watch] [ build.openshift.io] [builds/log] [] []} {[view] [build.openshift.io] [jenkins] [] []} {[get list watch] [ apps.openshift.io] [deploymentconfigs deploymentconfigs/scale] [] []} {[get list watch] [ apps.openshift.io] [deploymentconfigs/log deploymentconfigs/status] [] []} {[get list watch] [ image.openshift.io] [imagestreamimages imagestreammappings imagestreams imagestreamtags] [] []} {[get list watch] [ image.openshift.io] [imagestreams/status] [] []} {[get] [ project.openshift.io] [projects] [] []} {[get list watch] [ quota.openshift.io] [appliedclusterresourcequotas] [] []} {[get list watch] [ route.openshift.io] [routes] [] []} {[get list watch] [ route.openshift.io] [routes/status] [] []} {[get list watch] [ template.openshift.io] [processedtemplates templateconfigs templateinstances templates] [] []} {[get list watch] [ build.openshift.io] [buildlogs] [] []} {[get list watch] [] [resourcequotausages] [] []} {[get] [ image.openshift.io] [imagestreams/layers] [] []}] ruleResolutionErrors=[]\",\"stacktrace\":\"github.com/syndesisio/syndesis/install/operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\\n\\t/go/src/github.com/syndesisio/syndesis/install/operator/vendor/github.com/go-logr/zapr/zapr.go:128\\ngithub.com/syndesisio/syndesis/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\\n\\t/go/src/github.com/syndesisio/syndesis/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\\ngithub.com/syndesisio/syndesis/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\\n\\t/go/src/github.com/syndesisio/syndesis/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\\ngithub.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\\n\\t/go/src/github.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\\ngithub.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\\n\\t/go/src/github.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\\ngithub.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until\\n\\t/go/src/github.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88\"}\r\n```\r\nAfter a lot of time (20 minutes for me) the Syndesis is installed.\r\nIn the server log is this exception:\r\n```\r\n2019-03-01 16:36:32.731 ERROR [-,,,] 1 --- [ning]: pollPods] i.s.s.l.j.c.ActivityTrackingController   : Unexpected Error occurred.\r\nio.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://openshift.default.svc/api/v1/namespaces/syndesis/pods?labelSelector=syndesis.io/component%3Dintegration . Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. pods is forbidden: User \"system:serviceaccount:syndesis:syndesis-server\" cannot list pods in the namespace \"syndesis\": no RBAC policy matched.\r\n\tat io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:470) ~[kubernetes-client-3.1.4.fuse-710001.jar!/:na]\r\n\tat io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:407) ~[kubernetes-client-3.1.4.fuse-710001.jar!/:na]\r\n\tat io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:379) ~[kubernetes-client-3.1.4.fuse-710001.jar!/:na]\r\n\tat io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:343) ~[kubernetes-client-3.1.4.fuse-710001.jar!/:na]\r\n\tat io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:327) ~[kubernetes-client-3.1.4.fuse-710001.jar!/:na]\r\n\tat io.fabric8.kubernetes.client.dsl.base.BaseOperation.list(BaseOperation.java:605) ~[kubernetes-client-3.1.4.fuse-710001.jar!/:na]\r\n\tat io.fabric8.kubernetes.client.dsl.base.BaseOperation.list(BaseOperation.java:70) ~[kubernetes-client-3.1.4.fuse-710001.jar!/:na]\r\n\tat io.syndesis.server.logging.jsondb.controller.ActivityTrackingController.listPods(ActivityTrackingController.java:327) ~[server-logging-jsondb-1.6-SNAPSHOT.jar!/:1.6-SNAPSHOT]\r\n\tat io.syndesis.server.logging.jsondb.controller.ActivityTrackingController.pollPods(ActivityTrackingController.java:271) ~[server-logging-jsondb-1.6-SNAPSHOT.jar!/:1.6-SNAPSHOT]\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_151]\r\n\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[na:1.8.0_151]\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_151]\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[na:1.8.0_151]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_151]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_151]\r\n\tat java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_151]\r\n\r\n```\r\nHowever, after some time (+- 16minutes), the Syndesis is reinstalled again. So all pods except syndesis-operator are deleted and created again."},"comment":{"url":"https://api.github.com/repos/syndesisio/syndesis/issues/comments/469207974","html_url":"https://github.com/syndesisio/syndesis/issues/4717#issuecomment-469207974","issue_url":"https://api.github.com/repos/syndesisio/syndesis/issues/4717","id":469207974,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2OTIwNzk3NA==","user":{"login":"heiko-braun","id":369380,"node_id":"MDQ6VXNlcjM2OTM4MA==","avatar_url":"https://avatars1.githubusercontent.com/u/369380?v=4","gravatar_id":"","url":"https://api.github.com/users/heiko-braun","html_url":"https://github.com/heiko-braun","followers_url":"https://api.github.com/users/heiko-braun/followers","following_url":"https://api.github.com/users/heiko-braun/following{/other_user}","gists_url":"https://api.github.com/users/heiko-braun/gists{/gist_id}","starred_url":"https://api.github.com/users/heiko-braun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiko-braun/subscriptions","organizations_url":"https://api.github.com/users/heiko-braun/orgs","repos_url":"https://api.github.com/users/heiko-braun/repos","events_url":"https://api.github.com/users/heiko-braun/events{/privacy}","received_events_url":"https://api.github.com/users/heiko-braun/received_events","type":"User","site_admin":false},"created_at":"2019-03-04T10:49:16Z","updated_at":"2019-03-04T10:49:16Z","author_association":"COLLABORATOR","body":"@nicolaferraro Can it be that the camel-k CRD defintion needs to present at least? "}}
{"actor":{"display_login":"heiko-braun"}}