Skip to content

Commit

Permalink
Ignore some PendingDeprecationWarnings for os-vif
Browse files Browse the repository at this point in the history
os-vif got bumped to 1.14.0 in https://review.openstack.org/572082 and
Nova is touching the VIFPortProfileOVSRepresentor class in a supported
fashion until at least Train.

However, that commit contributes to triggering bug 1813147 in check and
gate. The warning is safe to silence and should be converted to an error
in Train (once the older path is removed).

Change-Id: I9d8175c78f068cf9bdad4aeba0941f6ff49a9acc
Signed-off-by: Jan Gutter <[email protected]>
Related-Bug: #1813147
blueprint: generic-os-vif-offloads
  • Loading branch information
Jan Gutter committed Feb 6, 2019
1 parent 570b07e commit cd18231
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nova/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,12 @@ def setUp(self):
'ignore', message='Evaluating non-mapped column expression',
category=sqla_exc.SAWarning)

# TODO(jangutter): Change (or remove) this to an error during the Train
# cycle when the os-vif port profile is no longer used.
warnings.filterwarnings(
'ignore', message=".* 'VIFPortProfileOVSRepresentor' .* "
"is deprecated", category=PendingDeprecationWarning)

self.addCleanup(warnings.resetwarnings)


Expand Down

0 comments on commit cd18231

Please sign in to comment.