The ironic driver needs to scale back how many errors it traces out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Low
|
Jim Rollenhagen | ||
python-ironicclient |
Fix Released
|
Low
|
Dmitry Tantsur |
Bug Description
The amount of tracing in this n-cpu log is a bit much:
Like these warnings:
2015-12-10 16:11:48.798 WARNING ironicclient.
2015-12-10 16:11:48.799 WARNING ironicclient.
Traceback (most recent call last):
File "/usr/local/
return func(*args, **kwargs)
File "/opt/stack/
purpose='port update') as task:
File "/opt/stack/
driver_
File "/opt/stack/
self.
File "/usr/local/
six.
File "/opt/stack/
self._lock()
File "/opt/stack/
reserve_node()
File "/usr/local/
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "/usr/local/
raise attempt.get()
File "/usr/local/
six.
File "/usr/local/
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "/opt/stack/
self.node_id)
File "/opt/stack/
db_node = cls.dbapi.
File "/opt/stack/
host=
NodeLocked: Node 1 is locked by host localhost, please retry after the current operation is completed.
(HTTP 409). Attempt 1 of 61
UPD from dtantsur:
The traceback has nothing to do with ironic client or driver. It gets added somewhere between ironic conductor and API levels.
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in python-ironicclient: | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → Dmitry Tantsur (divius) |
Changed in ironic: | |
assignee: | Dmitry Tantsur (divius) → nobody |
description: | updated |
Changed in ironic: | |
status: | Confirmed → Triaged |
tags: | added: low-hanging-fruit |
I see ironicclient logging errors/warnings here:
https:/ /github. com/openstack/ python- ironicclient/ blob/master/ ironicclient/ common/ http.py# L183
But I'm not sure where the stacktrace is coming from, unless ironic is sending that off in the error details somehow?