Correct insufficient name for external process in manager log

Let's just make the log more precise.

But remember the inconsitent use of the ProcessManager:
The following external processes's ProcessManager
did not set the 'service' param:
1. HA router IP monitor
2. DHCP dnsmasq
3. keepalived(vrrp)
4. metadata-proxy

The following set:
1. dibbler
2. radvd

Change-Id: I93b742ff1e52f15e5541ef3e7c8e844c70e8dd6c
Closes-Bug: #1514728
This commit is contained in:
LIU Yulong 2015-11-10 16:27:04 +08:00
parent b1999202b8
commit c000ae3c1e
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class ProcessMonitor(object):
LOG.error(_LE("%(service)s for %(resource_type)s "
"with uuid %(uuid)s not found. "
"The process should not have died"),
{'service': pm.service,
{'service': service_id.service,
'resource_type': self._resource_type,
'uuid': service_id.uuid})
self._execute_action(service_id)