UNSOLVED

chbernard

updated

9 years ago

C

chbernard

2 Posts

0

1340

June 7th, 2017 03:00

Object list with all properties

Hello, I am looking for a way to get a list all objects in a bucket with all the objects properties, including the node owning the object. Is there a way to get this list, either through RestAPI or with a command line?

  • JasonCwik

    1 Rookie

    •

    281 Posts

    890

    0

    Posted June 7th, 2017 08:00

    The standard S3 List Objects call will give you the listing of all the objects in the bucket, including Last Modified, Size, and Etag.

    http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html

    In ECS, objects are not owned by a node, but by the VDC as a whole.  The object will be owned by the VDC that processed the object create request.  Currently, we do not have a public API that returns the object owner VDC.

  • chbernard

    2 Posts

    890

    0

    Posted June 7th, 2017 09:00

    Hi Jason,

    Thanks for your answer but we are testing the behaviour of our 2 replicated ECS systems (1 per datacenter) during a datacenter outage.

    We need to check the ownership of buckets and objects before, during and after the outage, with buckets where "Access during outage" has been set.

    Is there a way to get this information?