[nailgun] receiverd.py fails to update nodes error_msg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Roman Prykhodchenko | ||
Mitaka |
Fix Released
|
High
|
Roman Prykhodchenko |
Bug Description
Detailed bug description:
while debuging plugin in task based deployment mode I see next error repeated 3 times in receiverd.log:
2016-04-25 16:18:40.142 INFO [7f8155019740] (receiver) RPC method deploy_resp received: {"task_uuid": "17569447-
2016-04-25 16:18:40.166 DEBUG [7f8155019740] (receiver) Updating node 11 - set error_msg to All nodes are finished. Failed tasks: Task[nsm/11], Task[puppet/11], Task[keepalived
2016-04-25 16:18:40.166 DEBUG [7f8155019740] (receiver) Updating node 11 - set error_type to deploy
2016-04-25 16:18:40.166 DEBUG [7f8155019740] (receiver) Updating node 11 - set status to error
2016-04-25 16:18:40.166 DEBUG [7f8155019740] (receiver) Updating node 11 - set progress to 100
2016-04-25 16:18:40.191 ERROR [7f8155019740] (receiverd) Traceback (most recent call last):
File "/usr/lib/
callback(
File "/usr/lib/
task_
File "/usr/lib/
"task_uuid": task_uuid
File "/usr/lib/
task = Task.get_
File "/usr/lib/
res = q.first()
File "/usr/lib64/
ret = list(self[0:1])
File "/usr/lib64/
return list(res)
File "/usr/lib64/
self.
File "/usr/lib64/
util.
File "/usr/lib64/
reraise(
File "/usr/lib64/
self.flush()
File "/usr/lib64/
self.
File "/usr/lib64/
transaction
File "/usr/lib64/
compat.
File "/usr/lib64/
flush_
File "/usr/lib64/
rec.
File "/usr/lib64/
uow
File "/usr/lib64/
mapper, table, update)
File "/usr/lib64/
execute(
File "/usr/lib64/
return meth(self, multiparams, params)
File "/usr/lib64/
return connection.
File "/usr/lib64/
compiled_sql, distilled_params
File "/usr/lib64/
context)
File "/usr/lib64/
exc_info
File "/usr/lib64/
reraise(
File "/usr/lib64/
context)
File "/usr/lib64/
cursor.
DataError: (raised as a result of Query-invoked autoflush; consider using a session.
[SQL: 'UPDATE nodes SET error_msg=
Steps to reproduce:
Expected results:
no tracebacks in logs.
Reproducibility:
always.
Workaround:
not found.
Description of the environment:
Operation system: FUEL9 build 4010 on Centos7
Versions of components: LCM Plugin
Reference architecture: cluster with at least 1 controller and 1 LCM controller.
Network model: Neutron with VLAN segmentation
Related projects installed: LCM plugin https:/
Changed in fuel: | |
milestone: | none → 9.0 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → Medium |
milestone: | 9.0 → 10.0 |
status: | New → Confirmed |
tags: | added: area-python |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Roman Prykhodchenko (romcheg) |
Fix proposed to branch: master /review. openstack. org/326390
Review: https:/