Skip to content

fix: PXC tutorial installs PXC 8.4 to match the 8.4 base AMI - #71

Merged
michaelcoburn merged 1 commit into
percona:mainfrom
michaelcoburn:fix/pxc-84
Jun 2, 2026
Merged

fix: PXC tutorial installs PXC 8.4 to match the 8.4 base AMI#71
michaelcoburn merged 1 commit into
percona:mainfrom
michaelcoburn:fix/pxc-84

Conversation

@michaelcoburn

Copy link
Copy Markdown
Collaborator

Closes #20

Root cause (validated live)

migrate_async_to_pxc.yml enabled pxc-80 and installed PXC 8.0.45, but the base AMI is now Percona Server 8.4.7. PXC 8.0's mysqld refuses to start on an 8.4 datadir:

[ERROR] [MY-014061] [InnoDB] Invalid MySQL server downgrade:
        Cannot downgrade from 80407 to 80045. Downgrade is only permitted between patch releases.
[ERROR] [Server] Data Dictionary initialization failed.  [Server] Aborting

So systemctl start mysql@bootstrap crashed on mysql1 and the cluster never formed — mysql2/mysql3 never even reached SST. This is the current cause of #20. The issue's original cause (the early-plugin-load = keyring_file.so keyring) is already gone — the AMI uses the component keyring, which initializes fine (Keyring component initialized successfully).

Fix

One line: percona-release enable pxc-80pxc-84-lts, so PXC matches the PS 8.4 datadir.

Verified end-to-end (us-west-2, full lab path)

make setup class=pxcansible-playbook migrate_async_to_pxc.yml:

Before (pxc-80) After (pxc-84-lts)
bootstrap mysql1 crashes (downgrade error) playbook completes, failed=0
no cluster percona-xtradb-cluster-server-8.4.8 installed
mysql2/3 never SST mysql2/mysql3 complete SST
wsrep_cluster_size=3, status=Primary, state=Synced

Teardown verified clean afterward.

migrate_async_to_pxc.yml enabled the pxc-80 repo and installed PXC 8.0,
but the base AMI is now Percona Server 8.4. PXC 8.0's mysqld refuses to
start on an 8.4 datadir:

  [ERROR] [MY-014061] [InnoDB] Invalid MySQL server downgrade:
  Cannot downgrade from 80407 to 80045.

So `systemctl start mysql@bootstrap` crashed on mysql1 and the cluster
never formed (mysql2/mysql3 never reached SST). This is the current cause
of #20 -- the original keyring cause (early-plugin-load) is already gone;
the AMI uses the component keyring, which initializes fine.

Switch the repo to pxc-84-lts so PXC matches the PS 8.4 datadir.

Verified end-to-end (us-west-2): with pxc-84-lts the playbook completes,
PXC 8.4.8 installs, mysql1 bootstraps, mysql2/mysql3 complete SST, and the
cluster reports wsrep_cluster_size=3 / status=Primary / state=Synced.

Closes #20

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@michaelcoburn
michaelcoburn merged commit 976ce7b into percona:main Jun 2, 2026
4 checks passed
@michaelcoburn
michaelcoburn deleted the fix/pxc-84 branch June 2, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PXC tutorial fails when trying to SST the 2nd/3rd node

1 participant