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

Commit 99339bf7892fcc1201e06e6a8105b0bb4681c4f4 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

Metadata