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

OLM details page crashes on incomplete ClusterServiceVersion resource

    XMLWordPrintable

Details

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

      None

      Show
      None
    • Hide
      * Previously due to a missing definition for `spec.provider`, the *Operator details* page failed when trying to show `ClusterServiceVersion`. With this update, the user interface works without `spec.provider` and the *Operator details* page does not fail. (link:https://issues.redhat.com/browse/OCPBUGS-6690[*OCPBUGS-6690*])
      Show
      * Previously due to a missing definition for `spec.provider`, the *Operator details* page failed when trying to show `ClusterServiceVersion`. With this update, the user interface works without `spec.provider` and the *Operator details* page does not fail. (link: https://issues.redhat.com/browse/OCPBUGS-6690 [* OCPBUGS-6690 *])
    • Bug Fix
    • Done

    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:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: