Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-22286

Implement Designate API integration for zone validation and TSIG key management

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • designate-operator
    • None
    • Moderate

      Goal: 

      Integrate gophercloud to query the Designate API for two critical operations: (1) verify whether a pool contains active DNS zones before allowing pool removal, and (2) retrieve TSIG keys for multipool authentication configuration. This enables safe pool lifecycle management and automated TSIG secret generation.

      Acceptance Criteria:

      Zone Validation:

        - Verify gophercloud client initialization follows openstack-k8s-operators patterns
        - Verify function queries Designate zones API for zones associated with a specific pool ID
        - Verify pool removal (orphaned StatefulSet) is blocked when active zones exist in that pool
        - Verify API errors are handled gracefully with appropriate logging and status conditions

       

      TSIG Key Querying (Custom Implementation):

        - Verify TSIG keys can be listed and filtered by pool resource_id (UUID)

        - Verify TSIG keys are being managed in a fully automated way in migrations (single pool to multipool and vice versa)
        - Verify TSIG key details (name, algorithm, secret) are extracted correctly
        - Verify error handling for missing TSIG keys or API failures

              oschwart1 Omer Schwartz
              oschwart1 Omer Schwartz
              rhos-dfg-networking-squad-vans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: