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

[RHODA][R4] Operator Metrics - Grafana displays deleted DBSC information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 0.3.0 [R4]
    • None
    • None
    • False
    • None
    • False
    • No
    • Hide
      • Login to Openshift and Install RHODA operator with version 0.3.0. Make sure the connection established between the cluster and grafana
      • Create a DBaaSInventory for a database provider (Import provider account) with a friendly name
      • Navigate to Developer topology and Create a new project
      • Click on "+Add" button and Select Connect Hosted database service tile
      • Select the database provider tile for which the provider account has been imported
      • On Add to topology screen select the provider account with the friendly name 
      • Select any of the database instance under the provider account and click on "Add to Topology" button
      • Once the DBSC instance created on the topology screen, navigate to grafana and select the cluster 
      • Make sure the records added under Total connection count and Total Provider account count widgets.
      • Navigate to Openshift and Delete the provider account/DBaaSInventory from Operators --> Installed Operators screen
      • Now this would be reflected in Grafana, but the Connection count would still holds the DBSC data as it is still present on Topology screen
      • Navigate to Topology screen for the DBSC and delete the DBSC connection
      • Now we are expecting the Grafana to remove the row for the deleted DBSC, but it still exist

      Note: This works well if we delete DBSC connection first and then DatabaseInventory. But if we mix up the order then this is not working as expected.

      Show
      Login to Openshift and Install RHODA operator with version 0.3.0. Make sure the connection established between the cluster and grafana Create a DBaaSInventory for a database provider (Import provider account) with a friendly name Navigate to Developer topology and Create a new project Click on "+Add" button and Select Connect Hosted database service tile Select the database provider tile for which the provider account has been imported On Add to topology screen select the provider account with the friendly name  Select any of the database instance under the provider account and click on "Add to Topology" button Once the DBSC instance created on the topology screen, navigate to grafana and select the cluster  Make sure the records added under Total connection count and Total Provider account count widgets. Navigate to Openshift and Delete the provider account/DBaaSInventory from Operators --> Installed Operators screen Now this would be reflected in Grafana, but the Connection count would still holds the DBSC data as it is still present on Topology screen Navigate to Topology screen for the DBSC and delete the DBSC connection Now we are expecting the Grafana to remove the row for the deleted DBSC, but it still exist Note:  This works well if we delete DBSC connection first and then DatabaseInventory. But if we mix up the order then this is not working as expected.
    • Low

      Description:

      Grafana displays the deleted DBSC information under "Total Connections Count" widget

      Expected Result:

      Deleted information should not be displayed

      Actual Result:

      Deleted DBSC information displayed

       

        1. dbsc_abq9w9hyr9bljwer8z4hg9mr8
          2 kB
        2. image-2022-09-22-20-32-18-248.png
          image-2022-09-22-20-32-18-248.png
          126 kB
        3. image-2022-09-22-20-32-54-896.png
          image-2022-09-22-20-32-54-896.png
          111 kB
        4. image-2022-09-22-20-33-31-233.png
          image-2022-09-22-20-33-31-233.png
          91 kB
        5. image-2022-09-22-20-34-36-666.png
          image-2022-09-22-20-34-36-666.png
          37 kB
        6. image-2022-09-22-20-35-02-699.png
          image-2022-09-22-20-35-02-699.png
          40 kB
        7. image-2022-09-22-20-36-09-651.png
          image-2022-09-22-20-36-09-651.png
          155 kB
        8. image-2022-09-22-20-36-33-114.png
          image-2022-09-22-20-36-33-114.png
          203 kB
        9. fix.zip
          2.45 MB

              ahameed-redhat.com Abdul Hameed
              rhn-support-rravi Rajan Ravi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: