ComputeManager.cleanup_host fails when there are waiting events: ValueError: Field value network-vif-plugged-ce531f90-199f-48c0-816c is invalid
Bug #1760303 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Dan Smith | ||
Ocata |
Triaged
|
Medium
|
Unassigned | ||
Pike |
Triaged
|
Medium
|
Unassigned | ||
Queens |
Fix Committed
|
Medium
|
Dan Smith |
Bug Description
The parsing in cancel_all_events() fails to account for names such as:
network-
Which can be constructed when registering the event using a tuple of the event name and tag:
So we almost need something like that make_key function but more like parse_key where using the known EVENT_NAMES we can split the event name to get the name and tag.
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Dan Smith (danms) |
To post a comment you must log in.
Seeing this in a functional test:
http:// logs.openstack. org/06/ 558006/ 1/check/ nova-tox- functional/ b74bcd5/ testr_results. html.gz
2018-03-30 23:37:19,432 ERROR [nova.service] Service error occurred during cleanup_host manager. cleanup_ host() manager. py", line 1166, in cleanup_host instance_ events. cancel_ all_events( ) manager. py", line 410, in cancel_all_events zuul/src/ git.openstack. org/openstack/ nova/.tox/ functional/ local/lib/ python2. 7/site- packages/ oslo_versionedo bjects/ base.py" , line 307, in __init__ zuul/src/ git.openstack. org/openstack/ nova/.tox/ functional/ local/lib/ python2. 7/site- packages/ oslo_versionedo bjects/ base.py" , line 72, in setter zuul/src/ git.openstack. org/openstack/ nova/.tox/ functional/ local/lib/ python2. 7/site- packages/ oslo_versionedo bjects/ fields. py", line 195, in coerce coerce( obj, attr, value) zuul/src/ git.openstack. org/openstack/ nova/.tox/ functional/ local/lib/ python2. 7/site- packages/ oslo_versionedo bjects/ fields. py", line 317, in coerce vif-plugged- ce531f90- 199f-48c0- 816c is invalid
Traceback (most recent call last):
File "nova/service.py", line 286, in stop
self.
File "nova/compute/
self.
File "nova/compute/
tag=tag, data={})
File "/home/
setattr(self, key, kwargs[key])
File "/home/
field_value = field.coerce(self, name, value)
File "/home/
return self._type.
File "/home/
raise ValueError(msg)
ValueError: Field value network-
}}}