Neutron tests make BasicOperationsImagesTest tempest tests fail

Bug #1577019 reported by Emilien Macchi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
In Progress
Undecided
Daniel Mellado

Bug Description

Deploying Glance from master (current Newton), 2 Tempest tests are failing all the time:

tempest.api.image.v2.test_images.BasicOperationsImagesTest.test_register_upload_get_image_file
tempest.api.image.v2.test_images.BasicOperationsImagesTest.test_update_image

See http://logs.openstack.org/86/305886/16/check/gate-puppet-openstack-integration-3-scenario003-tempest-centos-7/32f1afb/console.html#_2016-04-28_18_09_14_598

404 in Glance API logs:
eventlet.wsgi.server [req-9cad60d9-d466-4f32-87c2-02163a61f812 bf80ccd1360e491b9175229579bd7265 ad807d82f64d403c9982494c1fdb09f3 - - -] ::1 - - [28/Apr/2016 18:09:14] "GET /v2/images/ed8958a0-5402-462a-884d-42ad8fefa889 HTTP/1.1" 404 288 0.020958

See http://logs.openstack.org/86/305886/16/check/gate-puppet-openstack-integration-3-scenario003-tempest-centos-7/32f1afb/logs/glance/api.txt.gz#_2016-04-28_18_09_14_260

All Glance logs:
http://logs.openstack.org/86/305886/16/check/gate-puppet-openstack-integration-3-scenario003-tempest-centos-7/32f1afb/logs/glance/
All Glance config: http://logs.openstack.org/86/305886/16/check/gate-puppet-openstack-integration-3-scenario003-tempest-centos-7/32f1afb/logs/etc/glance/

no longer affects: glance
Changed in tempest:
assignee: nobody → Javier Peña (jpena-c)
status: New → In Progress
Javier Peña (jpena-c)
affects: tempest → neutron
Changed in neutron:
assignee: Javier Peña (jpena-c) → nobody
summary: - BasicOperationsImagesTest tempest tests fail
+ Neutron tests make BasicOperationsImagesTest tempest tests fail
Revision history for this message
Javier Peña (jpena-c) wrote :

During the issue investigation, we've found out the following:

- Neutron tests use eventlet.monkey_patch() in https://github.com/openstack/neutron/blob/master/neutron/tests/__init__.py
- This is not needed (nor desirable) for Tempest tests, but it happens because of the tempest test location, under neutron/tests/tempest
- This monkey-patching breaks SSL handling in the glance client embedded in Tempest, causing the issue seen initially.

Switching component to Neutron so it can be fixed there.

Changed in neutron:
assignee: nobody → Daniel Mellado (daniel-mellado)
Revision history for this message
Ryan Moats (rmoats) wrote :

marking this as a duplicate as the issue is being already being addressed by https://review.openstack.org/#/c/310094/

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.