infoblox backend, TypeError: format requires a mapping
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Undecided
|
Junbo Jiang |
Bug Description
With infoblox backend, failed to delete zone when the zone already delete in infoblox, the designate-worker display error
Traceback (most recent call last):
File "/usr/lib64/
msg = self.format(record)
File "/usr/lib64/
return fmt.format(record)
File "/usr/lib/
return logging.
File "/usr/lib64/
record.message = record.getMessage()
File "/usr/lib64/
msg = msg % self.args
TypeError: format requires a mapping
Logged from file object_
there is a wrong args in designate/
190 def _delete_
191 ib_object_ref = None
192 warn_msg = _('Infoblox %(obj_type)s will not be deleted because'
193 ' it cannot be found: %(payload)s')
194 try:
195 ib_object_ref = self._get_
196 payload)
197 if not ib_object_ref:
198 LOG.warning(
wrong args in LOG.warning, should be LOG.warning(
Changed in designate: | |
assignee: | nobody → junbo (junbo) |
Changed in designate: | |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/517823 /git.openstack. org/cgit/ openstack/ designate/ commit/ ?id=33836169590 c01c6236921f540 b9c2798043bc81
Committed: https:/
Submitter: Zuul
Branch: master
commit 33836169590c01c 6236921f540b9c2 798043bc81
Author: junbo <email address hidden>
Date: Sun Nov 5 22:39:54 2017 +0800
correct LOG.warning args in object_ manipulator. py
Change-Id: Ifa054afd6e0342 f805eb7eccd08c9 21f740342c9
Closes-Bug: #1730194