Skip to content

SwiftClient for Ceph #542

@erivni

Description

@erivni

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions