#4547 ca_renewal_master update plugin fails
Closed: Fixed None Opened 9 years ago by jcholast.

The ca_renewal_master update plugin fails with:

2014-09-17T13:07:42Z ERROR Upgrade failed with org.fedorahosted.certmonger.request.bad_arg: Unrecognized property name.
2014-09-17T13:07:42Z DEBUG Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ipaserver/install/upgradeinstance.py", line 145, in __upgrade
    self.modified = (ld.update(self.files, ordered=True) or
  File "/usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py", line 874, in update
    updates = api.Backend.updateclient.update(POST_UPDATE, self.dm_password, self.ldapi, self.live_run)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/plugins/updateclient.py", line 123, in update
    (restart, apply_now, res) = self.run(update.name, **kw)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/plugins/updateclient.py", line 143, in run
    return self.Updater[method](**kw)
  File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 1399, in __call__
    return self.execute(**options)
  File "/usr/lib/python2.7/site-packages/ipaserver/install/plugins/ca_renewal_master.py", line 63, in execute
    ca_name = certmonger.get_request_value(request_id, 'ca_name')
  File "/usr/lib/python2.7/site-packages/ipapython/certmonger.py", line 169, in get_request_value
    return request.prop_if.Get(DBUS_CM_REQUEST_IF, directive)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.fedorahosted.certmonger.request.bad_arg: Unrecognized property name.

The property name is 'ca_name' in the code, but it should be 'ca-name'.


This is 4.0.2 regression - thus moving to the right milestone directly.

master:

  • f680a63 Fix certmonger code causing the ca_renewal_master update plugin to fail

ipa-4-1:

  • 1a327cf Fix certmonger code causing the ca_renewal_master update plugin to fail

ipa-4-0:

  • 26188d7 Fix certmonger code causing the ca_renewal_master update plugin to fail

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

6 years ago

Login to comment on this ticket.

Metadata