#6156 Version checks in replica prepare/install is too strict
Opened 7 years ago by simo. Modified 7 years ago

Commit 99339bf introduced a check to prevent installing a replica against an older server.

This check is way too strict, as it includes distribution relase version in the comparison such that 4.4.0-1.1 is considered too old compared to 4.4.0-1.2
Version check should be limited to main version, unfortunately this is not possible with the LooseVersion class chosen so the whole commit should be scrapped and rebuilt with a better version parsing library.


Relevant log from the install:

ipa.ipapython.install.cli.install_tool(Replica): ERROR    Cannot install replica of a server of higher version (4.4.0.201608020925GIT08b7a1e) thanthe local version (4.4.0.201608020900GIT0050f2e)
ipa.ipapython.install.cli.install_tool(Replica): ERROR    The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information

Not a regression. Affects mainly devel versions and not released version therefore moving to Future Releases

Metadata Update from @simo:
- Issue assigned to jcholast
- Issue set to the milestone: Future Releases

7 years ago

Login to comment on this ticket.

Metadata