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

DBaaS Policy disableProvisions enabled on expose namespaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 0.4.0 [R5]
    • None
    • Low

      Description:{}

      DBaaSPolicy created with disableProvisions: true condition and connections.namespaces field with target namespaces list. On the source namespace, "Create Database Instance" field under Administrator view and "Create New Database Instance" button on Developer topology view has been disabled for the inventories as expected.

      But on the Target namespaces, "Create New Database Instance" button on Developer Topology screen was enabled for the inventories from source namespaces. However while navigating to provisioning screen, these inventories are not listed as expected.

      Expected Result:

      "Create New Database Instance" button on developer topology view should be disabled for the inventories with dbaas policy  disableProvisions: true

      Actual Result:

      "Create New Database Instance" button on developer topology view enabled

      Steps to Reproduce:

      1. Login to openshift with valid credentials and make sure the RHODA operator is installed
      2. Create a new namespace and create a DBaaSPolicy for the namespace with condition disableProvisions: true
      3. Add Database inventories for this namespace
      4. Under connections.namespaces list out the target namespaces where the inventories from this namespace should exposed
      5. Navigate to Database Services --> Database Access page, "Create Database Instance" button disabled
      6. Navigate to Developer view --> +Add --> Cloud Hosted Database --> Select Database provider Tile --> Add to Topology. On Add to topology screen, for the selected database inventory created on step 3, "Create New Database Instance" button is disabled
      7. Open the target namespace listed under connections.namespaces on step 4
      8. Navigate to  Developer view --> +Add --> Cloud Hosted Database --> Select Database provider Tile --> Add to Topology. On Add to Topology screen, the Database inventories created on Step 3 exposed and listed
      9. Button "Create New Database Instance" is enabled for the exposed database inventory
      10. Click on the "Create New Database Instance" button, on the provisioning screen the database inventories were not listed

        1. image-2023-02-09-13-52-20-802.png
          63 kB
          Rajan Ravi
        2. image-2023-02-09-13-52-24-460.png
          63 kB
          Rajan Ravi
        3. image-2023-02-09-13-53-51-907.png
          55 kB
          Rajan Ravi
        4. image-2023-02-09-13-54-43-177.png
          38 kB
          Rajan Ravi
        5. image-2023-02-09-13-54-48-648.png
          38 kB
          Rajan Ravi
        6. image-2023-02-14-18-52-02-067.png
          82 kB
          Rajan Ravi
        7. image-2023-02-14-18-52-05-344.png
          82 kB
          Rajan Ravi
        8. image-2023-02-14-18-53-20-753.png
          37 kB
          Rajan Ravi
        9. image-2023-02-14-18-53-39-903.png
          37 kB
          Rajan Ravi

              rhn-support-rravi Rajan Ravi
              rhn-support-rravi Rajan Ravi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: