k8s-operatorhub / community-operators

The canonical source for Kubernetes Operators that are published on OperatorHub.io and part of the default catalog of the Operator Lifecycle Manager.
Apache License 2.0
218 stars 586 forks source link

Operator test / PR-traffic-light PR check is failing #5296

Open shefali-malhotra opened 1 day ago

shefali-malhotra commented 1 day ago

Seeing the operator PR traffiv light check for the following PR https://github.com/k8s-operatorhub/community-operators/pull/5291 Any leads in the fixing that.

shefali-malhotra commented 1 day ago

@mporrato Could you please help look into this .

mporrato commented 1 day ago

@shefali-malhotra your csv is malformed:

$ operator-sdk bundle validate 1.7.0
FATA[0000] unable to find a csv in bundle directory 1.7.0/manifests 
$ find 1.7.0
1.7.0
1.7.0/manifests
1.7.0/manifests/containerstoragemodules.storage.dell.com.crd.yaml
1.7.0/manifests/dell-csm-operator.v1.7.0.clusterserviceversion.yaml
1.7.0/metadata
1.7.0/metadata/annotations.yaml
1.7.0/tests
1.7.0/tests/scorecard
1.7.0/tests/scorecard/config.yaml
$ yamllint -c <(printf "rules:\n  line-length: disable\n") 1.7.0/
1.7.0/manifests/dell-csm-operator.v1.7.0.clusterserviceversion.yaml
  4447:5    error    syntax error: expected <block end>, but found '?' (syntax)
shefali-malhotra commented 2 hours ago

Thanks @mporrato for pointing out the CSV issue. After fixing all the formatting issue now the operator upgrade and olm install tests are failing in PR. From the logs it looks operator controller pod is going in ImagePullBackoff error but exactly which image it is unable to pull could you please provide those details if possible. Similar error is being observed with olm install.

mporrato commented 29 minutes ago

@shefali-malhotra seems to be the kube-rbac-proxy image: https://github.com/k8s-operatorhub/community-operators/actions/runs/11837159427/job/32983683857?pr=5291#step:6:7146 The CI requires all images to be pullable without authentication.