Since https://github.com/dogtagpki/pki/pull/4900 was merged, PKI API is different. IPA code needs updates to use it properly.
For example, in vault plugin we have:
$ git grep AccountClient ipaserver/plugins/vault.py: kra_account = pki.account.AccountClient(kra_client.connection) ipaserver/plugins/vault.py: kra_account = pki.account.AccountClient(kra_client.connection) ipaserver/plugins/vault.py: kra_account = pki.account.AccountClient(kra_client.connection)
while now AccountClient accepts different class:
- :param connection: connection to be associated with the AccountClient - :type connection: pki.PKIConnection + :param parent: PKIClient object + :type parent: pki.client.PKIClient
Without changes we'll get a warning:
+ logger.warning( + '%s:%s: The PKIConnection parameter in AccountClient.__init__() has been deprecated. ' + 'Provide PKIClient instead.', + inspect.stack()[1].filename, inspect.stack()[1].lineno)
There are more changes like that, see the referenced PR.