Clients in scenario manager are not getting local region configs

Bug #1339733 reported by Prashanth Hari
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Won't Fix
Undecided
Prashanth Hari

Bug Description

Clients in scenario manager are failing to get the service region configs.
This is critical for multiregion scenario tests.

The fix is to add a common function to get the region information from service region configs.

How to recreate the problem ?

- Disable "region" from identity section and add "region" in service sections in tempest.conf. The tests will fail with region or endpoint not found

- Enable "region" in identity section but different "region" in service sections in tempest.conf. The tests will not consider the service specific regions.

The failure noticed for glance, swift and neutron related scenario tests.

Prashanth Hari (hvprash)
Changed in tempest:
assignee: nobody → Prashanth Hari (hvprash)
status: New → In Progress
Prashanth Hari (hvprash)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by Prashanth Hari (<email address hidden>) on branch: master
Review: https://review.openstack.org/105777
Reason: This is a duplicate of https://review.openstack.org/#/c/105782/
Abandoning this.

Revision history for this message
Prashanth Hari (hvprash) wrote :

In multiregion setup, test_swift_basic_ops fails to identify the correct endpoint and uses the first region's endpoint.

So if we have multi regions like below and if we mentioned "region_3" in the config file, it fails to get the correct endpoint "http://swift_endpoint_3:8080/swift/v1" and uses "http://swift_endpoint_1:8080/swift/v1" instead.

                "endpoints": [
                    {
                        "adminURL": "http://swift_endpoint_1:8080/swift/v1",
                        "region": "region_1",
                        "internalURL": "http://swift_endpoint_1:8080/swift/v1",
                        "id": "cc41699ed460335548bba819224bcb52a1f16a",
                        "publicURL": "http://swift_endpoint_1:8080/swift/v1"
                    },
                    {
                        "adminURL": "http://swift_endpoint_2:8080/swift/v1",
                        "region": "region_2",
                        "internalURL": "http://swift_endpoint_2:8080/swift/v1",
                        "id": "5359fc21a39404sssf58c83ad7f07f2094a055",
                        "publicURL": "http://swift_endpoint_2:8080/swift/v1"
                    },
                    {
                        "adminURL": "http://swift_endpoint_3:8080/swift/v1",
                        "region": "region_3",
                        "internalURL": "http://swift_endpoint_3:8080/swift/v1",
                        "id": "2a922d627fa1ssd445fbb90246363243dd68d3",
                        "publicURL": "http://swift_endpoint_3:8080/swift/v1"
                    }
                ],
                "endpoints_links": [],
                "type": "object-store",
                "name": "swift"

description: updated
Prashanth Hari (hvprash)
description: updated
description: updated
Prashanth Hari (hvprash)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/105782
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Ken'ichi Ohmichi (oomichi) wrote :

There is not any activity over 1 year 8 months and the base part of scenario tests(used clients are changed to tempest.lib ones from official clients) has been changed.
So this report is necessary now.

Changed in tempest:
status: In Progress → Won't Fix
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.