SWIFT API: Cannot pull container information across all accounts in one call

Bug #1730511 reported by Scott Britton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
New
Wishlist
Unassigned

Bug Description

This could be a question instead of a bug but I'm not sure. I tried to register and pose a question to ask.openstack.org and I could never receive the confirmation email so I could not pose this question. https://bugs.launchpad.net/openstack-community/+bug/1723264

But here is the real request. I'm trying to use the SWIFT json API to pull container information (name, size, etc) across ALL accounts. Is there an admin-only query option to pull this information similar to the way you can do in Cinder API calls with all_tenants=1?

https://developer.openstack.org/api-ref/object-store/

No matter what I try with an admin credentials token, I cannot break out of my security context and view all domains/projects.

Tags: admin api swift
Revision history for this message
clayg (clay-gerrard) wrote :

no such api exists, not much has changed, same old tricks still work [1]

1. https://lists.launchpad.net/openstack/msg14847.html

Changed in swift:
importance: Undecided → Wishlist
Revision history for this message
Scott Britton (sbritton12345) wrote :

Clay, thank you for this information. Sorry about having to submit a bug ticket. I could not pose the question.

I wonder if a possible solution for my need here is to do a modification to the swift API. Can I modify the swift API without altering the main swift code base? (I would fork this off for just my needs)

Revision history for this message
John Dickinson (notmyname) wrote :

Please don't fork swift to implement a feature you need! Join in and help us all. :-)

Adding a centralized account listing would be a pretty big deal in Swift. Honestly, it's enough of a Big Deal (tm) that it would take a lot of agreement and work from the whole community to do. I can definitely see how it would be useful, but I suspect it will be simpler to use some of the things that Clay referenced.

Please join into our community discussions, and let's figure out something that's awesome for you. We're on freenode IRC in #openstack-swift, or you can use the OpenStack dev or operators mailing lists.

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.