lagom / lagom-samples

https://developer.lightbend.com/start/?group=lagom
Creative Commons Zero v1.0 Universal
86 stars 82 forks source link

Deployment jobs failures (RBAC issues?) #154

Open ignasi35 opened 4 years ago

ignasi35 commented 4 years ago

For the past few dasy (weeks?) deployment jobs run in CRON have been failing with the message:

You have access to the following projects and can switch between them with 'oc project <projectname>':

  * console-danny

    lagom-scala-openshift-smoketests

    lagom-shopping-cart-java-maven-travis-1-5-x

    reactive-bbq-danny

Using project "console-danny".

No resources found.

Error from server (Forbidden): projects.project.openshift.io "lagom-shopping-cart-java-sbt-travis-1-5-x" is forbidden: User "play-team" cannot get projects.project.openshift.io in the namespace "lagom-shopping-cart-java-sbt-travis-1-5-x": no RBAC policy matched

What I think is happening is that: (1) the namespace hasn't completely been built on the k8s cluster causing the User "play-team" cannot get projects.project.openshift.io in the namespace, or (2) there's new RBAC requirements to complete the operation.

The error is quite consistent across all 3 jobs and branches (1.5.x and 1.6.x) but this operation is unrelated to either the programming language and hasn't changed in a while so that was expected.

related to #116