Repository: ceph/go-ceph (go)
Issue: APIs pending stability updates in v0.22.0
## Preview APIs due to become stable
* cephfs: MountInfo.SelectFilesystem
* cephfs/admin: FSAdmin.GetMetadata
* cephfs/admin: FSAdmin.SetMetadata
* cephfs/admin: FSAdmin.RemoveMetadata
* cephfs/admin: FSAdmin.ForceRemoveMetadata
* cephfs/admin: FSAdmin.ListMetadata
* cephfs/admin: FSAdmin.GetSnapshotMetadata
* cephfs/admin: FSAdmin.SetSnapshotMetadata
* cephfs/admin: FSAdmin.RemoveSnapshotMetadata
* cephfs/admin: FSAdmin.ForceRemoveSnapshotMetadata
* cephfs/admin: FSAdmin.ListSnapshotMetadata
* rbd: MigrationPrepare
* rbd: MigrationPrepareImport
* rbd: MigrationExecute
* rbd: MigrationCommit
* rbd: MigrationAbort
* rbd: MigrationStatus
* rgw/admin: API.ListBucketsWithStat


## Deprecated APIs due to be removed
n/a


> NOTE: This issue was automatically filed by a script.


Pull request description:  Make preview APIs stable for v0.22
Fixes #867 

Patch:
diff --git a/cephfs/admin/metadata.go b/cephfs/admin/metadata.go
index 4118311..ceed023 100644
--- a/cephfs/admin/metadata.go
+++ b/cephfs/admin/metadata.go
@@ -1,5 +1,5 @@
-//go:build !(nautilus || octopus || pacific) && ceph_preview
-// +build !nautilus,!octopus,!pacific,ceph_preview
+//go:build !(nautilus || octopus || pacific)
+// +build !nautilus,!octopus,!pacific
 
 package admin
 
diff --git a/cephfs/admin/snapshot_metadata.go b/cephfs/admin/snapshot_metadata.go
index 199f943..62681ea 100644
--- a/cephfs/admin/snapshot_metadata.go
+++ b/cephfs/admin/snapshot_metadata.go
@@ -1,5 +1,5 @@
-//go:build !(nautilus || octopus || pacific) && ceph_preview
-// +build !nautilus,!octopus,!pacific,ceph_preview
+//go:build !(nautilus || octopus || pacific)
+// +build !nautilus,!octopus,!pacific
 
 package admin
 
diff --git a/cephfs/select_fs.go b/cephfs/select_fs.go
index d2b0df7..d776ee7 100644
--- a/cephfs/select_fs.go
+++ b/cephfs/select_fs.go
@@ -1,6 +1,3 @@
-//go:build ceph_preview
-// +build ceph_preview
-
 package cephfs
 
 /*
diff --git a/docs/api-status.json b/docs/api-status.json
index 5f6fa56..75350d3 100644
--- a/docs/api-status.json
+++ b/docs/api-status.json
@@ -311,15 +311,15 @@
       {
         "name": "UserPerm.Destroy",
         "comment": "Destroy will explicitly free ceph resources associated with the UserPerm.\n\nImplements:\n void ceph_userperm_destroy(UserPerm *perm);\n"
-      }
-    ],
-    "preview_api": [
+      },
       {
         "name": "MountInfo.SelectFilesystem",
-        "comment": "SelectFilesystem selects a file system to be mounted. If the ceph cluster\nsupports more than one cephfs this optional function selects which one to\nuse. Can only be called prior to calling Mount. The name of the file system\nis not validated by this call - if the supplied file system name is not\nvalid then only the subsequent mount call will fail.\n\nImplements:\n int ceph_select_filesystem(struct ceph_mount_info *cmount, const char *fs_name);\n",
+        "comment": "SelectFilesystem selects a file system to be mounted. If the ceph cluster\nsupports more than one cephfs this optional function selects which one to\nuse. Can only be called prior to calling Mount. The name of the file system\nis not validated by this call - if the supplied file system name is not\nvalid then only the subsequent mount call will fail.\n\nImplements:\n\n\tint ceph_select_filesystem(struct ceph_mount_info *cmount, const char *fs_name);\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
-      },
+        "became_stable_version": "v0.22.0"
+      }
+    ],
+    "preview_api": [
       {
         "name": "MountInfo.MakeDirs",
         "comment": "MakeDirs creates multiple directories at once.\n\nImplements:\n\n\tint ceph_mkdirs(struct ceph_mount_info *cmount, const char *path, mode_t mode);\n",
@@ -534,77 +534,77 @@
         "comment": "GetFailure returns details about the CloneStatus when in CloneFailed state.\n\nSimilar To:\n Reading the .failure object from the JSON returned by \"ceph fs subvolume\n snapshot clone\"\n",
         "added_in_version": "v0.16.0",
         "became_stable_version": "v0.18.0"
-      }
-    ],
-    "deprecated_api": [
-      {
-        "name": "New",
-        "comment": "New creates an FSAdmin automatically based on the default ceph\nconfiguration file. If more customization is needed, create a\n*rados.Conn as you see fit and use NewFromConn to use that\nconnection with these administrative functions.\n\nDeprecated: Use NewFromConn instead of New. The New function does not expose\nthe rados connection and therefore can not be deterministically cleaned up.\n",
-        "deprecated_in_version": "v0.21.0",
-        "expected_remove_version": "v0.24.0"
-      }
-    ],
-    "preview_api": [
+      },
       {
         "name": "FSAdmin.GetMetadata",
-        "comment": "GetMetadata gets custom metadata on the subvolume in a volume belonging to\nan optional subvolume group based on provided key name.\n\nSimilar To:\n ceph fs subvolume metadata get <vol_name> <sub_name> <key_name> [--group_name <subvol_group_name>]\n",
+        "comment": "GetMetadata gets custom metadata on the subvolume in a volume belonging to\nan optional subvolume group based on provided key name.\n\nSimilar To:\n\n\tceph fs subvolume metadata get <vol_name> <sub_name> <key_name> [--group_name <subvol_group_name>]\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.SetMetadata",
-        "comment": "SetMetadata sets custom metadata on the subvolume in a volume belonging to\nan optional subvolume group as a key-value pair.\n\nSimilar To:\n ceph fs subvolume metadata set <vol_name> <sub_name> <key_name> <value> [--group_name <subvol_group_name>]\n",
+        "comment": "SetMetadata sets custom metadata on the subvolume in a volume belonging to\nan optional subvolume group as a key-value pair.\n\nSimilar To:\n\n\tceph fs subvolume metadata set <vol_name> <sub_name> <key_name> <value> [--group_name <subvol_group_name>]\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.RemoveMetadata",
-        "comment": "RemoveMetadata removes custom metadata set on the subvolume in a volume\nbelonging to an optional subvolume group using the metadata key.\n\nSimilar To:\n ceph fs subvolume metadata rm <vol_name> <sub_name> <key_name> [--group_name <subvol_group_name>]\n",
+        "comment": "RemoveMetadata removes custom metadata set on the subvolume in a volume\nbelonging to an optional subvolume group using the metadata key.\n\nSimilar To:\n\n\tceph fs subvolume metadata rm <vol_name> <sub_name> <key_name> [--group_name <subvol_group_name>]\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.ForceRemoveMetadata",
-        "comment": "ForceRemoveMetadata attempt to forcefully remove custom metadata set on\nthe subvolume in a volume belonging to an optional subvolume group using\nthe metadata key.\n\nSimilar To:\n ceph fs subvolume metadata rm <vol_name> <sub_name> <key_name> [--group_name <subvol_group_name>] --force\n",
+        "comment": "ForceRemoveMetadata attempt to forcefully remove custom metadata set on\nthe subvolume in a volume belonging to an optional subvolume group using\nthe metadata key.\n\nSimilar To:\n\n\tceph fs subvolume metadata rm <vol_name> <sub_name> <key_name> [--group_name <subvol_group_name>] --force\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.ListMetadata",
-        "comment": "ListMetadata lists custom metadata (key-value pairs) set on the subvolume\nin a volume belonging to an optional subvolume group.\n\nSimilar To:\n ceph fs subvolume metadata ls <vol_name> <sub_name> [--group_name <subvol_group_name>]\n",
+        "comment": "ListMetadata lists custom metadata (key-value pairs) set on the subvolume\nin a volume belonging to an optional subvolume group.\n\nSimilar To:\n\n\tceph fs subvolume metadata ls <vol_name> <sub_name> [--group_name <subvol_group_name>]\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.GetSnapshotMetadata",
-        "comment": "GetSnapshotMetadata gets custom metadata on the subvolume snapshot in a\nvolume belonging to an optional subvolume group based on provided key name.\n\nSimilar To:\n ceph fs subvolume snapshot metadata get <vol_name> <sub_name> <snap_name> <key_name> [--group_name <subvol_group_name>]\n",
+        "comment": "GetSnapshotMetadata gets custom metadata on the subvolume snapshot in a\nvolume belonging to an optional subvolume group based on provided key name.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata get <vol_name> <sub_name> <snap_name> <key_name> [--group_name <subvol_group_name>]\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.SetSnapshotMetadata",
-        "comment": "SetSnapshotMetadata sets custom metadata on the subvolume snapshot in a\nvolume belonging to an optional subvolume group as a key-value pair.\n\nSimilar To:\n ceph fs subvolume snapshot metadata set <vol_name> <sub_name> <snap_name> <key_name> <value> [--group_name <subvol_group_name>]\n",
+        "comment": "SetSnapshotMetadata sets custom metadata on the subvolume snapshot in a\nvolume belonging to an optional subvolume group as a key-value pair.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata set <vol_name> <sub_name> <snap_name> <key_name> <value> [--group_name <subvol_group_name>]\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.RemoveSnapshotMetadata",
-        "comment": "RemoveSnapshotMetadata removes custom metadata set on the subvolume\nsnapshot in a volume belonging to an optional subvolume group using the\nmetadata key.\n\nSimilar To:\n ceph fs subvolume snapshot metadata rm <vol_name> <sub_name> <snap_name> <key_name> [--group_name <subvol_group_name>]\n",
+        "comment": "RemoveSnapshotMetadata removes custom metadata set on the subvolume\nsnapshot in a volume belonging to an optional subvolume group using the\nmetadata key.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata rm <vol_name> <sub_name> <snap_name> <key_name> [--group_name <subvol_group_name>]\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.ForceRemoveSnapshotMetadata",
-        "comment": "ForceRemoveSnapshotMetadata attempt to forcefully remove custom metadata\nset on the subvolume snapshot in a volume belonging to an optional\nsubvolume group using the metadata key.\n\nSimilar To:\n ceph fs subvolume snapshot metadata rm <vol_name> <sub_name> <snap_name> <key_name> [--group_name <subvol_group_name>] --force\n",
+        "comment": "ForceRemoveSnapshotMetadata attempt to forcefully remove custom metadata\nset on the subvolume snapshot in a volume belonging to an optional\nsubvolume group using the metadata key.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata rm <vol_name> <sub_name> <snap_name> <key_name> [--group_name <subvol_group_name>] --force\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "FSAdmin.ListSnapshotMetadata",
-        "comment": "ListSnapshotMetadata lists custom metadata (key-value pairs) set on the subvolume\nsnapshot in a volume belonging to an optional subvolume group.\n\nSimilar To:\n ceph fs subvolume snapshot metadata ls <vol_name> <sub_name> <snap_name> [--group_name <subvol_group_name>]\n",
+        "comment": "ListSnapshotMetadata lists custom metadata (key-value pairs) set on the subvolume\nsnapshot in a volume belonging to an optional subvolume group.\n\nSimilar To:\n\n\tceph fs subvolume snapshot metadata ls <vol_name> <sub_name> <snap_name> [--group_name <subvol_group_name>]\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
-      },
+        "became_stable_version": "v0.22.0"
+      }
+    ],
+    "deprecated_api": [
+      {
+        "name": "New",
+        "comment": "New creates an FSAdmin automatically based on the default ceph\nconfiguration file. If more customization is needed, create a\n*rados.Conn as you see fit and use NewFromConn to use that\nconnection with these administrative functions.\n\nDeprecated: Use NewFromConn instead of New. The New function does not expose\nthe rados connection and therefore can not be deterministically cleaned up.\n",
+        "deprecated_in_version": "v0.21.0",
+        "expected_remove_version": "v0.24.0"
+      }
+    ],
+    "preview_api": [
       {
         "name": "FSAdmin.PinSubVolume",
         "comment": "PinSubVolume pins subvolume to ranks according to policies. A valid pin\nsetting value depends on the type of pin as described in the docs from\nhttps://docs.ceph.com/en/latest/cephfs/multimds/#cephfs-pinning and\nhttps://docs.ceph.com/en/latest/cephfs/multimds/#setting-subtree-partitioning-policies\n\nSimilar To:\n\n\tceph fs subvolume pin <vol_name> <sub_name> <pin_type> <pin_setting>\n",
@@ -1793,45 +1793,45 @@
         "comment": "Rename a snapshot.\n\nImplements:\n\tint rbd_snap_rename(rbd_image_t image, const char *snapname,\n\t\t\t\t const char* dstsnapsname);\n",
         "added_in_version": "v0.16.0",
         "became_stable_version": "v0.18.0"
-      }
-    ],
-    "preview_api": [
+      },
       {
         "name": "MigrationPrepare",
-        "comment": "MigrationPrepare prepares a migration\ncreating a target image with a link\nto source and making source read-only.\n\nImplements:\n int rbd_migration_prepare(rados_ioctx_t ioctx,\n                           const char *image_name,\n                           rados_ioctx_t dest_ioctx,\n                           const char *dest_image_name,\n                           rbd_image_options_t opts);\n",
+        "comment": "MigrationPrepare prepares a migration\ncreating a target image with a link\nto source and making source read-only.\n\nImplements:\n\n\tint rbd_migration_prepare(rados_ioctx_t ioctx,\n\t                          const char *image_name,\n\t                          rados_ioctx_t dest_ioctx,\n\t                          const char *dest_image_name,\n\t                          rbd_image_options_t opts);\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "MigrationPrepareImport",
-        "comment": "MigrationPrepareImport prepares a migration for import\nfrom a specified source to a new target image.\n\nImplements:\n int rbd_migration_prepare_import(const char *source_spec,\n                                  rados_ioctx_t dest_ioctx,\n                                  const char *dest_image_name,\n                                  rbd_image_options_t opts);\n",
+        "comment": "MigrationPrepareImport prepares a migration for import\nfrom a specified source to a new target image.\n\nImplements:\n\n\tint rbd_migration_prepare_import(const char *source_spec,\n\t                                 rados_ioctx_t dest_ioctx,\n\t                                 const char *dest_image_name,\n\t                                 rbd_image_options_t opts);\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "MigrationExecute",
-        "comment": "MigrationExecute starts copying the image blocks\nfrom the source image to the target image.\n\nImplements:\n int rbd_migration_execute(rados_ioctx_t ioctx,\n                           const char *image_name);\n",
+        "comment": "MigrationExecute starts copying the image blocks\nfrom the source image to the target image.\n\nImplements:\n\n\tint rbd_migration_execute(rados_ioctx_t ioctx,\n\t                          const char *image_name);\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "MigrationCommit",
-        "comment": "MigrationCommit commits a migration after execution\nbreaking the relationship of image to the source.\n\nImplements:\n int rbd_migration_commit(rados_ioctx_t ioctx,\n                          const char *image_name);\n",
+        "comment": "MigrationCommit commits a migration after execution\nbreaking the relationship of image to the source.\n\nImplements:\n\n\tint rbd_migration_commit(rados_ioctx_t ioctx,\n\t                         const char *image_name);\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "MigrationAbort",
-        "comment": "MigrationAbort aborts a migration in progress\nbreaking the relationship of image to the source.\n\nImplements:\n int rbd_migration_abort(rados_ioctx_t ioctx,\n                         const char *image_name);\n",
+        "comment": "MigrationAbort aborts a migration in progress\nbreaking the relationship of image to the source.\n\nImplements:\n\n\tint rbd_migration_abort(rados_ioctx_t ioctx,\n\t                        const char *image_name);\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
+        "became_stable_version": "v0.22.0"
       },
       {
         "name": "MigrationStatus",
-        "comment": "MigrationStatus retrieve status of a live migration\nfor the specified image.\n\nImplements:\n int rbd_migration_status(rados_ioctx_t ioctx,\n                          const char *image_name,\n                          rbd_image_migration_status_t *status,\n                          size_t status_size);\n",
+        "comment": "MigrationStatus retrieve status of a live migration\nfor the specified image.\n\nImplements:\n\n\tint rbd_migration_status(rados_ioctx_t ioctx,\n\t                         const char *image_name,\n\t                         rbd_image_migration_status_t *status,\n\t                         size_t status_size);\n",
         "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
-      },
+        "became_stable_version": "v0.22.0"
+      }
+    ],
+    "preview_api": [
       {
         "name": "SiteMirrorImageStatus.UnmarshalDescriptionJSON",
         "comment": "UnmarshalDescriptionJSON parses an embedded JSON string that may be found in\nthe description of the SiteMirrorImageStatus. It will store the result in\nthe value pointed to by v.  If no embedded JSON string is found an\nErrNotExist error is returned. An error may also be returned if the contents\ncan not be parsed.\n",
@@ -2003,14 +2003,7 @@
     ]
   },
   "rgw/admin": {
-    "preview_api": [
-      {
-        "name": "API.ListBucketsWithStat",
-        "comment": "ListBucketsWithStat will return the list of all buckets with stat (system admin API only)\n",
-        "added_in_version": "v0.20.0",
-        "expected_stable_version": "v0.22.0"
-      }
-    ],
+    "preview_api": [],
     "stable_api": [
       {
         "name": "API.ListBuckets",
@@ -2136,6 +2129,12 @@
         "comment": "SetIndividualBucketQuota sets quota to a specific bucket\nhttps://docs.ceph.com/en/latest/radosgw/adminops/#set-quota-for-an-individual-bucket\n",
         "added_in_version": "v0.17.0",
         "became_stable_version": "v0.19.0"
+      },
+      {
+        "name": "API.ListBucketsWithStat",
+        "comment": "ListBucketsWithStat will return the list of all buckets with stat (system admin API only)\n",
+        "added_in_version": "v0.20.0",
+        "became_stable_version": "v0.22.0"
       }
     ]
   },
diff --git a/docs/api-status.md b/docs/api-status.md
index 64ada04..36fa16a 100644
--- a/docs/api-status.md
+++ b/docs/api-status.md
@@ -8,7 +8,6 @@
 
 Name | Added in Version | Expected Stable Version | 
 ---- | ---------------- | ----------------------- | 
-MountInfo.SelectFilesystem | v0.20.0 | v0.22.0 | 
 MountInfo.MakeDirs | v0.21.0 | v0.23.0 | 
 MountInfo.Mknod | v0.22.0 | v0.24.0 | 
 MountInfo.Futime | v0.22.0 | v0.24.0 | 
@@ -21,16 +20,6 @@ MountInfo.Futimes | v0.22.0 | v0.24.0 |
 
 Name | Added in Version | Expected Stable Version | 
 ---- | ---------------- | ----------------------- | 
-FSAdmin.GetMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.SetMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.RemoveMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.ForceRemoveMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.ListMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.GetSnapshotMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.SetSnapshotMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.RemoveSnapshotMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.ForceRemoveSnapshotMetadata | v0.20.0 | v0.22.0 | 
-FSAdmin.ListSnapshotMetadata | v0.20.0 | v0.22.0 | 
 FSAdmin.PinSubVolume | v0.21.0 | v0.23.0 | 
 FSAdmin.PinSubVolumeGroup | v0.21.0 | v0.23.0 | 
 FSAdmin.FetchVolumeInfo | v0.21.0 | v0.23.0 | 
@@ -51,12 +40,6 @@ No Preview/Deprecated APIs found. All APIs are considered stable.
 
 Name | Added in Version | Expected Stable Version | 
 ---- | ---------------- | ----------------------- | 
-MigrationPrepare | v0.20.0 | v0.22.0 | 
-MigrationPrepareImport | v0.20.0 | v0.22.0 | 
-MigrationExecute | v0.20.0 | v0.22.0 | 
-MigrationCommit | v0.20.0 | v0.22.0 | 
-MigrationAbort | v0.20.0 | v0.22.0 | 
-MigrationStatus | v0.20.0 | v0.22.0 | 
 SiteMirrorImageStatus.UnmarshalDescriptionJSON | v0.21.0 | v0.23.0 | 
 SiteMirrorImageStatus.DescriptionReplayStatus | v0.21.0 | v0.23.0 | 
 AddMirrorPeerSite | v0.21.0 | v0.23.0 | 
@@ -88,11 +71,7 @@ No Preview/Deprecated APIs found. All APIs are considered stable.
 
 ## Package: rgw/admin
 
-### Preview APIs
-
-Name | Added in Version | Expected Stable Version | 
----- | ---------------- | ----------------------- | 
-API.ListBucketsWithStat | v0.20.0 | v0.22.0 | 
+No Preview/Deprecated APIs found. All APIs are considered stable.
 
 ## Package: common/admin/manager
 
diff --git a/rbd/migration.go b/rbd/migration.go
index 94b5852..5e567f3 100644
--- a/rbd/migration.go
+++ b/rbd/migration.go
@@ -1,5 +1,5 @@
-//go:build !(octopus || nautilus) && ceph_preview
-// +build !octopus,!nautilus,ceph_preview
+//go:build !(octopus || nautilus)
+// +build !octopus,!nautilus
 
 package rbd
 
diff --git a/rgw/admin/list_bucket_with_stats.go b/rgw/admin/list_bucket_with_stats.go
index 5720765..fdd462f 100644
--- a/rgw/admin/list_bucket_with_stats.go
+++ b/rgw/admin/list_bucket_with_stats.go
@@ -1,6 +1,3 @@
-//go:build ceph_preview
-// +build ceph_preview
-
 package admin
 
 import (


Test patch:
diff --git a/cephfs/admin/metadata_test.go b/cephfs/admin/metadata_test.go
index c54315e..1362a48 100644
--- a/cephfs/admin/metadata_test.go
+++ b/cephfs/admin/metadata_test.go
@@ -1,5 +1,5 @@
-//go:build !(nautilus || octopus || pacific) && ceph_preview
-// +build !nautilus,!octopus,!pacific,ceph_preview
+//go:build !(nautilus || octopus || pacific)
+// +build !nautilus,!octopus,!pacific
 
 package admin
 
diff --git a/cephfs/admin/snapshot_metadata_test.go b/cephfs/admin/snapshot_metadata_test.go
index 20a899c..6c1efac 100644
--- a/cephfs/admin/snapshot_metadata_test.go
+++ b/cephfs/admin/snapshot_metadata_test.go
@@ -1,5 +1,5 @@
-//go:build !(nautilus || octopus || pacific) && ceph_preview
-// +build !nautilus,!octopus,!pacific,ceph_preview
+//go:build !(nautilus || octopus || pacific)
+// +build !nautilus,!octopus,!pacific
 
 package admin
 
diff --git a/cephfs/select_fs_test.go b/cephfs/select_fs_test.go
index 83d91ec..893c516 100644
--- a/cephfs/select_fs_test.go
+++ b/cephfs/select_fs_test.go
@@ -1,6 +1,3 @@
-//go:build ceph_preview
-// +build ceph_preview
-
 package cephfs
 
 import (
diff --git a/rbd/migration_test.go b/rbd/migration_test.go
index 041a589..bbf0f7a 100644
--- a/rbd/migration_test.go
+++ b/rbd/migration_test.go
@@ -1,5 +1,5 @@
-//go:build !(octopus || nautilus) && ceph_preview
-// +build !octopus,!nautilus,ceph_preview
+//go:build !(octopus || nautilus)
+// +build !octopus,!nautilus
 
 package rbd
 
diff --git a/rgw/admin/list_bucket_with_stats_test.go b/rgw/admin/list_bucket_with_stats_test.go
index 49e025e..a9bcb89 100644
--- a/rgw/admin/list_bucket_with_stats_test.go
+++ b/rgw/admin/list_bucket_with_stats_test.go
@@ -1,6 +1,3 @@
-//go:build ceph_preview
-// +build ceph_preview
-
 package admin
 
 import (