Percona 5.5 not available on Xenial, adding node fails because of that
I am trying to add a new node to my Galera cluster. The existing nodes are Ubuntu 14.04 and the new node is Ubuntu 16.04. I am running the Percona xtradb cluster in version 5.5, installed via ClusterControl on the existing nodes.
When I add a new node the install fails with this message:
failed to setup galera: 'DEBIAN_FRONTEND=noninteractive LC_ALL=C apt-get -o Dpkg::Options::='--force-confnew' -qq -y --force-yes install percona-xtradb-cluster-galera- percona-xtradb-cluster-client-5.5 percona-xtradb-cluster-server-5.5 percona-toolkit percona-xtrabackup 2>&1' failed: E: Package 'percona-xtradb-cluster-client-5.5' has no installation candidate
E: Package 'percona-xtradb-cluster-server-5.5' has no installation candidate
Which is understandable because there is no version 5.5 for Xenial (Ubuntu 16.04).
Any idea what i can do? Do I need to upgrade the existing nodes first? Can I not mix different versions of the DB? If I can, how do I tell ClusterControl to install another version?
Thanks for the help.
-
Hi Andreas,
Strictly speaking, mixing different major version of Galera nodes is prohibited. So you either have to upgrade the existing nodes to PXC 5.6 or use 14.04 for the new node and stick at PXC 5.5.
My recommendation - I would say that it's time for you to upgrade the existing nodes to PXC 5.6 before introducing a new node into the cluster. Performing major version upgrade can be done online or offline as shown in this guide: https://www.percona.com/doc/percona-xtradb-cluster/5.6/upgrading_guide_55_56.html .
Once added, ClusterControl will detect the new version automatically and you should be able to add the Xenial node.
Regards,
Ashraf
Please sign in to leave a comment.
Comments
1 comment