Bug 1322049 - nova-conductor Deprecation Warning
Summary: nova-conductor Deprecation Warning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-migrate
Version: 5.0 (RHEL 7)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: async
: 5.0 (RHEL 7)
Assignee: Artom Lifshitz
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 1353011
TreeView+ depends on / blocked
 
Reported: 2016-03-29 16:04 UTC by nalmond
Modified: 2019-11-14 07:41 UTC (History)
13 users (show)

Fixed In Version: python-migrate-0.9.1-3.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1353011 (view as bug list)
Environment:
Last Closed: 2016-07-20 19:53:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1469 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform 5 Bug Fix and Enhancement Advisory 2016-07-20 23:52:27 UTC

Description nalmond 2016-03-29 16:04:26 UTC
Description of problem:
A large number of deprecation warnings are appearing in /var/log/messages reducing its readability. These warnings appear fairly frequently and can be seen appearing more than 20 times in one second.

Version-Release number of selected component (if applicable):
python-migrate-0.9.1-1.el7ost

How reproducible:
Occurs frequently

Steps to Reproduce:
1. Install OSP 5 on RHEL 7
2. Observe /var/log/messages

Mar 17 12:54:34 node nova-conductor: /usr/lib/python2.7/site-packages/amqp/channel.py:616: VDeprecationWarning: The auto_delete flag for exchanges has been deprecated and will be removed 
Mar 17 12:54:34 node nova-conductor: from py-amqp v1.5.0. 
Mar 17 12:54:34 node nova-conductor: warn(VDeprecationWarning(EXCHANGE_AUTODELETE_DEPRECATED))
Mar 17 12:54:34 node nova-conductor: /usr/lib/python2.7/site-packages/amqp/channel.py:616: VDeprecationWarning: The auto_delete flag for exchanges has been deprecated and will be removed 
Mar 17 12:54:34 node nova-conductor: from py-amqp v1.5.0. 
Mar 17 12:54:34 node nova-conductor: warn(VDeprecationWarning(EXCHANGE_AUTODELETE_DEPRECATED))
Mar 17 12:54:34 node nova-conductor: /usr/lib/python2.7/site-packages/amqp/channel.py:616: VDeprecationWarning: The auto_delete flag for exchanges has been deprecated and will be removed 
Mar 17 12:54:34 node nova-conductor: from py-amqp v1.5.0. 
Mar 17 12:54:34 node nova-conductor: warn(VDeprecationWarning(EXCHANGE_AUTODELETE_DEPRECATED))
Mar 17 12:54:34 node nova-conductor: /usr/lib/python2.7/site-packages/amqp/channel.py:616: VDeprecationWarning: The auto_delete flag for exchanges has been deprecated and will be removed 
Mar 17 12:54:34 node nova-conductor: from py-amqp v1.5.0. 
Mar 17 12:54:34 node nova-conductor: warn(VDeprecationWarning(EXCHANGE_AUTODELETE_DEPRECATED))

Additional info:
This looks to be the same as the issue in BZ 1104239 however, these are more recent packages than the ones reference in the errata.

Comment 2 Artom Lifshitz 2016-03-31 17:08:39 UTC
Hi,

I haven't been able to reproduce this with the latest python-migrate-0.9.6-1.el7ost package in RHOS5.

Based on the information in BZ 1104239, I diff'ed the different versions's migrate/changeset/__init__.py files and sure enough, the guilty line is present in 0.9.1 but absent in 0.9.6:

$ diff 0.9.1/usr/lib/python2.7/site-packages/migrate/changeset/__init__.py 0.9.6/usr/lib/python2.7/site-packages/migrate/changeset/__init__.py
8d7
< import warnings
12,13d10
< 
< warnings.simplefilter('always', DeprecationWarning)

Cheers!

Comment 8 nlevinki 2016-07-17 11:55:58 UTC
I verified the fix is in the puddle and our automation didn't report any issue.
https://rhos-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/RHOS/view/RHOS5/job/rhos-jenkins-rhos-5.0-puddle-rhel-7.2-all-in-one-packstack-nova-flatdhcp-rabbitmq-tempest-git-all/24/
according to the DEV report I am moving this ticket to verify

Comment 10 errata-xmlrpc 2016-07-20 19:53:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1469


Note You need to log in before you can comment on or make changes to this bug.