Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

configmap "odlm-scope" not found #743

Open
arcmop opened this issue Sep 7, 2021 · 1 comment
Open

configmap "odlm-scope" not found #743

arcmop opened this issue Sep 7, 2021 · 1 comment
Assignees
Labels
kind/bug Something isn't working

Comments

@arcmop
Copy link

arcmop commented Sep 7, 2021

/kind bug

What steps did you take and what happened:
Operator auto update on OCP 4 got fail, the reason is:

configmap "odlm-scope" not found

I solved this by creating the empty configmap:

kind: ConfigMap
apiVersion: v1
metadata:
  name: odlm-scope
  namespace: ibm-common-services
data: 
  namespaces: 

What did you expect to happen:

I reviewed the PR #542 , I think it is necsesary add to documentation or to the operator procedure the creation of that empty configmap to avoid issue.

Anything else you would like to add:
File afected: config/manager/manager.yaml

Environment:

- ODLM version: > 1.5.x 
- Minikube/KIND/OCP version: OCP 4.7.9
- Kubernetes version: (use `kubectl version`): 1.20
- OS (e.g. from `/etc/os-release`): Red Hat Enterprise Linux CoreOS 47.83.202104250838-0 (Ootpa)
@ibm-ci-bot ibm-ci-bot added the kind/bug Something isn't working label Sep 7, 2021
@Daniel-Fan
Copy link
Contributor

Hi @arcmop

Thank you for pointing out this. We will add this prerequisite into the document when deploying the ODLM alone.

The ConfigMap odlm-scope is created by ibm-common-service-operator`. It is used to manage the cluster permission of ODLM.
In order to make ODLM running properly, we require the ODLM to coordinate with cs-operator and namespace-scope operator.

@Daniel-Fan Daniel-Fan self-assigned this Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants