swift-object-info should report all object metadata
Bug #1431334 reported by
Alistair Coles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Confirmed
|
Wishlist
|
Ricardo Ferreira |
Bug Description
swift-object-info can currently be pointed at a *file* and will report info from that file. It would be really useful to be able to optionally point the tool at a directory and have the tool open the on-disk file set to compose any .meta with .data files, printing the aggregate as would be included with an object GET.
https:/
Changed in swift: | |
importance: | Undecided → Wishlist |
Changed in swift: | |
assignee: | nobody → Ricardo Ferreira (rsff) |
Changed in swift: | |
status: | New → Confirmed |
To post a comment you must log in.
Would the simple change like this be enough? Or am I misunderstanding the request?
335a336,345 isdir(datafile) : join(datafile, f) isfile( new_datafile) : new_datafile, check_etag, swift_dir, policy_name)
> if os.path.
>
> for (dirpath, dirnames, filenames) in os.walk(datafile):
> for f in filenames:
> new_datafile = os.path.
> if os.path.
> print ("Checking file %s" % new_datafile)
> print_obj(
> break # not going deeper
> return