Commit Graph

110 Commits

Author SHA1 Message Date
Niels de Vos ee25db94c6 rbd: add support for CloneImageByID()
RBD image groups can be used to create consistent snapshots of all
images that are part of the group. The new rbd_clone4() API makes it
possible to create a new RBD image from a single snapshot that was
created as part of the group snapshot.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2024-06-25 20:40:23 +00:00
Vladimir Kavlakan 0fc95cf6fe rados: read & write op exec added
Signed-off-by: Vladimir Kavlakan <vkavlakan@gmail.com>
2024-06-19 13:40:42 +00:00
Anoop C S 7d15378d4c rgw/admin: Promote {Get,Set}BucketQuota APIs to stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2024-06-07 18:55:15 +00:00
John Mulligan 593a097473 docs: fix version numbers for apis added prior to v0.27
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2024-04-09 13:13:56 +00:00
John Mulligan f9290c87cc rgw/admin: promote GetInfo API to stable
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2024-04-09 13:13:56 +00:00
John Mulligan 0a787041f3 rbd: promote Image.Resize2 api to stable
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2024-04-09 13:13:56 +00:00
Manish 755481f8c2 cephfs/admin: API for quiesceing io on a cephfs
cephfs has new quiesce feature for cephfs volume. This change add the
feature to go-ceph.

Signed-off-by: Manish <myathnal@redhat.com>
2024-03-19 11:34:21 +00:00
Niels de Vos 947b7d312f rbd: add GetSnapGroupNamespace() to get details about group snapshots
rbd_snap_get_group_namespace() can be used to get details about
snapshots of an image, that were created as part of a group.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
2024-03-06 12:42:29 +00:00
Sven Anderson d4a70d7d11 docs: update api-status for release v0.26.0
Signed-off-by: Sven Anderson <sven@redhat.com>
2024-02-13 12:57:22 +00:00
Anoop C S 06793550b8 docs: Add user bucket quota APIs to api-status
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2024-02-06 12:53:57 +00:00
Anoop C S 90ae26adce rbd: Fix a typo in comment for Image.Resize2
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-12-11 18:45:44 +00:00
Anoop C S f316263ab7 docs: Fix versions for recent API additions
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-12-08 18:42:13 +00:00
Khayyam Saleem 51b8287148 librbd exposes rbd_resize2, which allows clients to pass in a boolean controlling
whether or not the allocation should be allowed to shrink, and a progress-tracking
callback. This contribution extends go-ceph to be able to call rbd_resize2.

Closes #933

Signed-off-by: Khayyam Saleem <khayyam.saleem@gmail.com>
2023-11-08 19:51:30 +00:00
Anoop C S 3d86572bf6 docs: Add rgw API.GetInfo to api-status
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-11-08 05:01:00 +00:00
John Mulligan 0d53c27a90 docs: move some older vers in the supported release matrix to a new file
In my opinion the list of releases and the ceph versions supported was
getting a bit long. I am taking the initiative to split the list and
record the older releases in a separate doc. The cut point was a bit
arbitrary but I chose to remove all the caveats from the readme.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-06 09:31:24 +00:00
John Mulligan 81dc03889d cephfs admin: remove deprecated New function
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-05 11:22:38 +00:00
John Mulligan 4fef2fe1b1 cephfs: promote some file apis to stable
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-05 11:22:38 +00:00
John Mulligan 70ddb1dbea rbd: promote lock apis to stable
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-10-05 11:22:38 +00:00
Sven Anderson 5f757453ab rbd: promote preview API for release v0.23.0
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-08-14 14:43:57 +00:00
Sven Anderson f5c0b089f1 cephfs/admin: promote preview API for release v0.23.0
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-08-14 14:43:57 +00:00
Sven Anderson 5875e7f74b cephfs: promote preview API for release v0.23.0
Signed-off-by: Sven Anderson <sven@redhat.com>
2023-08-14 14:43:57 +00:00
Anoop C S e2d6524cf4 rgw/admin: Make API.ListBucketsWithStat stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S aefa1dc858 rbd: Make migration APIs stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S 37b9a31fd0 cephfs/admin: Make subvolume snapshot metadata APIs stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S c2e03fe3bb cephfs/admin: Make subvolume metadata APIs stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S 9eb24e9f67 cephfs: Make MountInfo.SelectFilesystem stable
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 17:35:55 +00:00
Anoop C S 4787861e9d docs: Fix versions for newest API additions
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-06-08 15:25:35 +00:00
John Mulligan 66fe3724d2 docs: add some docs on how to find apis
Add some prose to the hints doc on how to use our docs convention to
map a C/command line api to a go-ceph api.
Note how to make use of a {Mon,Mgr}Command API JSON-command without
go-ceph code.
Note how apis start as preview before becoming stable.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-05-18 13:56:22 +00:00
Nikhil-Ladha 15ede44c2f cephfs: Add futimes cephfs API
Added a new cephfs API named `ceph_futimes`

Fixes: #254

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2023-05-18 07:18:07 +00:00
Nikhil-Ladha 39336dae84 cephfs: Add futimens cephfs API
Added a new cephfs API named `ceph_futimens`

Fixes: #253

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2023-05-12 08:45:32 +00:00
Nikhil-Ladha 46cf8b0c75 cephfs: Add futime cephfs API
Added a new cephfs API named `ceph_futime`

Fixes: #252

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2023-04-25 04:16:54 +00:00
Nikhil-Ladha bc48ab4143 cephfs: Add mknod cephfs API
Added a new API for the cephfs component named `ceph_mknod`.

Fixes: #257

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2023-04-13 17:48:39 +00:00
Nikhil-Ladha 9041276dd9 rbd: Add locking rbd APIs
Added new locking APIs for the rbd component named
`rbd_lock_acquire`, `rbd_lock_break`, `rbd_lock_release`, `rbd_lock_get_owners`,
`rbd_is_exclusive_lock_owner` along with supporting TCs.

Fixes: #275

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2023-04-13 14:29:53 +00:00
John Mulligan 7068c1d8ba docs: fix version for newest api additions
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-04-07 05:38:22 +00:00
Nikhil-Ladha 3d986f2bd3 rbd: Add rbd_sparsify_with_progress rbd API
Added a new rbd API `rbd_sparsify_with_progress`, and supporting
tests.

Fixes: #281

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2023-04-04 15:14:01 +00:00
John Mulligan 3d47f9da6c docs: fix version numbers of recently added APIs
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-04-04 05:15:44 +00:00
John Mulligan ad61049254 cephfs admin: deprecate the New function
The New function created a rados connection object but did not expose it
via a public api, making it impossible to deterministically sever / clean up
the connection. This commit assumes that the patch will be merged prior
to the go-ceph v0.21 release so that we can plan to remove the function
three versions later (v0.24).  I chose three versions so that it is one
release longer than our typical stabilization period as this function
has been around for a while.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-03-27 17:55:51 +00:00
John Mulligan 065c996fc8 docs: fix version numbers of recently added APIs
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-03-27 17:55:51 +00:00
Nikhil-Ladha fcd2fcd6f6 rbd: Add mirror peer site API components
**Description:**
Added some API components of mirror peer site

Fixes: #486

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
2023-03-27 08:39:12 +00:00
Anoop C S 48afd419c4 docs: Add volume info fetching API to api-status
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-03-20 14:17:55 +00:00
Anoop C S 50926448c5 docs: Add Subvolume{Group} pinning API to api-status
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-03-17 20:32:44 +00:00
John Mulligan 2270166490 docs: update api-status for new mirroring image replay status funcs
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-03-17 18:10:53 +00:00
Damien 4ea99c452e cephfs: implementation of mkdirs
Signed-off-by: Damien <maitredede@gmail.com>
2023-02-20 06:00:15 +00:00
Anoop C S 1e6f8891ea docs: fix api versions for new ListBucketWithStat API
This change executes `make api-fix-versions` in order to convert the
placeholder versions into real version numbers.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-02-14 13:41:44 +00:00
John Mulligan 45e9a80284 docs: add SelectFilesystem to api status
Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-02-13 10:11:06 -05:00
moti 3c45e67b6e rgw: add ListBucketsWithStat api
Add api stability.

Signed-off-by: moti <motaharesdq@gmail.com>
2023-01-24 13:38:48 +00:00
Anoop C S 8960979182 docs: Update status for subvolume and snapshot metadata APIs
Following APIs are being added as preview APIs:

FSAdmin.GetMetadata
FSAdmin.SetMetadata
FSAdmin.RemoveMetadata
FSAdmin.ForceRemoveMetadata
FSAdmin.ListMetadata
FSAdmin.GetSnapshotMetadata
FSAdmin.SetSnapshotMetadata
FSAdmin.RemoveSnapshotMetadata
FSAdmin.ForceRemoveSnapshotMetadata
FSAdmin.ListSnapshotMetadata

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
2023-01-23 15:12:52 +00:00
John Mulligan 122159ed21 docs: fix api versions for new rbd migration apis
As of d6bf51115d we've tried to make API
stability less burdensome on contributors by putting in placeholder
values in the status files. However, we haven't used it much yet. This
change executes `make api-fix-versions` in order to convert
the placeholder versions into real version numbers - both for the
real reason of tracking the values and also for a more real world test
of the apiage feature.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-01-12 05:44:24 +00:00
John Mulligan 64d5ab403b docs: fix common/admin/nfs section of api-status.md
It now reports "No Preview/Deprecated APIs found. All APIs are
considered stable." rather than leaving a blank section.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-01-12 05:44:24 +00:00
Omid Yoosefi a6a42e9c7b rbd: implement live migration functions
Signed-off-by: Omid Yoosefi <omidyoosefi@ibm.com>
2023-01-11 05:35:52 +00:00