Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

BUG: missing namespace "gpte" #1125

Open
9strands opened this issue Apr 20, 2023 · 0 comments
Open

BUG: missing namespace "gpte" #1125

9strands opened this issue Apr 20, 2023 · 0 comments

Comments

@9strands
Copy link
Contributor

Post deploy fails if the namespace "gpte" isn't pre-created before the run:

TASK [k8s_config : k8s opentlc-mgr babylon role-based access control] ************************************************************************************
failed: [localhost] (item=Role([rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1)) opentlc-secret-manager in gpte) => {"_k8s_resources_idx": 0, "ansible_loop_var": "_k8s_resources_idx", "attempts": 1, "changed": false, "error": 404, "msg": "Failed to apply object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"namespaces \\\\\"gpte\\\\\" not found\",\"reason\":\"NotFound\",\"details\":{\"name\":\"gpte\",\"kind\":\"namespaces\"},\"code\":404}\\n'", "reason": "Not Found", "status": 404}
failed: [localhost] (item=RoleBinding([rbac.authorization.k8s.io/v1](http://rbac.authorization.k8s.io/v1)) opentlc-secret-manager in gpte) => {"_k8s_resources_idx": 1, "ansible_loop_var": "_k8s_resources_idx", "attempts": 1, "changed": false, "error": 404, "msg": "Failed to apply object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"namespaces \\\\\"gpte\\\\\" not found\",\"reason\":\"NotFound\",\"details\":{\"name\":\"gpte\",\"kind\":\"namespaces\"},\"code\":404}\\n'", "reason": "Not Found", "status": 404}
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant