Error during ComputeManager.update_available_resource: AttributeError: '_TransactionContextManager' object has no attribute 'async_
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Stephen Finucane | ||
Rocky |
Fix Committed
|
Medium
|
Matthew Thode | ||
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Rocky |
Fix Released
|
High
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Cosmic |
Fix Released
|
High
|
Unassigned |
Bug Description
Hi all,
I have a rocky openstack cluster. I am using Mariadb galera cluster (3 galera nodes Active/Active) behind haproxy.
When i resize or migrate an instance, I am hitting with the following errors.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
Traceback (most recent call last):
File "/usr/lib/
return getattr(target, method)(*args, **kwargs)
File "/usr/lib/
result = fn(cls, context, *args, **kwargs)
File "/usr/lib/
use_
File "/usr/lib/
reader_mode = get_context_
AttributeError: '_TransactionCo
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:06:37.668 19857 ERROR oslo_service.
2018-08-24 12:07:29.064 19857 INFO nova.compute.
Full log file is at
Changed in nova: | |
assignee: | nobody → Stephen Finucane (stephenfinucane) |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in cloud-archive: | |
status: | Triaged → Fix Committed |
(10:56:34 AM) diliprenkila: <mriedem> diliprenkila oslo.db==4.40.0 ,oslo.messaging ==8.1.0 on the compute nodes and oslo.db==4.38.0, oslo.messaging= =6.4.1 on the nova controller node
Stephen already pointed out that this is the breaking nova change:
https:/ /github. com/openstack/ nova/commit/ 2d532963fa2e013 e16cc403f2674a4 488c4170ab# diff-8fec546e4c 39f78d233f8e21d adaa3ff
which depends on this oslo.db change:
https:/ /github. com/openstack/ oslo.db/ commit/ df6bf3401266f42 271627c1e408f87 c71a06cef7
Which was released in oslo.db 4.40 but we don't require that min version in rocky for nova, so that's the failure. You need oslo.db >= 4.40.