Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-11504

Unable to upgrade to 2.15 when non-root user is used with external MySQL DB

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • RHOAM Sprint 68
    • Important

      When upgrading 3scale operator from 2.14 to 2.15, the preflight checks fail with the following message if non-root user is specified in URL of system-database secret for external MySQL DB.

      Preflights failed - Failed to verify system database version. Ensure
      that the system-database secret is correctly configured. Error: authentication information in ''URL'' field of ''system-database'' secret must contain ''root''as the username - re-running preflights in 10 minutes

      https://github.com/3scale/3scale-operator/blob/master/pkg/helper/system_database_helper.go#L34

      But any user who has full permissions can be specified when using external MySQL DB.

      https://docs.redhat.com/en/documentation/red_hat_3scale_api_management/2.14/html/installing_red_hat_3scale_api_management/configure-external-mysql-database#external-mysql-database-limitations

       

              Unassigned Unassigned
              rhn-support-hmiura Hiroko Miura
              Matej Dujava Matej Dujava
              Carl Kyrillos Carl Kyrillos
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: