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

[chectl] Failed to deploy Eclipse Che using olm installer: Catalog Source not found #16913

Closed
4 tasks done
tolusha opened this issue May 13, 2020 · 2 comments
Closed
4 tasks done
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Milestone

Comments

@tolusha
Copy link
Contributor

tolusha commented May 13, 2020

Describe the bug

Try to deploy with chectl, observe the error in catalog-operator pod:
failed: {eclipse-che stable {community-operators olm}} not found: CatalogSource {community-operators olm} not found

If update subscription from catalogSourceNamespace: olm to catalogSourceNamespace: openshift-marketplace then installation is continues successfully.

Che version

  • nightly

Steps to reproduce

Expected behavior

Eclipse Che is deployed

Runtime

  • Openshift (include output of oc version)

Screenshots

Screenshot from 2020-05-13 14-37-29

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
      chectl server:start --platform openshift --installer olm -n abazko --self-signed-cert

Environment

  • Cloud

Eclipse Che Logs

Additional context

@tolusha tolusha added kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. area/chectl Issues related to chectl, the CLI of Che labels May 13, 2020
@tolusha tolusha mentioned this issue May 13, 2020
56 tasks
@davidfestal
Copy link
Contributor

@tolusha afaik using the olm catalog source namespace is for Kubernetes, and using the openshift-marketplace is for Openshift 4

@AndrienkoAleksandr
Copy link
Contributor

AndrienkoAleksandr commented May 13, 2020

Maybe we can try to determine namespace with catalog, at least for openshift 4:

$kubectl get packagemanifest eclipse-che -o yaml
apiVersion: packages.operators.coreos.com/v1
kind: PackageManifest
metadata:
  creationTimestamp: "2020-02-14T06:49:48Z"
  labels:
    catalog: community-operators
    catalog-namespace: openshift-marketplace
    olm-visibility: hidden
    openshift-marketplace: "true"
    opsrc-datastore: "true"
    opsrc-owner-name: community-operators
    opsrc-owner-namespace: openshift-marketplace
    opsrc-provider: community
    provider: Eclipse Foundation
    provider-url: ""
  name: eclipse-che
  namespace: default
  selfLink: /apis/packages.operators.coreos.com/v1/namespaces/default/packagemanifests/eclipse-che
spec: {}
status:
  catalogSource: community-operators
  catalogSourceDisplayName: Community Operators
  **catalogSourceNamespace: openshift-marketplace**
  catalogSourcePublisher: Red Hat

=> catalogSourceNamespace: openshift-marketplace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Projects
None yet
Development

No branches or pull requests

3 participants