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

implement MariaDBAccount consumption in all mariadb-enabled operators

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • OSPRH-811 - Red Hat OpenStack 18.0 Greenfield Deployment
    • ?
    • ?
    • PIDONE Board
    • PIDONE

      Right now, downstream controllers such as that of nova, glance, neutron, keystone have fields for databaseUser and Secret, which is passed along to create a MariaDBDatabase instance with that username and password; the username right now must match the configured database name used by that controller as these cannot be separate.

       

      The goal is to replace databaseUser with databaseAccount in each CRD, and use new API functions in mariadb-operator to ensure that a MariaDBAccount + Secret exists at controller init time, and to consume the new username/pw from that API.  These changes will allow operators to correctly consume MariaDBAccounts which will later be created by openstack-operator ahead of time.    This change delivers rotateable username+password functionality to each operator, where changing databaseAccount to a new name will generate and deploy for a new username/pw in mariadb for that instance.

      The initial proof of concept is in glance at https://github.com/openstack-k8s-operators/glance-operator/pull/426

       

        1.
        convert barbican-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        2.
        implement MariaDBAccount creation in openstack-operator for all sub-operators for which it is curating database connectivity Sub-task Closed Undefined Michael Bayer
        3.
        convert cinder-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        4.
        convert designate-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        5.
        convert glance-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        6.
        convert heat-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        7.
        convert ironic-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        8.
        convert keystone-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        9.
        convert manila-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        10.
        convert neutron-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        11.
        convert nova-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        12.
        convert octavia-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Tom Weininger
        13.
        convert placement-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer
        14.
        convert telemetry-operator to use MariaDBAccount name in its CRD rather than databaseUser / Secret Sub-task Closed Undefined Michael Bayer

            Unassigned Unassigned
            rhn-engineering-mbayer Michael Bayer
            rhos-dfg-pidone
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: