October 2017
Intermediate to advanced
340 pages
9h 46m
English
Now that we have the Swift client installed, let's use it to create a new bucket on our Ceph object storage. We will cleverly name our new bucket example-bucket. Once the bucket creation completes we'll list all buckets our user has access to and verify that the previously created buckets are visible:
root@ceph-rgw0:~# swift -V 1.0 -A http://ceph-rgw.objectstorage.example.com/auth -U harshita:swift -K m38OvpnOMf8ILNZyfDuKTDTWKC7YCEUH9v4Te64o post example-bucketroot@ceph-rgw0:~# swift -V 1.0 -A http://ceph-rgw.objectstorage.example.com/auth -U harshita:swift -K m38OvpnOMf8ILNZyfDuKTDTWKC7YCEUH9v4Te64o listexample-bucketfirst-bucket
Swift commands are constructed using the following syntax:
Read now
Unlock full access