Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-19948

Don't allow resources to have an empty/null availability status

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None
    • Sources Sprint 47, Sources Sprint 48, Sources Sprint 49, Sources Sprint 50, Sources Sprint 51, Sources Sprint 52

      We spotted an issue where the "unavailable sources monitor" wouldn't pick sources with an empty availability status. That might be one of the causes of the very recent issue we've been dealing with, regarding not being able to see the availability status checks for a particular source related to a satellite.

      This might imply:

      • Checking that the validators run on create/update of sources, applications and endpoints.
      • Create a migration to update all the empty and null availability statuses to "unavailable".
      • Create a NOT NULL migration for the column.
      • Default empty or nil availability statuses to "in_progress", and update the monitor to treat them along with "unavailable" sources.

      Lindani suggested[1] that we should avoid having NULLs and empty values on that column.

              jlindgre@redhat.com Jacob Lindgren
              mbarcina@redhat.com Mikel Barcina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: