#5601 The ipa -e skip_version_check=1 still issues incompatibility error when called against RHEL 6 server
Closed: Fixed None Opened 8 years ago by jcholast.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1297811

Description of problem:

The change from bug 1211589 / ticket
https://fedorahosted.org/freeipa/ticket/4768 introduced new option
skip_version_check which is documented in man default.conf(5) as

    skip_version_check <boolean>

        Skip client vs. server API version checking. Can lead to errors/strange
behavior when newer clients talk to older servers. Use with caution.

It works when used with RHEL 7.2 IPA client enrolled against (say) RHEL 7.1
server but does not work against RHEL 6 server.

Version-Release number of selected component (if applicable):

ipa-admintools-4.2.0-15.el7.x86_64

On server, ipa-server-3.0.0-47.el6.x86_64 is installed.

How reproducible:

Deterministic.

Steps to Reproduce:
1. ipa user-find
2. ipa -e skip_version_check=1 user-find

Actual results:

# ipa user-find
ipa: ERROR: 2.156 client incompatible with 2.49 server at
u'https://ipa.example.com/ipa/xml'
# ipa -e skip_version_check=1 user-find
ipa: ERROR: 2.51 client incompatible with 2.49 server at
u'https://ipa.example.com/ipa/xml'

Expected results:

# ipa user-find
ipa: ERROR: 2.156 client incompatible with 2.49 server at
u'https://ipa.example.com/ipa/xml'
# ipa -e skip_version_check=1 user-find

users listed, no error

Additional info:

master:

  • 6b2b173 ipalib: assume version 2.0 when skip_version_check is enabled

ipa-4-3:

  • 51d5150 ipalib: assume version 2.0 when skip_version_check is enabled

ipa-4-2:

  • 7a4a3b0 ipalib: assume version 2.0 when skip_version_check is enabled

Metadata Update from @jcholast:
- Issue assigned to jcholast
- Issue set to the milestone: FreeIPA 4.2.4

7 years ago

Login to comment on this ticket.

Metadata