# changelog

author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-91
changelog:
  - qa: fix test_nfs_export_creation_at_symlink (rhbz#2170739)
  - qa: update test cases to check for ENOTDIR instead of EINVAL (rhbz#2170739)
  - qa: fix test_nfs_export_with_invalid_path (rhbz#2170739)
  - mgr/nfs: handle exceptions for cephfs_path_is_dir() in create_cephfs_export() (rhbz#2170739)
  - mgr/nfs/utils: changes to helper func to check cephfs path (rhbz#2170739)
  - qa: fix issue with fn unable to fetch port and ip (rhbz#2170739)
  - qa: fix helper function _check_nfs_cluster_status() (rhbz#2170739)
  - qa: fix testcase 'test_cluster_set_user_config_with_non_existing_clusterid' (rhbz#2170739)
  - qa: fix cluster creation failure in test_nfs.py (rhbz#2170739)
  - qa: test export creation at filepath and symlink (rhbz#2170739)
  - qa: added test case test_nfs_export_with_invalid_path (rhbz#2170739)
  - mgr/nfs: disallow non-existent paths when creating export (rhbz#2170739)
  - mgr/nfs/tests: mock check_cephfs_path (rhbz#2170739)
  - mgr/nfs/utils: add helper func to check cephfs path (rhbz#2170739)
  - mgr/volumes: avoid returning -ESHUTDOWN back to cli (rhbz#2150306)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-93
changelog:
  - PendingReleaseNotes: add a note about deleting files from lost+found directory (rhbz#2222231)
  - qa: add checks that validate removal of entries from lost+found dir (rhbz#2222231)
  - mds: allow unlink operation under lost+found directory (rhbz#2222231)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-94
changelog:
  - ceph-volume: support bluestore-rdr objectstore (rhbz#2119217)
  - os/bluestore: Fix printing when bluestore mismatch (rhbz#2119217)
  - os/bluestore: Fix LTTNG (rhbz#2119217)
  - os/bluestore: Fix forward declarations (rhbz#2119217)
  - tools/kvstore-tool: Add handling of bluestore-rdr (rhbz#2119217)
  - tools/ceph-bluestore-tool: Fix osd-prime-dir (rhbz#2119217)
  - tools/ceph-bluestore-tool: Add dual handling of bluestore and bluestore-rdr (rhbz#2119217)
  - vstart.sh: Make it happy with bluestore-rdr (rhbz#2119217)
  - os/bluestore: Fix setting meta label "type" (rhbz#2119217)
  - os/bluestore: Fix enabling ESB when WITH_EXPERIMENTAL (rhbz#2119217)
  - os/bluestore: turn elastic SharedBlob solely in bluestore-exp (rhbz#2119217)
  - tools: integrate bluestore-rdr with vstart.sh (rhbz#2119217)
  - os: bring bluestore-rdr to facilitate evolution of BlueStore (rhbz#2119217)
  - os/bluestore: specify namespace for the std::floor usage in BlueStore.h (rhbz#2119217)
  - os/bluestore: get rid of inclusion-in-the-middle from BlueStore.cc (rhbz#2119217)
  - os/bluestore: Add #if WITH_ESB to unittests (rhbz#2119217)
  - os/bluestore: Add UT for ExtentMap::dup() (rhbz#2119217)
  - test/bluestore_types: introduce basic UT for new ExtentMap::dup (rhbz#2119217)
  - os/store_test: Change test limits (rhbz#2119217)
  - os/store_test: New SyntheticShardingLimited tests operate on limited objects (rhbz#2119217)
  - os/store_test: New SyntheticLimited tests operate on limited objects (rhbz#2119217)
  - tests/ceph_test_objectstore: Fix clone_range (rhbz#2119217)
  - os/bluestore: Wrap code with WITH_ESB (rhbz#2119217)
  - os/bluestore: Fix copying Buffers (rhbz#2119217)
  - os/bluestore: Modify ExtentMap::dup to reuse blobs (rhbz#2119217)
  - os/bluestore: Add make_range_shared_maybe_merge (rhbz#2119217)
  - os/bluestore: Introduce reblob_extents (rhbz#2119217)
  - os/bluestore: Add scan_shared_blobs and find_best_companion (rhbz#2119217)
  - os/bluestore: Add discard_unused_buffers function (rhbz#2119217)
  - os/bluestore: Add can_merge_blob and merge_blob (rhbz#2119217)
  - os/bluestore: Add functions for partial blob copy (rhbz#2119217)
  - os/bluestore: Remove inject_21040. (rhbz#2119217)
  - os/bluestore: Add WITH_ESB macro (rhbz#2119217)
  - os/bluestore: Refactor, add _dup_writing when cloning (rhbz#2119217)
  - os/bluestore: Fix BlueStore::_do_remove (rhbz#2119217)
  - os/bluestore: Adapt split_cache (rhbz#2119217)
  - os/bluestore: Move BufferSpace from SharedBlob to Blob (rhbz#2119217)
  - os/bluestore: Refactor finish_write (rhbz#2119217)
  - os/bluestore: Refactor TransContext (rhbz#2119217)
  - os/bluestore: Better dout for bluestore_blob_t (rhbz#2119217)
  - os/bluestore: Add operator<< for BufferSpace (rhbz#2119217)
  - os/bluestore: Added printing of csum size (rhbz#2119217)
  - os/bluestore: Debugs before ceph_assert in resharding. (rhbz#2119217)
  - os/bluestore: add ExtentMap::maybe_reshard (rhbz#2119217)
  - os/bluestore: Fix ExtentMap::reshard (rhbz#2119217)
  - os/bluestore: Improve ExtentMap::fault_range (rhbz#2119217)
  - os/bluestore: Add printing of broken shared blobs (rhbz#2119217)
  - os/bluestore: Refactor foreach_shared_blob in fsck (rhbz#2119217)
  - os/bluestore: Expand TwoQBufferCacheShard::_audit (rhbz#2119217)
  - os/bluestore: Fix DEBUG_CACHE (rhbz#2119217)
  - os/store_test: Retune tests to current code (rhbz#2119217)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-95
changelog:
  - rgw: set keys from from master zone on admin api user modify (rhbz#2211307)
  - rgw: set keys from from master zone on admin api user create (rhbz#2211307)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-96
changelog:
  - qa/tasks: Allow override of recovery configs for tests (rhbz#2124137)
  - osd/scheduler: Reset ephemeral changes to mClock built-in profile (rhbz#2124137)
  - mon/MonCap: Allow default osd profile to run "config rm" with restriction (rhbz#2124137)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-97
changelog:
  - mgr/dashboard: fix a bug where data would plot on the graphs without converting to the data units of the graph (rhbz#2222591)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-139
changelog:
  - radosgw-admin: add command to resync encrypted multipart objects (rhbz#2227842)
  - rgw: RGWRados::set_attrs() takes optional mtime (rhbz#2232640)
  - rgw: expose part id in RGWObjManifest iterator (rhbz#2227842)
  - rgw: preserve RGW_ATTR_CRYPT_PARTS of already-replicated objects (rhbz#2227842)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-142
changelog:
  - cephadm: fix timeout argument to call function (rhbz#2232087)
  - cephadm: disable coverage for some compatibility blocks (rhbz#2232087)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-144
changelog:
  - mds: continue linking if targeti is temporarily located in stray dir
  - Revert "mds: wait unlink to finish to avoid conflict when creating same dentries"
  - Revert "mds: clear the STATE_UNLINKING state when the unlink fails"
  - Revert "mds: wait reintegrate to finish when unlinking"
  - Revert "mds: notify the waiters in replica MDSs"
  - Revert "mds: wait the linkmerge/migrate to finish after unlink"


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-145
changelog:
  - ceph-volume: fix mpath device support (rhbz#2203397)
  - mgr/dashboard: fix cluster review page not showing details (rhbz#2239697)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-146
changelog:
  - mgr/prometheus: rename get_unlabeled_perf_counters, no send labeled pc (rhbz#2141003)
  - msgr: AsyncMessenger add faulted connections metrics (rhbz#2141003)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-147
changelog:
  - PendingReleaseNotes: add a note about disallowing delegating inodes (rhbz#2242143)
  - qa: start testing mds_client_delegate_inos_pct config (rhbz#2242143)
  - mds: disable delegating inode ranges to clients (rhbz#2242143)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-148
changelog:
  - Revert "mds: disable delegating inode ranges to clients"
  - Revert "qa: start testing mds_client_delegate_inos_pct config"
  - Revert "PendingReleaseNotes: add a note about disallowing delegating inodes"


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-158
changelog:
  - src/mon/Monitor: Fix set_elector_disallowed_leaders (rhbz#2243741)
  - src/mon: Added more loggings for disallowed_leaders (rhbz#2243741)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-159
changelog:
  - qa/workunits: modified tests for noautoscale flag change (rhbz#2241201)
  - pybind/mgr/pg_autoscaler: noautoscale flag retains individual pool configs (rhbz#2241201)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-160
changelog:
  - blk/kernel: Add O_EXCL for block devices (rhbz#2239449)
  - os/bluestore: beautify disk size output for volume selector (rhbz#2237881)
  - os/bluestore: bring spillover alerts back after regression. (rhbz#2237881)
  - test/store_test: BlueFSSpilloverTest to check corresponding alert (rhbz#2237881)
  - mon/ConfigMonitor: update crush_location from osd entity (rhbz#2213873)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-163
changelog:
  - rgw: object lock uses 64-bit encoding for RetainUntilDate (rhbz#2252337)
  - encoding: add round_trip_encode()/decode() for chrono types (rhbz#2252337)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-166
changelog:
  - python-common: fix osdspec_affinity check (rhbz#2252878)
  - python-common: drive_selection: fix KeyError when osdspec_affinity is not set (rhbz#2252878)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-168
changelog:
  - rgw: radosgw-admin bucket check should only print index entries with --check-objects flag (rhbz#2167318)
  - rgw: prevent another leftover bucket index olh entry scenario (rhbz#2167318)
  - rgw: fix rgw versioned bucket stat accounting during reshard and check index (rhbz#2167318)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-188
changelog:
  - qa: add test case for libcephsqlite maybe_reconnect (rhbz#2248719)
  - pybind/mgr: reopen database handle on blocklist (rhbz#2248719)
  - mgr: rework register_client to take name and replace (rhbz#2248719)
  - libcephsqlite: recover from blocklisting (rhbz#2248719)
  - SimpleRADOSStriper: increase debugging level for critical errors (rhbz#2248719)
  - pybind/mgr: remove unused variable (rhbz#2248719)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-189
changelog:
  - AuthMonitor: no need to check permission in MDS caps (rhbz#2218189)
  - MDSAuthCaps: print a special error message for wrong permissions (rhbz#2218189)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-190
changelog:
  - rgw/multisite: set versioning status in archive zone upon bucket creation (rhbz#2241146 rhbz#2257221)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-191
changelog:
  - rgw: fix mtime display in `radosgw-admin bucket stats ...` (rhbz#2257805)
  - rgw: fetch_remote_obj() uses uncompressed size for encrypted objects (rhbz#2247742)
  - rgw: rename 'expected' to 'accounted' size in fetch_remote_obj() (rhbz#2247742 rhbz#2236643)
  - rgw: fix output formatting of bucket index check admin api (rhbz#2257373)
  - rgw: fix radosgw-admin bucket check stat calculation bug (rhbz#2257373)
  - rgw: add test case to reproduce bucket check stats bug for versioned bucket (rhbz#2257373)
  - rgw/lc/rgw_lifecycle_work_time: add more explanation to long_desc (rhbz#2255939)
  - rgw/lc: adjust timing if the configured end work-time is less than the start-time (rhbz#2255939)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-192
changelog:
  - mds: revert standby-replay trimming changes (rhbz#2252126)
  - mds: log lru stats during trim (rhbz#2252126)
  - include: remove unused lru method (rhbz#2252126)
  - mds: trim cache during standby-replay (rhbz#2252126)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-195
changelog:
  - ceph-volume: Use safe accessor to get TYPE info (rhbz#2261977)
  - ceph-volume: allow removable devices but exclude USB (rhbz#2261977)
  - ceph-volume: fix a bug in _check_generic_reject_reasons (rhbz#2261977)
  - ceph-volume: drop is_locked_raw_device() (rhbz#2261977)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-196
changelog:
  - qa/tasks/ceph_manager: thrash - add reset_purged_snaps_last (rhbz#2251187)
  - osd/OSD: introduce reset_purged_snaps_last (rhbz#2251187)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-200
changelog:
  - librbd: try to preserve object map for diff-iterate in fast-diff mode (rhbz#2259053)
  - librbd/object_map: potentially use in-memory object map in DiffRequest (rhbz#2259053)
  - librbd/object_map: decouple object map processing in DiffRequest (rhbz#2259053)
  - common/bit_vector: fix iterator vs reference constness confusion (rhbz#2259053)
  - librbd/object_map: make object map in handle_load_object_map() local (rhbz#2259053)
  - librbd/object_map: don't resize object map in handle_load_object_map() (rhbz#2259053)
  - common/bit_vector: fix IteratorImpl post-increment operator (rhbz#2259053)
  - librbd: drop DiffIterate::diff_object_map() declaration (rhbz#2259053)
  - librbd: propagate diff-iterate range to parent in fast-diff mode (rhbz#2259053)
  - librbd/object_map: add support for ranged diff-iterate (rhbz#2259053)
  - include/intarith: introduce round_down_to() (rhbz#2259053)
  - test/librbd: expand TestMockObjectMapDiffRequest edge case coverage (rhbz#2259053)
  - librbd/object_map: allow intermediate snaps to be skipped on diff-iterate (rhbz#2259053)
  - librbd/object_map: resurrect diff-iterate behavior when image is shrunk (rhbz#2259053)
  - librbd/object_map: fix diff from snapshot when image is grown (rhbz#2259053)
  - librbd/object_map: drop bogus if in handle_load_object_map() (rhbz#2259053)
  - test/librbd: refactor TestMockObjectMapDiffRequest tests (rhbz#2259053)
  - test/librbd: improve TestMockObjectMapDiffRequest.InvalidStartSnap (rhbz#2259053)
  - test/pybind/rbd: don't ignore from_snapshot in check_diff() (rhbz#2259053)
  - test/librbd: redo TestMockObjectMapDiffRequest.*Delta tests (rhbz#2259053)
  - test/librbd: parametrize TestMockObjectMapDiffRequest tests (rhbz#2259053)
  - librbd: OBJECT_PENDING should always be treated as dirty (rhbz#2259053)
  - test/librbd: expand DiffIterateTest.DiffIterateDiscard (rhbz#2259053)
  - librbd: resurrect "exists" assert in simple_diff_cb() (rhbz#2259053)
  - librbd: diff-iterate shouldn't ever report "new hole" against a hole (rhbz#2259053)
  - test/librbd: close image in DiffIterateDeterministic (rhbz#2259053)
  - test/librbd: drop DiffIterateTest.DiffIterateRegression6926 (rhbz#2259053)
  - test/librbd: drop TestLibRBD.SnapDiff (rhbz#2259053)
  - test/librbd: add DiffIterateTest.DiffIterateDeterministic{,PP} (rhbz#2259053)
  - librbd: fix read_whole_object handling in ObjectListSnapsRequest (rhbz#2259053)
  - librbd: fix LIST_SNAPS_FLAG_WHOLE_OBJECT behavior (rhbz#2259053)
  - test/librbd: make ListSnapsWholeObject actually test stuff (rhbz#2259053)
  - librados/snap_set_diff: set end_size only if end object exists (rhbz#2259053)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-201
changelog:
  - mgr/dashboard: fix roles page for roles without policies (rhbz#2267909)
  - mgr/dashboard: fix error while accessing roles tab when policy attached (rhbz#2267909)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-204
changelog:
  - mds/FSMap: allow upgrades if no up mds (rhbz#2255431)
  - mon: fix mds metadata lost in one case. (rhbz#2255033)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-207
changelog:
  - PendingReleaseNotes: support for subvolumes and subvolume groups in snap_schedule (rhbz#2243783)
  - snap_schedule/tests: fix db upgrade issue (rhbz#2243783)
  - qa: add yaml for on demand subvol version testing (rhbz#2243783)
  - qa: add test cases for testing --subvol and --group arguments (rhbz#2243783)
  - mgr/volumes: conditionalize subvolume upgrade (rhbz#2243783)
  - mgr/volumes: ensure correct init of v1 subvol (rhbz#2243783)
  - mgr/snap_schedule: add subvol and subvol group arguments to cli (rhbz#2243783)
  - mds/snap_schedule: add subvolume group column management (rhbz#2243783)
  - mgr/volumes: add remote helper methods to fetch subvolume info (rhbz#2243783)
  - doc/cephfs: add note about monthly scheduling and retention period (rhbz#2270220)
  - qa: update minute period multiplier to m (rhbz#2270220)
  - qa: change minute duration specifier from M to m (rhbz#2270220)
  - mgr/snap_schedule: change minute duration specifier from M to m (rhbz#2270220)
  - rgw/http/client-side: disable curl path normalization (rhbz#2265153 rhbz#2265148)
  - mds: disable `defer_client_eviction_on_laggy_osds' by default (rhbz#2269663)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-208
changelog:
  - rgw_sigv4: handle '0;' as trailer-chunk boundary (rhbz#2260354)
  - awssigv4: fix recognition of trailer boundary when no trailing signature (rhbz#2256969 rhbz#2260354)
  - awssigv4: fix signing of 0-byte object (rhbz#2256969 rhbz#2260354)
  - rgw_cksum: add junit5-based unit test suite (rhbz#2256969 rhbz#2260354)
  - rgw: cumulatively fix 6 AWS SigV4 request failure cases (rhbz#2256969 rhbz#2260354)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-239
changelog:
  - backport mgr/prometheus: fix orch check to prevent Prometheus crash https://tracker.ceph.com/issues/64339 (rhbz#2303151)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-241
changelog:
  - rgw: evaluation of session policies in conjunction with other identity and resource policies returned -EACCES for DeleteMultiObjects even when there was no implicit or explicit deny, which resulted in the permission evaluation failing and hence deletion of objects failing. The fix removes the erroneous code to return -EACCES, and re-arranges code correctly. (rhbz#2298712)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-242
changelog:
  - rgw/sts: by-passing authentication using temp creds in case the request is forwarded from secondary in a multi-site setup. authenticating with the system user creds of which are used to sign the request. Permissions are still derived from the role. (rhbz#2271595)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-244
changelog:
  - rgw: rgw-restore-bucket-index -- sort uses specified temp dir (rhbz#2270322)
  - rgw: make rgw-restore-bucket-index more robust (rhbz#2270322)


author: Ceph Jenkins <ceph-jenkins@redhat.com> 2:17.2.6-245
changelog:
  - mds,client: update the oldest_client_tid via the renew caps (rhbz#2257730)
  - mds: add cap_auths in MClientSession (rhbz#2257730)
  - mds: add MDSCapAuth support (rhbz#2257730)
  - mds: encode/decode the MDSCapMatch (rhbz#2257730)
  - mds: add assign operator support for MDSCapMatch (rhbz#2257730)
  - mds: add trim_completed_request_list() helper (rhbz#2257730)


author: Jaroslav Škarvada <jskarvad@redhat.com> - 2.6.2-5
changelog:
  - Added support for configurable lock file locations and set the default path
    Resolves: rhbz#1178036


