Older Boto Framework fails with keystone + swift functional testing
Bug #2063367 reported by
Kottur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Keystone dropped the support for xml, and supports only json payload and responses. Older Boto framework depends on xml payload and response. This breaks the functional tests shipped with swift.
Is there "config" way for skipping old boto framework based tests? Are there plans dropping the old framework in support of newer Boto3 framework?
Swift Version 2.31.0 (Antelope)
Ubuntu 22.04
Changed in swift: | |
status: | New → Fix Committed |
To post a comment you must log in.
I'm confused -- boto should only be talking to swift, which in turn will talk to keystone. When does boto talk to keystone?
Do you have some example (scrubbed) logs demonstrating the problem? Probably want separate logs for the client, swift proxy, and keystone.
Currently, the only way to configure the boto tests to skip would be to remove the s3_access_ key*/s3_ secret_ key* configs, which would also cause the boto3 tests to skip. Especially given the age of the boto library, I think we'd be amenable to a patch that would make it an optional test dependency, though, and skip tests if it's not installed.