-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Description
Hi,
We have an Openstack environment where Swift is based on Ceph.
We're trying to upload a file with objectStorage API but nothing happens.
The container was created successfully, but the file wasn't uploaded.
We're using the following code:
os.objectStorage().containers().create("myContainer",
CreateUpdateContainerOptions.create().accessAnybodyRead().accessWrite("Public"));
String etag = os.objectStorage().objects().put("myContainer", "myObject", Payloads.create(new File("myFile.xml")));
We had an old environment which wasn't based on Ceph and this code worked fine.
Please advise.
Thanks,
Einav
Metadata
Metadata
Assignees
Labels
No labels