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

BZ#2331327 Minor upgrade to RHOSP 17.1.4 is blocked by "Check if Galera needs upgrade" check

XMLWordPrintable

    • 5
    • False
    • False
    • No Docs Impact
    • openstack-tripleo-heat-templates-14.3.1-17.1.20250312101345.e7c7ce3.el9ost
    • None
    • Hide
      .Galera-related minor update bug fixed
      Cause: As part of fixing https://bugzilla.redhat.com/show_bug.cgi?id=2269509 the upgrade process for mysql was reworked. In some circumstances, this change results the in-place update process failing.

      Consequence: The in-place update fails and cannot be recovered without applying a hotfix.

      Fix: The assertion has been made more robust, resolving the issue for both in-place upgrades and in-place updates.

      Result: The in-place update & upgrade processes now work correctly.
      Show
      .Galera-related minor update bug fixed Cause: As part of fixing https://bugzilla.redhat.com/show_bug.cgi?id=2269509 the upgrade process for mysql was reworked. In some circumstances, this change results the in-place update process failing. Consequence: The in-place update fails and cannot be recovered without applying a hotfix. Fix: The assertion has been made more robust, resolving the issue for both in-place upgrades and in-place updates. Result: The in-place update & upgrade processes now work correctly.
    • Release Note Not Required
    • Important

      Description of problem:
      Minor upgrade in customer's deployment (openstack overcloud update run) is blocked with the following error:
      2024-12-09 17:19:07,011 p=1046527 u=stack n=ansible | 2024-12-09 17:19:07.010699 | 566fb166-00a2-8ae7-20cc-000000000146 | FATAL | assert | hostname | error={
      "assertion": "mysql_upgrade_needed.stdout != \"mysql already upgraded\"",
      "changed": false,
      "evaluated_to": false,
      "msg": "MYSQL upgrade run was skipped during FFWD. RHBZ#2269509 you need to run openstack overcloud upgrade run --limit mysql --playbook <stack>/upgrade_steps_playbook.yaml --stack <stack>. This will cause temporary API outage!"
      }

      This error is logged despite the fact that in ansible debug logs we see that UPGRADE_SCRIPT was executed successfully and returns "mysql already upgraded" as an output.

      This problem has potential to impact many customers.

      Version-Release number of selected component (if applicable): RHOSP 17.1.4

      How reproducible: Run minor upgrade towards RHOSP 17.1.4

      Actual results: upgrade is blocked because of error in description despite the fact that mariadb container was updated properly

      Expected results: update works as expected if mysql is up to date

          There are no Sub-Tasks for this issue.

              rhn-engineering-lbezdick Lukas Bezdicka
              jira-bugzilla-migration RH Bugzilla Integration
              Juan Payno
              Archana Singh Archana Singh
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: