-
Notifications
You must be signed in to change notification settings - Fork 552
"OperatorGroup static provider" #2408
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
Comments
Ran into this during an workflow run in #2438. Here's a snippet of the logs when poking at the e2e test artifacts locally:
|
Reproduced this locally:
|
CSV YAML output inline apiVersion: v1
items:
- apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
olm.operatorGroup: b-hpmzc
olm.operatorNamespace: b-mzs9s
olm.targetNamespaces: ""
operatorframework.io/properties: '{"properties":[{"type":"olm.gvk","value":{"group":"cluster.com","kind":"a-586ht4s8vq","version":"v1alpha1"}},{"type":"olm.package","value":{"packageName":"a-586ht","version":"0.1.0"}}]}'
creationTimestamp: "2021-11-17T21:47:03Z"
generation: 1
labels:
operators.coreos.com/a-586ht.b-mzs9s: ""
name: a-586ht-stable
namespace: b-mzs9s
resourceVersion: "42758"
uid: 7dc7b2a3-781e-46ec-9404-86e593803c39
spec:
apiservicedefinitions: {}
cleanup:
enabled: false
customresourcedefinitions:
owned:
- description: a-586ht4s8vq.cluster.com
displayName: a-586ht4s8vq.cluster.com
kind: a-586ht4s8vq
name: a-586ht4s8vq.cluster.com
version: v1alpha1
displayName: ""
install:
spec:
deployments:
- name: a-586ht-stable
spec:
replicas: 1
selector:
matchLabels:
app: nginx
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: nginx
spec:
containers:
- image: bitnami/nginx:latest
imagePullPolicy: IfNotPresent
name: nginxccrhk
ports:
- containerPort: 80
protocol: TCP
resources: {}
strategy: deployment
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: true
type: MultiNamespace
- supported: true
type: AllNamespaces
minKubeVersion: 0.0.0
provider: {}
version: 0.1.0
status:
cleanup: {}
conditions:
- lastTransitionTime: "2021-11-17T21:47:03Z"
lastUpdateTime: "2021-11-17T21:47:03Z"
message: intersecting operatorgroups provide the same apis
phase: Failed
reason: InterOperatorGroupOwnerConflict
lastTransitionTime: "2021-11-17T21:47:03Z"
lastUpdateTime: "2021-11-17T21:47:03Z"
message: intersecting operatorgroups provide the same apis
phase: Failed
reason: InterOperatorGroupOwnerConflict
- apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
olm.operatorGroup: b-hpmzc
olm.operatorNamespace: b-mzs9s
olm.targetNamespaces: ""
operatorframework.io/properties: '{"properties":[{"type":"olm.gvk","value":{"group":"cluster.com","kind":"b-dq4nqtg58r","version":"v1alpha1"}},{"type":"olm.package","value":{"packageName":"b-dq4nq","version":"0.1.0"}}]}'
creationTimestamp: "2021-11-17T21:47:22Z"
generation: 1
name: b-dq4nq-stable
namespace: b-mzs9s
resourceVersion: "43071"
uid: 146fa061-3177-424c-96d3-3df5ec3bf5fe
spec:
apiservicedefinitions: {}
cleanup:
enabled: false
customresourcedefinitions:
owned:
- description: b-dq4nqtg58r.cluster.com
displayName: b-dq4nqtg58r.cluster.com
kind: b-dq4nqtg58r
name: b-dq4nqtg58r.cluster.com
version: v1alpha1
displayName: ""
install:
spec:
deployments:
- name: b-dq4nq-stable
spec:
replicas: 1
selector:
matchLabels:
app: nginx
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: nginx
spec:
containers:
- image: bitnami/nginx:latest
imagePullPolicy: IfNotPresent
name: nginx4w8v6
ports:
- containerPort: 80
protocol: TCP
resources: {}
strategy: deployment
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: true
type: MultiNamespace
- supported: true
type: AllNamespaces
minKubeVersion: 0.0.0
provider: {}
version: 0.1.0
status:
cleanup: {}
conditions:
- lastTransitionTime: "2021-11-17T21:47:22Z"
lastUpdateTime: "2021-11-17T21:47:22Z"
message: requirements not yet checked
phase: Pending
reason: RequirementsUnknown
- lastTransitionTime: "2021-11-17T21:47:22Z"
lastUpdateTime: "2021-11-17T21:47:22Z"
message: all requirements found, attempting install
phase: InstallReady
reason: AllRequirementsMet
- lastTransitionTime: "2021-11-17T21:47:22Z"
lastUpdateTime: "2021-11-17T21:47:22Z"
message: waiting for install components to report healthy
phase: Installing
reason: InstallSucceeded
- lastTransitionTime: "2021-11-17T21:47:22Z"
lastUpdateTime: "2021-11-17T21:47:23Z"
message: 'installing: waiting for deployment b-dq4nq-stable to become ready:
deployment "b-dq4nq-stable" not available: Deployment does not have minimum
availability.'
phase: Installing
reason: InstallWaiting
- lastTransitionTime: "2021-11-17T21:47:25Z"
lastUpdateTime: "2021-11-17T21:47:25Z"
message: install strategy completed with no errors
phase: Succeeded
reason: InstallSucceeded
lastTransitionTime: "2021-11-17T21:47:25Z"
lastUpdateTime: "2021-11-17T21:47:25Z"
message: install strategy completed with no errors
phase: Succeeded
reason: InstallSucceeded
requirementStatus:
- group: operators.coreos.com
kind: ClusterServiceVersion
message: CSV minKubeVersion (0.0.0) less than server version (v1.22.1-1731+c5018455793eff-dirty)
name: b-dq4nq-stable
status: Present
version: v1alpha1
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
message: CRD is present and Established condition is true
name: b-dq4nqtg58r.cluster.com
status: Present
uuid: 9caadb2d-53db-49e0-9233-817dfc08a750
version: v1
kind: List
metadata:
resourceVersion: ""
selfLink: "" |
It looks like this produces a potential hotloop in the catalog controller attempting to constantly resync subscriptions: $ kubectl -n b-mzs9s get subs
NAME PACKAGE SOURCE CHANNEL
a-jg7cm a-586ht catalog-z7dz2 stable
b-jsbkd b-dq4nq catalog-z7dz2 stable
$ kubectl -n b-mzs9s get subs a-jg7cm -o=custom-columns=NAME:.metadata.name,RSRC:.metadata.resourceVersion -w
NAME RSRC
a-jg7cm 48109
a-jg7cm 48124
a-jg7cm 48139
a-jg7cm 48152
a-jg7cm 48164
a-jg7cm 48182
a-jg7cm 48197
a-jg7cm 48215
a-jg7cm 48236
a-jg7cm 48249
a-jg7cm 48269
a-jg7cm 48288
a-jg7cm 48298
a-jg7cm 48313
a-jg7cm 48325
a-jg7cm 48336
a-jg7cm 48353
a-jg7cm 48372
a-jg7cm 48391
... |
I'm not sure I have the requisite knowledge of the OG functionality to further debug this, but it looks like we expect that |
closing - this should've been fixed by #2399. |
No description provided.
The text was updated successfully, but these errors were encountered: