nova-manage api_db sync - NotSupportedWarning ['use_tpool']

Bug #1746530 reported by Corey Bryant
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Medium
Unassigned

Bug Description

In the nova queens 17.0.0.0b3 release, I'm seeing the following:

$ nova-manage api_db sync
/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:332: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
  exception.NotSupportedWarning

This is with Ubuntu packages, so I've not tried to recreate with pip-installed packages.

In our /etc/nova/nova.conf use_tpool is commented out.

If I revert the following commit, the error goes away: https://github.com/openstack/nova/commit/910008e2ef5dae1698ff7db791f4816c728c8bd0

Tags: nova-manage
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Worth noting I tested with both oslo.db 4.31.0 4.33.0.

summary: - NotSupportedWarning ['use_tpool']
+ nova-manage api_db sync - NotSupportedWarning ['use_tpool']
Revision history for this message
Matt Riedemann (mriedem) wrote :

I've been seeing this too but don't really know how to resolve it.

tags: added: nova-manage
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
Changed in nova:
assignee: nobody → Surya Seetharaman (tssurya)
Revision history for this message
Surya Seetharaman (tssurya) wrote :
Changed in nova:
status: Confirmed → Won't Fix
assignee: Surya Seetharaman (tssurya) → nobody
Revision history for this message
Tetsuro Nakamura (tetsuro0907) wrote :

We've also been seeing this.

@tssurya I don't fully understand your patch, but why is this status "Won't Fix"? Should we report this bug in oslo project?

Revision history for this message
Surya Seetharaman (tssurya) wrote :

@tetsuro0907 : Apologies for not being very clear in my previous comment. What I meant to say was this issue originates from oslo_db, it is not exactly a nova-manage issue. There was already a bug opened in oslo.db (https://bugs.launchpad.net/oslo.db/+bug/1549915) for which stephenfin has already proposed a fix (https://review.openstack.org/#/c/551256/) which got merged in oslo.db versions > 4.34.0. So using oslo.db versions less than 4.34 will cause this warning. However since its only a warning and see discussion here:http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2018-04-18.log.html#t2018-04-18T19:09:34 it was decided to mark this as a won't fix.

Revision history for this message
Surya Seetharaman (tssurya) wrote :

If its very annoying one of the ways I see is to ignore this in nova-manage : https://review.openstack.org/#/c/568785/ . However IMHO, since this is not needed in master, and since this is not a clean way of doing it, I would not want to do this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.