#3963 API option check being run before version check produces confusing error message
Closed: Fixed None Opened 5 years ago by mkosek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 6): Bug 1015481

Description of problem:

After successfully installing RHEL-65 ipa client (ipa-client-3.0.0-37) with
RHEL-64 IPA server (ipa-server-3.0.0-26.el6_4.4),
When i tried to run ipa command on client, following error message shown
instead of client incompatible error message

" ipa: ERROR: Unknown option: no_members "

Version-Release number of selected component (if applicable):
ipa-client-3.0.0-37
ipa-server-3.0.0-26.el6_4.4

How reproducible:
Always

Steps to Reproduce:
1.Install RHEL-65 ipa client (ipa-client-3.0.0-37) with RHEL-64 ipa server
(ipa-server-3.0.0-26.el6_4.4).
2.Run following ipa command on client
   ipa user-show admin

Actual results:
[root@client65x86 ~]# ipa user-show admin
ipa: ERROR: Unknown option: no_members
[root@client65x86 ~]#

Expected results:
# ipa user-show admin
ipa: ERROR: 2.49 client incompatible with 2.46 server at
u'https://vm-201.idm.lab.eng.brq.redhat.com/ipa/xml'

Starting to shape next release

This should be done rather sooner than later as the bug already confused several users.

Fixed upstream:[[BR]]
ipa-3-0: 220539a [[BR]]
ipa-3-1: 98f5abe [[BR]]
ipa-3-2: b4d2637 [[BR]]
ipa-3-3: 7486140

master:

  • ba53299 ipalib.frontend: Do API version check before converting arguments

Metadata Update from @mkosek:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 3.3.6 (bug fixing)

2 years ago

Login to comment on this ticket.

Metadata