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

Can not find GitLab Runner under community operator inside the CRC #4123

Closed
JiriHusak-lab opened this issue Apr 23, 2024 · 4 comments
Closed

Comments

@JiriHusak-lab
Copy link

JiriHusak-lab commented Apr 23, 2024

CRC VM: Running
OpenShift: Running (v4.15.3)
RAM Usage: 9.499GB of 56.11GB
Disk Usage: 32.52GB of 267.8GB (Inside the CRC VM)
Cache Usage: 26.27GB
Cache Directory: /var/crc/.crc/cache

In crc console I can not see GitLab Runner operator. I can see 242 Community operators but not GitLab Runner I have used for years. After installation of CRC OCP version 4.15 I can not see all community operators.

Source
Red Hat(113)
Certified(157)
Community(242)
Marketplace(42)

Total 554 items

oc get packagemanifests -n openshift-marketplace | grep 'Community Operators' | wc -l
242

https://github.com/operator-framework/community-operators/tree/master/community-operators/gitlab-runner-operator

oc get pods -n openshift-marketplace
NAME                                    READY   STATUS    RESTARTS   AGE
certified-operators-dk6g9                     1/1     Running   0          3h11m
community-operators-4s9pf                  1/1     Running   0          20m
marketplace-operator-568756cbf5-nrfwq   1/1     Running   0          5m12s
redhat-marketplace-b4tpk                     1/1     Running   0          19m
redhat-operators-w7bdf                         1/1     Running   1          4d3h

https://github.com/operator-framework/community-operators/tree/master/community-operators/gitlab-runner-operator

Any clue? Could it be an issue of CRC that it fetch not all comm. operators?

Thanks a lot,
Jiri

@praveenkumar
Copy link
Member

praveenkumar commented Apr 23, 2024

@JiriHusak-lab it might be #4109 one?

Edit: looks like operators are running, can you provide the host details ( Is it linux or mac M1) ?

@JiriHusak-lab
Copy link
Author

JiriHusak-lab commented Apr 23, 2024

Hi Praveen, it is Linux.
After installation of this version I had to delete all pods in openshift-marketplace as they were crashing according another issue - after restart. As you can see, pods in openshift-marketplace are Running now, see original text.
As well there is 242 community operators but GitLab Runner is missing.

Log of  community-operators-ds9xm:
time="2024-04-23T12:00:24Z" level=info msg="starting pprof endpoint" address="localhost:6060"
time="2024-04-23T12:00:26Z" level=info msg="serving registry" configs=/extracted-catalog/catalog port=50051
time="2024-04-23T12:00:26Z" level=info msg="stopped caching cpu profile data" address="localhost:6060"

Looking in console on Events, there are some events which could be related:

Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
Add eth0 [10.217.0.163/23] from ovn-kubernetes
Successfully assigned openshift-marketplace/community-operators-ds9xm to crc
Started container extract-utilities
Created container extract-utilities
Pulling image "registry.redhat.io/redhat/community-operator-index:v4.15"
Started container extract-content
Created container extract-content
Successfully pulled image "registry.redhat.io/redhat/community-operator-index:v4.15" in 13.002s (13.002s including waiting)
Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
Started container registry-server
Created container registry-server
Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 2.02s (2.021s including waiting)
Startup probe failed: timeout: failed to connect service ":50051" within 1s
oc get events
------------------------------------------------------------------------------
Normal    Started             pod/redhat-operators-gzqfn                   Started container extract-content
60m         Normal    Pulling             pod/redhat-operators-gzqfn                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
60m         Normal    Pulled              pod/redhat-operators-gzqfn                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.124s (1.124s including waiting)
60m         Normal    Created             pod/redhat-operators-gzqfn                   Created container registry-server
60m         Normal    Started             pod/redhat-operators-gzqfn                   Started container registry-server
60m         Normal    Killing             pod/redhat-operators-gzqfn                   Stopping container registry-server
34m         Normal    Scheduled           pod/redhat-operators-hvh4l                   Successfully assigned openshift-marketplace/redhat-operators-hvh4l to crc
34m         Normal    AddedInterface      pod/redhat-operators-hvh4l                   Add eth0 [10.217.0.144/23] from ovn-kubernetes
34m         Normal    Pulled              pod/redhat-operators-hvh4l                   Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
34m         Normal    Created             pod/redhat-operators-hvh4l                   Created container extract-utilities
34m         Normal    Started             pod/redhat-operators-hvh4l                   Started container extract-utilities
34m         Normal    Pulling             pod/redhat-operators-hvh4l                   Pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.15"
34m         Normal    Pulled              pod/redhat-operators-hvh4l                   Successfully pulled image "registry.redhat.io/redhat/redhat-operator-index:v4.15" in 741ms (741ms including waiting)
34m         Normal    Created             pod/redhat-operators-hvh4l                   Created container extract-content
34m         Normal    Started             pod/redhat-operators-hvh4l                   Started container extract-content
34m         Normal    Pulling             pod/redhat-operators-hvh4l                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
34m         Normal    Pulled              pod/redhat-operators-hvh4l                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.081s (1.081s including waiting)
34m         Normal    Created             pod/redhat-operators-hvh4l                   Created container registry-server
34m         Normal    Started             pod/redhat-operators-hvh4l                   Started container registry-server
34m         Normal    Killing             pod/redhat-operators-hvh4l                   Stopping container registry-server
12m         Normal    Scheduled           pod/redhat-operators-ksf97                   Successfully assigned openshift-marketplace/redhat-operators-ksf97 to crc
12m         Normal    AddedInterface      pod/redhat-operators-ksf97                   Add eth0 [10.217.0.161/23] from ovn-kubernetes
12m         Normal    Pulled              pod/redhat-operators-ksf97                   Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
12m         Normal    Created             pod/redhat-operators-ksf97                   Created container extract-utilities
12m         Normal    Started             pod/redhat-operators-ksf97                   Started container extract-utilities
12m         Normal    Pulling             pod/redhat-operators-ksf97                   Pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.15"
12m         Normal    Pulled              pod/redhat-operators-ksf97                   Successfully pulled image "registry.redhat.io/redhat/redhat-operator-index:v4.15" in 617ms (618ms including waiting)
12m         Normal    Created             pod/redhat-operators-ksf97                   Created container extract-content
12m         Normal    Started             pod/redhat-operators-ksf97                   Started container extract-content
12m         Normal    Pulling             pod/redhat-operators-ksf97                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
12m         Normal    Pulled              pod/redhat-operators-ksf97                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.129s (1.129s including waiting)
12m         Normal    Created             pod/redhat-operators-ksf97                   Created container registry-server
12m         Normal    Started             pod/redhat-operators-ksf97                   Started container registry-server
20m         Normal    Scheduled           pod/redhat-operators-ksn8x                   Successfully assigned openshift-marketplace/redhat-operators-ksn8x to crc
20m         Normal    AddedInterface      pod/redhat-operators-ksn8x                   Add eth0 [10.217.0.155/23] from ovn-kubernetes
20m         Normal    Pulled              pod/redhat-operators-ksn8x                   Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
20m         Normal    Created             pod/redhat-operators-ksn8x                   Created container extract-utilities
20m         Normal    Started             pod/redhat-operators-ksn8x                   Started container extract-utilities
20m         Normal    Pulling             pod/redhat-operators-ksn8x                   Pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.15"
20m         Normal    Pulled              pod/redhat-operators-ksn8x                   Successfully pulled image "registry.redhat.io/redhat/redhat-operator-index:v4.15" in 779ms (779ms including waiting)
20m         Normal    Created             pod/redhat-operators-ksn8x                   Created container extract-content
20m         Normal    Started             pod/redhat-operators-ksn8x                   Started container extract-content
20m         Normal    Pulling             pod/redhat-operators-ksn8x                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
20m         Normal    Pulled              pod/redhat-operators-ksn8x                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.35s (1.35s including waiting)
20m         Normal    Created             pod/redhat-operators-ksn8x                   Created container registry-server
20m         Normal    Started             pod/redhat-operators-ksn8x                   Started container registry-server
19m         Normal    Killing             pod/redhat-operators-ksn8x                   Stopping container registry-server
97m         Normal    Scheduled           pod/redhat-operators-mkzmw                   Successfully assigned openshift-marketplace/redhat-operators-mkzmw to crc
97m         Normal    AddedInterface      pod/redhat-operators-mkzmw                   Add eth0 [10.217.0.109/23] from ovn-kubernetes
97m         Normal    Pulled              pod/redhat-operators-mkzmw                   Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
97m         Normal    Created             pod/redhat-operators-mkzmw                   Created container extract-utilities
97m         Normal    Started             pod/redhat-operators-mkzmw                   Started container extract-utilities
97m         Normal    Pulling             pod/redhat-operators-mkzmw                   Pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.15"
97m         Normal    Pulled              pod/redhat-operators-mkzmw                   Successfully pulled image "registry.redhat.io/redhat/redhat-operator-index:v4.15" in 935ms (935ms including waiting)
97m         Normal    Created             pod/redhat-operators-mkzmw                   Created container extract-content
97m         Normal    Started             pod/redhat-operators-mkzmw                   Started container extract-content
97m         Normal    Pulling             pod/redhat-operators-mkzmw                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
97m         Normal    Pulled              pod/redhat-operators-mkzmw                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.137s (1.137s including waiting)
97m         Normal    Created             pod/redhat-operators-mkzmw                   Created container registry-server
97m         Normal    Started             pod/redhat-operators-mkzmw                   Started container registry-server
97m         Normal    Killing             pod/redhat-operators-mkzmw                   Stopping container registry-server
128m        Normal    Scheduled           pod/redhat-operators-s2rk2                   Successfully assigned openshift-marketplace/redhat-operators-s2rk2 to crc
128m        Normal    AddedInterface      pod/redhat-operators-s2rk2                   Add eth0 [10.217.0.96/23] from ovn-kubernetes
128m        Normal    Pulled              pod/redhat-operators-s2rk2                   Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
128m        Normal    Created             pod/redhat-operators-s2rk2                   Created container extract-utilities
128m        Normal    Started             pod/redhat-operators-s2rk2                   Started container extract-utilities
128m        Normal    Pulling             pod/redhat-operators-s2rk2                   Pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.15"
128m        Normal    Pulled              pod/redhat-operators-s2rk2                   Successfully pulled image "registry.redhat.io/redhat/redhat-operator-index:v4.15" in 892ms (892ms including waiting)
128m        Normal    Created             pod/redhat-operators-s2rk2                   Created container extract-content
128m        Normal    Started             pod/redhat-operators-s2rk2                   Started container extract-content
128m        Normal    Pulling             pod/redhat-operators-s2rk2                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
128m        Normal    Pulled              pod/redhat-operators-s2rk2                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.096s (1.096s including waiting)
128m        Normal    Created             pod/redhat-operators-s2rk2                   Created container registry-server
128m        Normal    Started             pod/redhat-operators-s2rk2                   Started container registry-server
128m        Normal    Killing             pod/redhat-operators-s2rk2                   Stopping container registry-server
118m        Normal    Scheduled           pod/redhat-operators-svb25                   Successfully assigned openshift-marketplace/redhat-operators-svb25 to crc
118m        Normal    AddedInterface      pod/redhat-operators-svb25                   Add eth0 [10.217.0.100/23] from ovn-kubernetes
118m        Normal    Pulled              pod/redhat-operators-svb25                   Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
118m        Normal    Created             pod/redhat-operators-svb25                   Created container extract-utilities
118m        Normal    Started             pod/redhat-operators-svb25                   Started container extract-utilities
118m        Normal    Pulling             pod/redhat-operators-svb25                   Pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.15"
118m        Normal    Pulled              pod/redhat-operators-svb25                   Successfully pulled image "registry.redhat.io/redhat/redhat-operator-index:v4.15" in 999ms (999ms including waiting)
118m        Normal    Created             pod/redhat-operators-svb25                   Created container extract-content
118m        Normal    Started             pod/redhat-operators-svb25                   Started container extract-content
118m        Normal    Pulling             pod/redhat-operators-svb25                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
118m        Normal    Pulled              pod/redhat-operators-svb25                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.091s (1.091s including waiting)
118m        Normal    Created             pod/redhat-operators-svb25                   Created container registry-server
118m        Normal    Started             pod/redhat-operators-svb25                   Started container registry-server
118m        Normal    Killing             pod/redhat-operators-svb25                   Stopping container registry-server
31m         Normal    Killing             pod/redhat-operators-w7bdf                   Stopping container registry-server
172m        Normal    Scheduled           pod/redhat-operators-x7bnd                   Successfully assigned openshift-marketplace/redhat-operators-x7bnd to crc
172m        Normal    AddedInterface      pod/redhat-operators-x7bnd                   Add eth0 [10.217.0.68/23] from ovn-kubernetes
172m        Normal    Pulled              pod/redhat-operators-x7bnd                   Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
172m        Normal    Created             pod/redhat-operators-x7bnd                   Created container extract-utilities
172m        Normal    Started             pod/redhat-operators-x7bnd                   Started container extract-utilities
172m        Normal    Pulling             pod/redhat-operators-x7bnd                   Pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.15"
172m        Normal    Pulled              pod/redhat-operators-x7bnd                   Successfully pulled image "registry.redhat.io/redhat/redhat-operator-index:v4.15" in 603ms (603ms including waiting)
172m        Normal    Created             pod/redhat-operators-x7bnd                   Created container extract-content
172m        Normal    Started             pod/redhat-operators-x7bnd                   Started container extract-content
172m        Normal    Pulling             pod/redhat-operators-x7bnd                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
172m        Normal    Pulled              pod/redhat-operators-x7bnd                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.067s (1.067s including waiting)
172m        Normal    Created             pod/redhat-operators-x7bnd                   Created container registry-server
172m        Normal    Started             pod/redhat-operators-x7bnd                   Started container registry-server
171m        Normal    Killing             pod/redhat-operators-x7bnd                   Stopping container registry-server
30m         Normal    Scheduled           pod/redhat-operators-zxx5w                   Successfully assigned openshift-marketplace/redhat-operators-zxx5w to crc
30m         Normal    AddedInterface      pod/redhat-operators-zxx5w                   Add eth0 [10.217.0.150/23] from ovn-kubernetes
30m         Normal    Pulled              pod/redhat-operators-zxx5w                   Container image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:16f6a9f7f651d52997388bcf50f970295de196f29f585473761fa409d50689d6" already present on machine
30m         Normal    Created             pod/redhat-operators-zxx5w                   Created container extract-utilities
30m         Normal    Started             pod/redhat-operators-zxx5w                   Started container extract-utilities
30m         Normal    Pulling             pod/redhat-operators-zxx5w                   Pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.15"
30m         Normal    Pulled              pod/redhat-operators-zxx5w                   Successfully pulled image "registry.redhat.io/redhat/redhat-operator-index:v4.15" in 726ms (726ms including waiting)
30m         Normal    Created             pod/redhat-operators-zxx5w                   Created container extract-content
30m         Normal    Started             pod/redhat-operators-zxx5w                   Started container extract-content
30m         Normal    Pulling             pod/redhat-operators-zxx5w                   Pulling image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e"
29m         Normal    Pulled              pod/redhat-operators-zxx5w                   Successfully pulled image "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:965fe452763fd402ca8d8b4a3fdb13587673c8037f215c0ffcd76b6c4c24635e" in 1.083s (1.083s including waiting)
29m         Normal    Created             pod/redhat-operators-zxx5w                   Created container registry-server
29m         Normal    Started             pod/redhat-operators-zxx5w                   Started container registry-server
12m         Normal    Killing             pod/redhat-operators-zxx5w                   Stopping container registry-server

