openshift installer hangs waiting for marketplace operator
I ran the installer several times a day for CodeReady Containers and I notice this afternoon that the marketplace operator was stuck. It blocked the whole installation process. Deleting the pod to force the recreation fixed the issue.
```
kubectl --kubeconfig crc-tmp-install-data/auth/kubeconfig -n openshift-sdn get co
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE
...
machine-config 4.5.0-rc.6 True False False 19m
marketplace False
monitoring 4.5.0-rc.6 True False False 15m
...
```
I searched for error in the log before the restart:
```
time="2020-07-23T13:39:18Z" level=error msg="no matches for kind \"CatalogSourceConfig\" in version \"operators.coreos.com/v2\"[migration] Error in migrating Marketplace away from CatalogSourceConfig API"
time="2020-07-23T13:42:08Z" level=error msg="Could not determine operator upgradeablity. Error: Get https://172.25.0.1:443/apis/operators.coreos.com/v1/operatorsources: http2: server sent GOAWAY and closed the connection; LastStreamID=75, ErrCode=NO_ERROR, debug=\"\""
```
Perhaps the operator doesn't like when the apiserver restarts ? It happens very frequently during the install.
(It was using 4.5.0-rc.6 but the marketplace operator code didn't change since then I believe)
关闭于 2025-07-24 1 条评论