Test nova timeout failing on master

Bug #1510656 reported by Nate Potter
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Critical
Matt Riedemann
python-novaclient
In Progress
Undecided
Matt Riedemann

Bug Description

Currently on master running the test cinder.tests.unit.scheduler.test_host_filters.InstanceLocalityFilterTestCase.test_nova_timeout fails with the following traceback:

http://paste.openstack.org/show/477492/

I'm noticing this both on my local machine as well as in Gerrit, when I pushed up this patch: https://review.openstack.org/#/c/239704/. The report of the failure is here http://logs.openstack.org/04/239704/1/check/gate-cinder-python27/7f943f5/console.html.

Nate Potter (ntpttr)
description: updated
Revision history for this message
Matt Riedemann (mriedem) wrote :

It's due to something in novaclient 2.33 released on 10/27.

Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

This is the novaclient change that went into 2.33 that would have probably triggered this on the cinder unit test side:

https://review.openstack.org/#/c/235558/

Changed in cinder:
status: New → In Progress
assignee: nobody → Matt Riedemann (mriedem)
importance: Undecided → Critical
Revision history for this message
Matt Riedemann (mriedem) wrote :

The cinder unit test is expecting a requests.exceptions.Timeout but it got novaclient.exceptions.RequestTimeout because novaclient is handling the requests exceptions now and converting them to it's own exceptions. So the cinder test just needs to account for both.

Matt Riedemann (mriedem)
Changed in python-novaclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/239941

Changed in python-novaclient:
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
Matt Riedemann (mriedem) wrote :

https://review.openstack.org/#/c/239837/ was a cinder change that was fast approved this morning under a different bug, it adds the handling to cinder for both exceptions.

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.