@JiriHusak-lab
Copy link
Author

Hi,
could not be problem on side of RedHat operatorHub metadata?
https://github.com/redhat-openshift-ecosystem/community-operators-prod/tree/main/operators/gitlab-runner-operator/1.21.0/metadata

I mean if problem is not that if supported version range in operator metadata does not fit into actual CRC version, operator is not fetched/showed by CRC.
In metadata for GitLab Runner which is not showed is: com.redhat.openshift.versions: v4.8-v4.13

In metadata for Gitlab operator which I can see in CRC console is: com.redhat.openshift.versions: v4.10-v4.15

If it is like this, only chance I have is downgrade recently installed version 4.15 to CRC version 4.13.
Or how to raise issue to someone from RedHat community to update metadata for GitLab Runner operator?

Thanks,
Jiri

@praveenkumar
Copy link
Member

Hi, could not be problem on side of RedHat operatorHub metadata? https://github.com/redhat-openshift-ecosystem/community-operators-prod/tree/main/operators/gitlab-runner-operator/1.21.0/metadata

yes, this is the issue.

I mean if problem is not that if supported version range in operator metadata does not fit into actual CRC version, operator is not fetched/showed by CRC. In metadata for GitLab Runner which is not showed is: com.redhat.openshift.versions: v4.8-v4.13

In metadata for Gitlab operator which I can see in CRC console is: com.redhat.openshift.versions: v4.10-v4.15

If it is like this, only chance I have is downgrade recently installed version 4.15 to CRC version 4.13. Or how to raise issue to someone from RedHat community to update metadata for GitLab Runner operator?

I think you should create issue about that https://github.com/redhat-openshift-ecosystem/community-operators-prod here. This is not crc issue but community operator itself. Closing it.

Thanks, Jiri

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants