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

Image-registry doesn't exist in OCP 4.3 deployment over VmWare #1436

Closed
petr-balogh opened this issue Feb 5, 2020 · 1 comment · Fixed by #1437
Closed

Image-registry doesn't exist in OCP 4.3 deployment over VmWare #1436

petr-balogh opened this issue Feb 5, 2020 · 1 comment · Fixed by #1437
Assignees
Labels
High Priority High priority issues team/ecosystem Ecosystem team related issues/PRs

Comments

@petr-balogh
Copy link
Member

Looks like we have issue with image-registry:
elif len(pod_obj) == 0:

          raise UnexpectedBehaviour("Image-registry pod not present")

E ocs_ci.ocs.exceptions.UnexpectedBehaviour: Image-registry pod not present

Martin Bukatovic pointed out when we had some discussion that he found this documentation: https://docs.openshift.com/container-platform/4.3/registry/configuring-registry-operator.html#registry-removed_configuring-registry-operator

Based on docs it looks to me that this image-registry has managedState set to Removed on not cloud providers and causing issue in our deployment on VmWare with OCP 4.3.
@ramakrishnan Periyasamy are you aware of this?
When I ran command: oc patch configs.imageregistry.operator.openshift.io/cluster --type merge -p '{"spec":{"managementState": "Managed"}}'
it looks like I have image registry now:

[jenkins@temp-jslave-pbalogh43ga image_registry_logs]$ oc -n openshift-image-registry --kubeconfig /home/jenkins/current-cluster-dir/openshift-cluster-dir/auth/kubeconfig get Pod  -n openshift-image-registry --selector=docker-registry=default
NAME                              READY   STATUS    RESTARTS   AGE
image-registry-67b9cd8c49-qwndg   1/1     Running   0          100s

So I guess we have to add this command to our deployment when deploy over VmWare.

@petr-balogh petr-balogh added the High Priority High priority issues label Feb 5, 2020
petr-balogh added a commit to petr-balogh/ocs-ci that referenced this issue Feb 5, 2020
Fixes: red-hat-storage#1436

Signed-off-by: Petr Balogh <pbalogh@redhat.com>
@petr-balogh petr-balogh self-assigned this Feb 5, 2020
@petr-balogh petr-balogh added the team/ecosystem Ecosystem team related issues/PRs label Feb 5, 2020
petr-balogh added a commit to petr-balogh/ocs-ci that referenced this issue Feb 5, 2020
Fixes: red-hat-storage#1436

Signed-off-by: Petr Balogh <pbalogh@redhat.com>
@petr-balogh
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority High priority issues team/ecosystem Ecosystem team related issues/PRs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant