Uploaded image for project: 'Managed Service - API'
  1. Managed Service - API
  2. MGDAPI-4028

Error installing 3Scale 2.12 - looking for mysql database

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • None
    • None
    • 2
    • False
    • None
    • False
    • Yes
    • MGDAPI - Sprint 26

      WHAT
      Latest version of 0.9.0 (2.12) defaults to looking for a mysql db, as apposed to postgres.
      The below error is displayed in the 3Scale Operator.

      "error":"GetMysqlOptions reading secret options: 'URL' field of 'system-database' secret must contain 'mysql2' as the scheme part"
      

      HOW
      The APIManagerCR needs to have a system.database.postgresql: {} block in order for the operator to select the postgres rather than mysql reconciler.

      Issue may have been introduced in this PR:
      https://github.com/3scale/3scale-operator/pull/733

      NOTE: The Manifests from this PR can be used to recreate this issue:

      TESTS
      Ensure 3Scale installs and upgrades 0.9.0

      DONE

              dmoskale@redhat.com Denis Moskalenko
              bgallagh@redhat.com Brian Gallagher
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: