#553 catch 'Invalid method' in ipa-client and report better error
Closed: Fixed None Opened 13 years ago by rcritten.

When trying to use the v2 client to connect to a v1 server the join will fail because there is no join call in v1. We should catch this and provide some better error reporting.


Just information: original IPA v2 client output when joining v1 server was the following:

$ sudo ipa-client-install --domain=idm.lab.bos.redhat.com --server=vm-092.idm.lab.bos.redhat.com -p admin
...
Continue to configure the system with these values? [no]: yes
Password for admin@IDM.LAB.BOS.REDHAT.COM:  
Joining realm failed: RPC failed at server.  Traceback (most recent call last):
  File "/usr/share/ipa/ipaserver/ipaxmlrpc.py", line 179, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/share/ipa/ipaserver/ipaxmlrpc.py", line 205, in _dispatch
    raise Fault(1, "Invalid method: %s" % method)
Fault: <Fault 1: u'Invalid method: join'>

Fixed by 309ed42 as a part of RC1.

Metadata Update from @rcritten:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.0.1 RC (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata