Uploaded image for project: 'Database as a Service'
  1. Database as a Service
  2. DBAAS-911

[RHODA][Metrics] - When deleting a provider account and then deleting the instance from CRD, the instance is displayed twice in different statuses at the same time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Important

      Description
      When deleting a provider account, and then deleting an instance under it from CustomResourceDefinitions, the instance is displayed twice in 2 statuses at the same time

      Steps to reproduce:
      1. Import a provider account
      2. Provision an instance under that provider account
      3. Delete the provider account --> The instance is still displayed as Ready
      4. Delete the instance from RHODA CRD

      Expected result:
      The instance will be deleted and removed from Thanos and Grafana or will be displayed only in 'Fail' status. This will happen whenever deleting the provider account that contains it or when deleting the instance from RHODA

      Actual result:
      The instance is displayed twice in different statuses: True and False(Even has the same creation time)
      The False status reason is DBaaSInventoryNotFound.
      **When doing it in RDS, the statuses are 'Ready' and 'Unknown'
      Environment:
      https://console-openshift-console.apps.rhoda-auto.vsw5.s1.devshift.org/

              itsikkan Itsik Kanias
              itsikkan Itsik Kanias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: