Uploaded image for project: 'OpenShift Edge Enablement'
  1. OpenShift Edge Enablement
  2. OCPEDGE-17

Provide detailed error messages in case provisioning fails

XMLWordPrintable

    • Enhance error messages
    • Product / Portfolio Work
    • OCPSTRAT-43LVM storage user experience enhancements
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • S
    • None
    • None

      Epic Goal

      When provisioning a new PV fails, for example due to lack of storage, the admin currently sees only a "ScheduleFailed" event with "not enough storage" from the kube scheduler.

      It can be hard to debug and understand whats going on behind the scenes, esp. when "spare-gb" setting is used. Looking at the VG the admin sees space available, still the provision fails (correctly).

      The goal of this epic to provide more detailed error messages to the admin. A "natural" place to look for is the "status" field of the PVC. Can we have a Error message like

      "Can't create PV because not enough storage. Node X has Y amount of storage free (Z Gb blocked by spare capacity) [repeat for all nodes]"

      Other error messages should also show up there (e.g. if PV creation fails due to invalid pvcreate options, errors from LVM, LVMD etc.)

      Why is this important?

      Provide a better user experience

      Done Checklist

      • CI - CI is running, tests are automated and merged.
      • Release Enablement <link to Feature Enablement Presentation>
      • DEV - Upstream code and tests merged: <link to meaningful PR or GitHub Issue>
      • DEV - Upstream documentation merged: <link to meaningful PR or GitHub Issue>
      • DEV - Downstream build attached to advisory: <link to errata>
      • QE - Test plans in Polarion: <link or reference to Polarion>
      • QE - Automated tests merged: <link or reference to automated tests>
      • DOC - Downstream documentation merged: <link to meaningful PR>

              sakbas@redhat.com Suleyman Akbas
              dfroehli42rh Daniel Fröhlich
              None
              Chad Scribner Chad Scribner
              Suleyman Akbas Suleyman Akbas
              Rahul Deore Rahul Deore
              Daniel Macpherson Daniel Macpherson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: