Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-6688

OLM details page crashes on incomplete ClusterServiceVersion resource

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • 4.12.z
    • 4.12.z
    • Dev Console
    • None
    • Low
    • ODC Sprint 231
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • NA

    Description

      Description of problem:
      When creating a incomplete ClusterServiceVersion resource the OLM details page crashes (on 4.11).

      apiVersion: operators.coreos.com/v1alpha1
      kind: ClusterServiceVersion
      metadata:
        name: minimal-csv
        namespace: christoph
      spec:
        apiservicedefinitions:
          owned:
            - group: A
              kind: A
              name: A
              version: v1
        customresourcedefinitions:
          owned:
            - kind: B
              name: B
              version: v1
        displayName: My minimal CSV
        install:
          strategy: ''
      

      Version-Release number of selected component (if applicable):
      Crashes on 4.8-4.11, work fine from 4.12 onwards.

      How reproducible:
      Alway

      Steps to Reproduce:
      1. Apply the ClusterServiceVersion YAML from above
      2. Open the Admin perspective > Installed Operator > Operator detail page

      Actual results:
      Details page crashes on tab A and B.

      Expected results:
      Page should not crash

      Additional info:
      Thi is a follow up on https://bugzilla.redhat.com/show_bug.cgi?id=2084287

      Attachments

        Issue Links

          Activity

            People

              cjerolim Christoph Jerolimov
              cjerolim Christoph Jerolimov
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: