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

Switch to the new Operator Bundle Format #16928

Closed
tolusha opened this issue May 14, 2020 · 9 comments
Closed

Switch to the new Operator Bundle Format #16928

tolusha opened this issue May 14, 2020 · 9 comments
Assignees
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator kind/enhancement A feature request - must adhere to the feature request template. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@tolusha
Copy link
Contributor

tolusha commented May 14, 2020

Is your enhancement related to a problem? Please describe.

We should switch to the new format to:

  • Leverage the benefits of the new way (no manage all the versions in a single Git branch for example)
  • Be ready in time for when the old format disappears

Additional context

operator-framework/community-operators#1680

@tolusha tolusha added kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system. area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator labels May 14, 2020
@tolusha tolusha added this to the Backlog - Deploy milestone May 27, 2020
@benoitf benoitf added the new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes label May 29, 2020
@tolusha tolusha mentioned this issue Jun 1, 2020
34 tasks
@tolusha tolusha modified the milestones: Backlog - Deploy, 7.14, 7.15 Jun 3, 2020
@mmorhun mmorhun mentioned this issue Jun 23, 2020
14 tasks
@tolusha tolusha modified the milestones: 7.15, 7.16 Jun 30, 2020
@AndrienkoAleksandr
Copy link
Contributor

@AndrienkoAleksandr AndrienkoAleksandr self-assigned this Jul 7, 2020
@tolusha tolusha modified the milestones: 7.16, Backlog - Deploy Jul 9, 2020
@tolusha tolusha mentioned this issue Jul 13, 2020
10 tasks
@tolusha tolusha modified the milestones: Backlog - Deploy, 7.16, 7.17 Jul 14, 2020
@AndrienkoAleksandr
Copy link
Contributor

AndrienkoAleksandr commented Jul 14, 2020

Current changes in the branch https://github.com/eclipse/che-operator/tree/opmBundle , testCatalog.sh script works with opm bundle for minikube platform. For minikube was used "registry" addon to push opm bundles and catalog source image. For openshift platform we can use in the test scripts ImageStream feature https://docs.openshift.com/enterprise/3.0/architecture/core_concepts/builds_and_image_streams.html#source-build

@AndrienkoAleksandr
Copy link
Contributor

@nickboldt
Copy link
Contributor

CRW is moving to new format in 2.3 so we can be ready before the OCP 4.6 code freeze later this month (in case we discover a problem). Might be wise to try to do the same for upstream Che, if possible. Che 7.17.0 is on Aug 5, which might be too late to get changes into OCP 4.6.

@nickboldt
Copy link
Contributor

Faced with operator-framework/operator-registry#385 (comment)

ime="2020-07-14T11:42:57Z" level=info msg="Reading file" file=/bundle/manifests/eclipse-che-preview-kubernetes.crd.yaml
time="2020-07-14T11:42:57Z" level=info msg="Reading file" file=/bundle/manifests/eclipse-che-preview-kubernetes.package.yaml
time="2020-07-14T11:42:57Z" level=info msg="Reading file" file=/bundle/manifests/eclipse-che-preview-kubernetes.v7.0.0-beta-5.0.clusterserviceversion.yaml
time="2020-07-14T11:42:57Z" level=info msg="Reading file" file=/bundle/manifests/eclipse-che-preview-kubernetes.v7.0.0-rc-2.0.clusterserviceversion.yaml
time="2020-07-14T11:42:57Z" level=info msg="Reading file" file=/bundle/manifests/eclipse-che-preview-kubernetes.v7.0.0-rc-

Maybe it's time to trash the old unsupported CVS versions? At this point there should be nothing in there earlier than, say, Che 7.12, since anything earlier than that will NEVER get a z-stream bug fix.

@tolusha
Copy link
Contributor Author

tolusha commented Jul 29, 2020

We need to answer the following questions:

  1. When https://github.com/operator-framework/community-operators/ repository is ready to accept PR with the new operator bundle format.
  2. Should we replace old format on a new one in the very first PR ?
  3. Will users be able update to a newer version of Eclipse Che on OpenShift < 4.6 ?

@nickboldt Do you know answers for some of these questions?

@AndrienkoAleksandr
Copy link
Contributor

Will users be able update to a newer version of Eclipse Che on OpenShift < 4.6 ?

I tested Che catalog index image with openshit 4.2 - 4.6, technically installation works fine. But on the openshift 4.2 - 4.5 used catalog source based on the application registry. So even if we will merge some new Che versions in the new bundle format to the community catalog, on the openshift 4.2 - 4.5 these version won't appears. For enterprise operators, operator maintainers can apply label in the catalogsource Dockerfile "backport" and their operators will be backported and pushed to the application registry. But I don't think that it is working for community operators.

@tolusha tolusha mentioned this issue Jul 30, 2020
42 tasks
@AndrienkoAleksandr
Copy link
Contributor

In the community meeting, olm developers shared information: community operators will be auto-migrated to the new bundle format to make them working with openshfit >= 4.6. And they will care about auto-update application registry with new operator versions for older Openshift < 4.6

@tolusha
Copy link
Contributor Author

tolusha commented Aug 3, 2020

This issue is postponed until community operators migrate to the new bundle format.

@tolusha tolusha modified the milestones: 7.17, Backlog - Deploy Aug 3, 2020
@tolusha tolusha removed this from the Backlog - Deploy milestone Aug 19, 2020
@tolusha tolusha modified the milestones: 7.23, 7.24 Nov 10, 2020
@tolusha tolusha removed this from the 7.24 milestone Dec 3, 2020
@tolusha tolusha added this to the 7.25 milestone Dec 16, 2020
@tolusha tolusha mentioned this issue Dec 24, 2020
79 tasks
@tolusha tolusha modified the milestones: 7.25, 7.26 Jan 13, 2021
@tolusha tolusha mentioned this issue Jan 15, 2021
54 tasks
@tolusha tolusha modified the milestones: 7.26, 7.27 Feb 1, 2021
@tolusha tolusha mentioned this issue Feb 5, 2021
57 tasks
@tolusha tolusha modified the milestones: 7.27, 7.28 Feb 22, 2021
@tolusha tolusha mentioned this issue Feb 25, 2021
70 tasks
@tolusha tolusha closed this as completed Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator kind/enhancement A feature request - must adhere to the feature request template. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants