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"
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.
],