Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

wrong version in error message #106

Closed
lalitpercona opened this issue Apr 21, 2020 · 3 comments
Closed

wrong version in error message #106

lalitpercona opened this issue Apr 21, 2020 · 3 comments

Comments

@lalitpercona
Copy link

lalitpercona commented Apr 21, 2020

Describe the bug
Using dbdeployer version 1.47.0 and trying to deeply pxc topology for 5.6.36 version but it's failing with error creating sandbox: ''Xtradb Cluster' requires flavor 'pxc' version '5.6.14'+'
looks like error message should have 5.7.14+ because even for 5.6.36 version which higher than 5.6.14+ dbdeployer deploy replication --topology=pxc failing.

It looks like its typo bug.

$ dbdeployer --version
dbdeployer version 1.47.0

for old dbdeployer version error message is valid and it has a version as 5.7.14+ in the error message.

Example:
dbdeployer version 1.33.0
$ dbdeployer deploy replication --topology=pxc ./5.6.36
error creating sandbox: ''Xtradb Cluster' requires flavor 'pxc' version '5.7.14'+'

To Reproduce
$ dbdeployer deploy replication --topology=pxc /opt/percona_xtradb_cluster/5.6.36
error creating sandbox: ''Xtradb Cluster' requires flavor 'pxc' version '5.6.14'+'

@datacharmer
Copy link
Owner

Hi
Thanks for reporting this issue.
The error message is correct. Percona XtraDB cluster can be installed since version 5.6.14, as you can see in the downloads page.

The error message is triggered when dbdeployer doesn't recognise the binaries as being PXC. It may happen if you were using the binaries for the regular server.

There is, however, a different problem in the current version of dbdeployer. It fails to properly deploy PXC 5.6, because of a change made to satisfy PXC 8.0.
It will be fixed in the next release (1.48.0), which I have verified that can deploy PXC 5.6.36+.

@lalitpercona
Copy link
Author

Hi,
That's great, thank you for the update. I will try a new version.
and Thank you for the wonderful Tool :)

datacharmer added a commit that referenced this issue May 1, 2020
* Add `--change-master-options` (Issue #107)
* Add more tests
* Docker test now downloads latest 8.0 binaries instead of using built-in.
* Improve PXC handling of defaults across versions
* Fix defaults for PXC 5.6, which were broken after introducing support for PXC8.0 (Issue #106)
@datacharmer
Copy link
Owner

Fixed in v1.49.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants