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.
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!
Artom found this: https://github.com/openstack/sqlalchemy-migrate/commit/244c6c55d7aaa1f99e56027f4f5151fca51e7377
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
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