Bug 1399767

Summary: ipa vault operations are not possible with an older server
Product: [Fedora] Fedora Reporter: Illya <dev>
Component: freeipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: abokovoy, dkupka, ipa-maint, jcholast, jhrozek, mbasti, mkosek, pvoborni, rcritten, ssorce, tkrizek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-24 13:09:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
verbose log none

Description Illya 2016-11-29 16:58:03 UTC
Created attachment 1225914 [details]
verbose log

Description of problem:

It is not possible to perform vault operations between freeipa-4.4 client and freeipa-4.2 server

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

Client: freeipa-client-4.4.2-1.fc25.x86_64
Server: ipa-server-4.2.0-15.0.1.el7.centos.19.x86_64

How reproducible:

Always


Steps to Reproduce:

1. ipa vault-archive PrivateVault --data=11223344556677889900
ipa: ERROR: 2.215 client incompatible with 2.156 server at 'https://ipa.domain.net/ipa/xml'

2. ipa -e skip_version_check=1 vault-archive PrivateVault --data=11223344556677889900
ipa: ERROR: an internal error has occurred
3.

Actual results:

It is not possible to archive or retrieve data to/from vault on CentOS7-server with f25-client

Expected results:

# Tested from CentOS7 client

$ ipa vault-archive PrivateVault --data=11223344556677889900
---------------------------------------
Archived data into vault "PrivateVault"
---------------------------------------

$ ipa vault-retrieve PrivateVault 
----------------------------------------
Retrieved data from vault "PrivateVault"
----------------------------------------
  Data: 11223344556677889900

Additional info:

Comment 3 David Kupka 2016-12-06 14:08:45 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6539

Comment 5 Tomas Krizek 2017-03-24 13:09:56 UTC
Fixed in 4.4.3: 
https://bodhi.fedoraproject.org/updates/FEDORA-2016-ca1d1e1dc1