Skip to content

Deployment jobs failures (RBAC issues?) #154

Open
@ignasi35

Description

@ignasi35

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions