]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
7 days agoMerge pull request #65620 from aaSharma14/wip-73167-squid
Aashish Sharma [Fri, 26 Sep 2025 14:07:55 +0000 (19:37 +0530)]
Merge pull request #65620 from aaSharma14/wip-73167-squid

squid: mgr/dashboard: fix zone update API forcing STANDARD storage class

Reviewed-by: Afreen Misbah <afreen@ibm.com>
8 days agoMerge pull request #65671 from aaSharma14/wip-73231-squid
Aashish Sharma [Fri, 26 Sep 2025 05:11:59 +0000 (10:41 +0530)]
Merge pull request #65671 from aaSharma14/wip-73231-squid

squid: monitoring: fix "In" OSDs in Cluster-Advanced grafana panel. Also change units from decbytes to bytes wherever used in the panel

Reviewed-by: Afreen Misbah <afreen@ibm.com>
9 days agomonitoring/ceph_mixin: fix Cluster - Advanced OSD grafana panel
Aashish Sharma [Wed, 17 Sep 2025 06:58:16 +0000 (12:28 +0530)]
monitoring/ceph_mixin: fix Cluster - Advanced OSD grafana panel

1. Fixes the promql expr used to calculate "In" OSDs in
   ceph-cluster-advanced.json.
2. Fixes the color coding for the single state panels used in the OSDs
   grafana panel like "In", "Out" etc

Fixes: https://tracker.ceph.com/issues/72810
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 53a6856d603e0fe4ff31f76e19263a80359a9f1d)

9 days agoMerge pull request #65659 from ceph/wip-squid-noble
David Galloway [Wed, 24 Sep 2025 19:35:22 +0000 (15:35 -0400)]
Merge pull request #65659 from ceph/wip-squid-noble

squid: cmake: remove _FORTIFY_SOURCE define

9 days agoMerge pull request #64605 from cbodley/wip-72190-squid
Yuri Weinstein [Wed, 24 Sep 2025 18:42:50 +0000 (11:42 -0700)]
Merge pull request #64605 from cbodley/wip-72190-squid

squid: deb/cephadm: add explicit --home for cephadm user

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
9 days agocmake: remove _FORTIFY_SOURCE define
Casey Bodley [Wed, 3 Sep 2025 17:22:30 +0000 (13:22 -0400)]
cmake: remove _FORTIFY_SOURCE define

according to `dpkg-buildflags`, ubuntu 24 raised this value to
`-D_FORTIFY_SOURCE=3` which causes `error: "_FORTIFY_SOURCE" redefined`
compilation failures because Ceph itself adds `-D_FORTIFY_SOURCE=2`

`_FORTIFY_SOURCE` is a hardening option. both our rpm and debian builds
already specify that via environment variables, so Ceph's cmake should
leave it alone

Fixes: https://tracker.ceph.com/issues/72361
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 66bec97b0dc90b91f5be586351f52082beb6374a)

9 days agoMerge pull request #61166 from anoopcs9/wip-69306-squid
Rishabh Dave [Wed, 24 Sep 2025 13:42:42 +0000 (19:12 +0530)]
Merge pull request #61166 from anoopcs9/wip-69306-squid

squid: client: Handle empty pathnames for `ceph_chownat()` and `ceph_statxat()`

Reviewed-by: Rishabh Dave <ridave@redhat.com>
10 days agoMerge pull request #65636 from adk3798/squid-cephadm-pin-cheroot
Adam King [Tue, 23 Sep 2025 21:10:40 +0000 (17:10 -0400)]
Merge pull request #65636 from adk3798/squid-cephadm-pin-cheroot

squid: pybind/mgr: pin cheroot version in requirements-required.txt

Reviewed-by: John Mulligan <jmulligan@redhat.com>
10 days agoMerge pull request #65588 from adamemerson/wip-perfcounters-unique-string-squid
Yuri Weinstein [Tue, 23 Sep 2025 19:12:58 +0000 (12:12 -0700)]
Merge pull request #65588 from adamemerson/wip-perfcounters-unique-string-squid

squid: common: Allow PerfCounters to return a provided service ID

Reviewed-by: Casey Bodley <cbodley@redhat.com>
10 days agoMerge pull request #65556 from jzhu116-bloomberg/wip-72972-squid
Yuri Weinstein [Tue, 23 Sep 2025 19:12:09 +0000 (12:12 -0700)]
Merge pull request #65556 from jzhu116-bloomberg/wip-72972-squid

squid: rgw: discard olh_ attributes when copying object from a versioning-suspended bucket to a versioning-disabled bucket

Reviewed-by: Adam Emerson <aemerson@redhat.com>
10 days agomgr/dashboard: bump cheroot to > 10.0
Nizamudeen A [Fri, 19 Apr 2024 08:07:11 +0000 (13:37 +0530)]
mgr/dashboard: bump cheroot to > 10.0

Fixes: https://tracker.ceph.com/issues/55837
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 1ec74a8360d1c4abb39754320eba118d080e3499)

10 days agoclient: Gracefully handle empty pathname for statxat()
Anoop C S [Mon, 23 Sep 2024 07:06:55 +0000 (12:36 +0530)]
client: Gracefully handle empty pathname for statxat()

man statx(2)[1] says the following:
. . .
AT_EMPTY_PATH
    If pathname is an empty string, operate on the file referred to by
    dirfd (which may have been obtained using the open(2) O_PATH flag).
    In this case, dirfd can refer to any type of file, not just a
    directory.

    If dirfd is AT_FDCWD, the call operates on the current working
    directory.
. . .

Look out for an empty pathname and use the relative fd's inode in the
presence of AT_EMPTY_PATH flag before calling internal _getattr().

Fixes: https://tracker.ceph.com/issues/68189
Review with: git show -w

[1] https://www.man7.org/linux/man-pages/man2/statx.2.html

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
(cherry picked from commit edd7fe76c4919bc243377c6d7aae20b0606b89c3)

Conflicts:
        src/client/Client.cc
- path_walk() refactor from https://github.com/ceph/ceph/pull/62095
  included the required core changes.

10 days agolibcephfs.h: Fix API documentation for ceph_statxat
Anoop C S [Thu, 17 Oct 2024 16:15:17 +0000 (21:45 +0530)]
libcephfs.h: Fix API documentation for ceph_statxat

flags parameter for ceph_statxat() API is supposed to accept only
AT_STATX_DONT_SYNC and AT_SYMLINK_NOFOLLOW. Modify the corresponding
documentation to reflect the acceptance of above two flags.

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
(cherry picked from commit 92c5ab99b8dcaae56e4a92cfe72a7e3d343b8a0c)

10 days agoclient: Gracefully handle empty pathname for chownat()
Anoop C S [Fri, 20 Sep 2024 08:49:01 +0000 (14:19 +0530)]
client: Gracefully handle empty pathname for chownat()

man fchownat(2)[1] says the following:
. . .
AT_EMPTY_PATH (since Linux 2.6.39)
    If pathname is an empty string, operate on the file referred to by
    dirfd (which may have been obtained using the open(2) O_PATH flag).
    In this case, dirfd can refer to any type of file, not just a
    directory. If dirfd is AT_FDCWD, the call operates on the current
    working directory.
. . .

Look out for an empty pathname and use the relative fd's inode in the
presence of AT_EMPTY_PATH flag before calling internal _setattr().

Fixes: https://tracker.ceph.com/issues/68189
Review with: git show -w

[1] https://www.man7.org/linux/man-pages/man2/fchownat.2.html

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
(cherry picked from commit 829f38899226fcd1f603ba446b018f53c5b0921d)

Conflicts:
        src/client/Client.cc
- path_walk() refactor from https://github.com/ceph/ceph/pull/62095
  included the required core changes.

10 days agoMerge pull request #65639 from zdover23/wip-doc-2025-09-23-squid-remove-cloud-restore-rst
Casey Bodley [Tue, 23 Sep 2025 13:24:28 +0000 (09:24 -0400)]
Merge pull request #65639 from zdover23/wip-doc-2025-09-23-squid-remove-cloud-restore-rst

squid: doc/radosgw: remove cloud-restore from squid

Reviewed-by: Casey Bodley <cbodley@redhat.com>
10 days agoMerge pull request #61451 from anoopcs9/wip-69556-squid
Rishabh Dave [Tue, 23 Sep 2025 12:10:57 +0000 (17:40 +0530)]
Merge pull request #61451 from anoopcs9/wip-69556-squid

squid: mds: Fix invalid access of mdr->dn[0].back()

Reviewed-by: Rishabh Dave <ridave@redhat.com>
10 days agoMerge pull request #62391 from neesingh-rh/wip-70416-squid
Rishabh Dave [Tue, 23 Sep 2025 12:10:47 +0000 (17:40 +0530)]
Merge pull request #62391 from neesingh-rh/wip-70416-squid

squid: cephfs-shell: add option to remove xattr

Reviewed-by: Rishabh Dave <ridave@redhat.com>
10 days agoMerge pull request #64652 from rishabh-d-dave/wip-72200-squid
Rishabh Dave [Tue, 23 Sep 2025 12:10:35 +0000 (17:40 +0530)]
Merge pull request #64652 from rishabh-d-dave/wip-72200-squid

squid: mgr/vol: keep and show clone source info

Reviewed-by: Rishabh Dave <ridave@redhat.com>
10 days agoMerge pull request #65279 from joscollin/wip-67809-squid
Rishabh Dave [Tue, 23 Sep 2025 12:10:25 +0000 (17:40 +0530)]
Merge pull request #65279 from joscollin/wip-67809-squid

squid: mds: add more debug logs and log events

Reviewed-by: Rishabh Dave <ridave@redhat.com>
10 days agoMerge pull request #65280 from joscollin/wip-69369-squid
Rishabh Dave [Tue, 23 Sep 2025 12:09:50 +0000 (17:39 +0530)]
Merge pull request #65280 from joscollin/wip-69369-squid

squid: qa: use a larger timeout for kernel_untar_build workunit

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 days agoMerge pull request #63019 from batrick/wip-71094-squid
Jos Collin [Tue, 23 Sep 2025 03:09:30 +0000 (08:39 +0530)]
Merge pull request #63019 from batrick/wip-71094-squid

squid: mds: check for snapshots on parent snaprealms

Reviewed-by: Jos Collin <jcollin@redhat.com>
11 days agoMerge pull request #62499 from batrick/wip-70663-squid
Jos Collin [Tue, 23 Sep 2025 02:43:42 +0000 (08:13 +0530)]
Merge pull request #62499 from batrick/wip-70663-squid

squid:  client: ll_walk will process absolute paths as relative

Reviewed-by: Jos Collin <jcollin@redhat.com>
11 days agoMerge pull request #65629 from phlogistonjohn/jjm-s-65514
David Galloway [Tue, 23 Sep 2025 02:27:19 +0000 (19:27 -0700)]
Merge pull request #65629 from phlogistonjohn/jjm-s-65514

squid: build-with-container: add argument groups to organize options

11 days agodoc/radosgw: remove cloud-restore from squid
Zac Dover [Tue, 23 Sep 2025 02:09:52 +0000 (12:09 +1000)]
doc/radosgw: remove cloud-restore from squid

Remove doc/radosgw/cloud-restore.rst from the Squid branch.

cloud-restore does not appear in index.rst, so its removal from
index.rst is unnecessary.

Signed-off-by: Zac Dover <zac.dover@proton.me>
11 days agoMerge pull request #64090 from vshankar/wip-cephfs-client-fixes-squid
Jos Collin [Tue, 23 Sep 2025 02:06:52 +0000 (07:36 +0530)]
Merge pull request #64090 from vshankar/wip-cephfs-client-fixes-squid

squid: client: cephfs user-space client fixes

Reviewed-by: Jos Collin <jcollin@redhat.com>
11 days agopybind/mgr: pin cheroot version in requirements-required.txt
Adam King [Mon, 22 Sep 2025 21:05:07 +0000 (17:05 -0400)]
pybind/mgr: pin cheroot version in requirements-required.txt

With python 3.10 (didn't seem to happen with python 3.12) the
pybind/mgr/cephadm/tests/test_node_proxy.py test times out.
This appears to be related to a new release of the cheroot
package and a github issues describing the same problem
we're seeing has been opened by another user
https://github.com/cherrypy/cheroot/issues/769

It is worth noting that the workaround described in that
issue does also work for us. If you add

```
import cheroot
cheroot.server.HTTPServer._serve_unservicable = lambda: None
```

after the existing imports in test_node_proxy.py the
test hanging issue also disappears. Also worth noting the
particular pin of

cheroot~=10.0

was chosen as it matches the existing pin being used
in pybind/mgr/dashboard/constraints.txt

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit 6231955b5d00ae6b3630ee94e85b2449092ef0fe)

11 days agoMerge pull request #61274 from kotreshhr/wip-68940-squid
Jos Collin [Tue, 23 Sep 2025 01:41:10 +0000 (07:11 +0530)]
Merge pull request #61274 from kotreshhr/wip-68940-squid

squid: ceph-fuse: Improve fuse mount usage message

Reviewed-by: Jos Collin <jcollin@redhat.com>
11 days agoMerge pull request #62517 from salieri11/wip-70631-squid
Jos Collin [Tue, 23 Sep 2025 01:36:49 +0000 (07:06 +0530)]
Merge pull request #62517 from salieri11/wip-70631-squid

squid: mds: add MDS asok command for dumping stray directories

Reviewed-by: Jos Collin <jcollin@redhat.com>
11 days agoMerge pull request #65133 from chrisphoffman/wip-72645-squid
Jos Collin [Tue, 23 Sep 2025 01:28:13 +0000 (06:58 +0530)]
Merge pull request #65133 from chrisphoffman/wip-72645-squid

squid: client: use path supplied in statfs

Reviewed-by: Jos Collin <jcollin@redhat.com>
11 days agobuild-with-container: add argument groups to organize options
John Mulligan [Fri, 12 Sep 2025 17:52:25 +0000 (13:52 -0400)]
build-with-container: add argument groups to organize options

Use the argparse add_argument_group feature to organize the mass of
arguments into more sensible categories. Hopefully, someone reading
over the `--help` output can now more easily see options that
are useful rather than being overwhelmed by a wall of text.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 71a1be4dd0aea004da56c2f518ee70a281a3f7d3)

11 days agomgr/dashboard: fix zone update API forcing STANDARD storage class
Aashish Sharma [Thu, 18 Sep 2025 10:59:52 +0000 (16:29 +0530)]
mgr/dashboard: fix zone update API forcing STANDARD storage class

The zone update REST API (`edit_zone`) always attempted to configure a
placement target for the `STANDARD` storage class, even when the request
was intended for a different storage class name.
This caused failures in deployments where `STANDARD` is not defined.

Changes:
Club add placement target and add storage class methods into one single
add_placement_targets_storage_class_zone method which takes the storage
class as a param as well alongside the rest of the placement params.

Fixes: https://tracker.ceph.com/issues/73105
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 135f3adb4973be493925839e946e7a5fc75e7d5c)

2 weeks agomgr/vol: move reusable parts from async_cloner
Rishabh Dave [Wed, 14 Feb 2024 09:52:47 +0000 (15:22 +0530)]
mgr/vol: move reusable parts from async_cloner

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 8c536f78907fe1d42e1df612604d5872019b501d)

Conflicts:
src/pybind/mgr/volumes/fs/async_cloner.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py
- commit 8c536f78907f was missing which led to conflict.

2 weeks agorgw: Record the `service_unique_id`, if present, in the SrviceMap
Adam C. Emerson [Mon, 8 Sep 2025 18:19:20 +0000 (14:19 -0400)]
rgw: Record the `service_unique_id`, if present, in the SrviceMap

For consistency and ease associating the two.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 3a94a7b2ed02d20b2bc839b283e60cf4778f69e4)
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agocommon: Allow PerfCounters to return a provided service ID
Adam C. Emerson [Fri, 5 Sep 2025 15:31:40 +0000 (11:31 -0400)]
common: Allow PerfCounters to return a provided service ID

Dashboard has asked for a unique identifier that can be associated
with services. This commit provides a component of that
functionality. Enforcing uniqueness is beyond the scope of this PR and
is the responsibility of cluster setup and orchestration. The scope of
uniqueness is a matter of policy and up to the design of cluster setup
and orchestration software.

We provide the `--service_unique_id` argument that can be passed on
the command line when executing a Ceph service that uses
`global_init`. If non-empty, a `service_unique_id` section is added to
the PerfCounters dump for that service. This section has a single
entry whose name is set to the argument of `service_unique_id` and
whose value is arbitrary. If unspecified or empty, no
`service_unique_id` section is added.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 6dc322421f7a3758251fe29e3f35934231358011)
Conflicts:
src/common/options/global.yaml.in
 - Preceding options not in Squid

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agoMerge pull request #65219 from cbodley/wip-72715-squid
Yuri Weinstein [Thu, 18 Sep 2025 15:20:45 +0000 (08:20 -0700)]
Merge pull request #65219 from cbodley/wip-72715-squid

squid: rgw/s3: remove 'aws-chunked' from Content-Encoding response

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2 weeks agoMerge pull request #62051 from k0ste/wip-65923-squid
Yuri Weinstein [Thu, 18 Sep 2025 15:19:59 +0000 (08:19 -0700)]
Merge pull request #62051 from k0ste/wip-65923-squid

squid: CephContext: acquire _fork_watchers_lock in notify_post_fork()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 weeks agoMerge pull request #63720 from batrick/wip-71554-squid
Christopher Hoffman [Wed, 17 Sep 2025 15:17:39 +0000 (11:17 -0400)]
Merge pull request #63720 from batrick/wip-71554-squid

squid: test/libcephfs: copy DT_NEEDED entries from input libraries

2 weeks agoMerge pull request #64936 from pritha-srivastava/wip-72464-squid
anrao19 [Wed, 17 Sep 2025 05:22:12 +0000 (10:52 +0530)]
Merge pull request #64936 from pritha-srivastava/wip-72464-squid

squid: rgw: check all JWKS for STS

2 weeks agorgw: discard olh_ attributes when copying object from a versioning-suspended bucket...
Jane Zhu [Wed, 20 Aug 2025 18:38:23 +0000 (18:38 +0000)]
rgw: discard olh_ attributes when copying object from a versioning-suspended bucket to a versioning-disabled bucket

Signed-off-by: Jane Zhu <jzhu116@bloomberg.net>
(cherry picked from commit 3fed58f43c3cb3977130926a2d1bca551deefade)

2 weeks agoMerge pull request #65550 from stackhpc/doc-balancer-squid
Anthony D'Atri [Tue, 16 Sep 2025 20:48:05 +0000 (15:48 -0500)]
Merge pull request #65550 from stackhpc/doc-balancer-squid

squid: doc: Fixes a typo in balancer operations

2 weeks agodoc: Fixes a typo in balancer operations
Tyler Brekke [Tue, 24 Jun 2025 19:12:33 +0000 (12:12 -0700)]
doc: Fixes a typo in balancer operations

Signed-off-by: Tyler Brekke <tbrekke@digitalocean.com>
(cherry picked from commit b038b8093d01a5e676ffa419607489a79261ef29)

2 weeks agoMerge pull request #65486 from tobias-urdin/squid-rgw-admin-bucket-pagination
Adam Emerson [Tue, 16 Sep 2025 19:32:01 +0000 (15:32 -0400)]
Merge pull request #65486 from tobias-urdin/squid-rgw-admin-bucket-pagination

squid: rgw/admin: Add max-entries and marker to bucket list

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2 weeks agoMerge pull request #59922 from mchangir/wip-68077-squid
Milind Changire [Mon, 15 Sep 2025 07:08:33 +0000 (12:38 +0530)]
Merge pull request #59922 from mchangir/wip-68077-squid

squid: qa: relocate subvol creation overrides and test

2 weeks agoMerge pull request #61857 from batrick/wip-69956-squid
Milind Changire [Mon, 15 Sep 2025 07:02:56 +0000 (12:32 +0530)]
Merge pull request #61857 from batrick/wip-69956-squid

squid: mds: do not schedule quiesce for non-head imported inodes

2 weeks agoMerge pull request #64539 from batrick/wip-72163-squid
Milind Changire [Mon, 15 Sep 2025 07:01:59 +0000 (12:31 +0530)]
Merge pull request #64539 from batrick/wip-72163-squid

squid:  mds: nudge log for unstable locks after early reply

2 weeks agoMerge pull request #65492 from rhcs-dashboard/wip-72987-squid
afreen23 [Mon, 15 Sep 2025 07:01:44 +0000 (12:31 +0530)]
Merge pull request #65492 from rhcs-dashboard/wip-72987-squid

squid: mgr/dashboard : Fixed mirrored image usage info bar

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 weeks agoMerge pull request #65162 from joscollin/wip-72154-squid
Milind Changire [Mon, 15 Sep 2025 07:01:03 +0000 (12:31 +0530)]
Merge pull request #65162 from joscollin/wip-72154-squid

squid: mds: dump export_ephemeral_random_pin as double

3 weeks agomgr/dashboard : Fixed mirrored image usage info bar
Abhishek Desai [Thu, 7 Aug 2025 07:50:38 +0000 (13:20 +0530)]
mgr/dashboard : Fixed mirrored image usage info bar
fixes : https://tracker.ceph.com/issues/72431

Signed-off-by: Abhishek Desai <abhishek.desai1@ibm.com>
(cherry picked from commit 3a192b7c38e3f1669f3deee31702ba802d7411fd)

3 weeks agoradosgw-admin: Pass max_entries for bucket list
Tobias Urdin [Thu, 24 Jul 2025 21:42:46 +0000 (23:42 +0200)]
radosgw-admin: Pass max_entries for bucket list

The changes in [1] did not take into account that
radosgw-admin code calls `RGWBucketAdminOp::info`
directly and passes a `RGWBucketAdminOpState`
struct where max_entries is not initialized so
we should not assume that it's zero.

This in turn broke the `bucket list --uid foo` and
`bucket stats --uid foo` commands as the output was
changed and thus not keeping backward compatibility.

This change makes sure that we populate max_entries
in `RGWBucketAdminOpState` if `--max-entries` argument
was specified otherwise we set it to zero to keep the
backward compatibility in the output format.

[1] https://github.com/ceph/ceph/pull/62777

Fixes: https://tracker.ceph.com/issues/72049
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 3909c6554cdfcf1b05b5e32297b2e65e9c67af2b)

3 weeks agorgw/qa: Move admin pagination tests
Tobias Urdin [Mon, 5 May 2025 15:20:31 +0000 (17:20 +0200)]
rgw/qa: Move admin pagination tests

Move the tests into qa directory and add it to the
rgw/verify suite so that we can run it in teuthology.

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 57cbc9b6599be1e84c5bc209936080c4a04bb891)

3 weeks agorgw/doc: Add doc for admin bucket list pagination
Tobias Urdin [Fri, 11 Apr 2025 08:37:45 +0000 (10:37 +0200)]
rgw/doc: Add doc for admin bucket list pagination

This adds the documentation for the admin bucket list
pagination change.

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 7fa025e08a21b03ce91556ffb936b9f26ffdc00f)

3 weeks agorgw/admin: Add max-entries and marker to bucket list
Tobias Urdin [Fri, 11 Apr 2025 08:13:57 +0000 (10:13 +0200)]
rgw/admin: Add max-entries and marker to bucket list

This adds pagination to the /admin/bucket endpoint for the
Admin API.

If a user has a lot of buckets the /admin/bucket endpoint
that is listing buckets can be so long that the HTTP request
gets a timeout.

This adds the ``max-entries`` and ``marker`` query parameters
to the API to support pagination. If ``max-entries`` is given
we introduce a new format for the HTTP response body the same
way that metadata API does, if it's not given we return the
response with the same body as before and thus retaining the
backward compatibility of the API.

This adds a Python3 based test suite that tests all of this
functionality to verify the behaviour and the HTTP response
body itself.

This fixes the pagination mentioned in tracker [1] and thus
fixes (or atleast partially fixes) that.

[1] https://tracker.ceph.com/issues/22168

Fixes: https://tracker.ceph.com/issues/22168
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
(cherry picked from commit 1d5523ec0bec916e0a87fdcb8d27b67753e477b6)

3 weeks agoMerge pull request #65475 from rhcs-dashboard/wip-72965-squid
Nizamudeen A [Thu, 11 Sep 2025 06:17:41 +0000 (11:47 +0530)]
Merge pull request #65475 from rhcs-dashboard/wip-72965-squid

squid: monitoring: add user-agent headers to the urllib

3 weeks agomonitoring: add user-agent headers to the urllib
Nizamudeen A [Wed, 10 Sep 2025 13:00:36 +0000 (18:30 +0530)]
monitoring: add user-agent headers to the urllib

The documentation started raising 403 suddenly. Adding User-Agent
headers to the request

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit b8fe487010483681bbc8ddb8dfe18b40ebfd346b)

3 weeks agoMerge pull request #64741 from cbodley/wip-71544-squid
Adam Emerson [Tue, 9 Sep 2025 21:45:29 +0000 (17:45 -0400)]
Merge pull request #64741 from cbodley/wip-71544-squid

squid: rgw/lc: stop using merge_and_store_attrs in remove_bucket_config

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
3 weeks agoMerge pull request #65302 from guits/wip-72781-squid
Guillaume Abrioux [Tue, 9 Sep 2025 12:52:08 +0000 (14:52 +0200)]
Merge pull request #65302 from guits/wip-72781-squid

squid: ceph-volume: drop udevadm subprocess calls

4 weeks agoMerge pull request #65417 from ceph/fix-api-tests-squid
David Galloway [Fri, 5 Sep 2025 22:14:37 +0000 (18:14 -0400)]
Merge pull request #65417 from ceph/fix-api-tests-squid

squid: pybind/mgr/dashboard: Use teuthology's actual requirements

4 weeks agopybind/mgr/dashboard: Use teuthology's actual requirements
David Galloway [Fri, 5 Sep 2025 17:58:43 +0000 (13:58 -0400)]
pybind/mgr/dashboard: Use teuthology's actual requirements

Signed-off-by: David Galloway <david.galloway@ibm.com>
(cherry picked from commit 22a87d959bca74478de1e2d9f86859676385491d)

4 weeks agoMerge pull request #65244 from ceph/wip-yuriw-squid-p2p-squid
Yuri Weinstein [Fri, 5 Sep 2025 15:19:44 +0000 (08:19 -0700)]
Merge pull request #65244 from ceph/wip-yuriw-squid-p2p-squid

qa/tests: added 19.2.3 to the mix

Reviewed-by: Laura Flores <lflores@redhat.com>
4 weeks agoMerge pull request #65379 from zdover23/wip-doc-2025-09-04-backport-65325-to-squid
Zac Dover [Thu, 4 Sep 2025 03:51:52 +0000 (13:51 +1000)]
Merge pull request #65379 from zdover23/wip-doc-2025-09-04-backport-65325-to-squid

squid: doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agodoc/cephfs: edit troubleshooting.rst
Zac Dover [Tue, 2 Sep 2025 00:31:41 +0000 (10:31 +1000)]
doc/cephfs: edit troubleshooting.rst

Update the "Disconnected+Remounted FS" section in
doc/cephfs/troubleshooting.rst, as suggested by Venky Shankar in https://github.com/ceph/ceph/pull/65129/files#r2312903062

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit f4b40422fefaa993441396a5c31fbfd3d8714595)

4 weeks agoMerge pull request #65202 from zdover23/wip-doc-2025-08-25-backport-65185-to-squid
Zac Dover [Mon, 1 Sep 2025 04:29:25 +0000 (14:29 +1000)]
Merge pull request #65202 from zdover23/wip-doc-2025-08-25-backport-65185-to-squid

squid: doc/cephfs: edit troubleshooting.rst (Slow MDS)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #65206 from zdover23/wip-doc-2025-08-26-backport-64074-to-squid
Zac Dover [Mon, 1 Sep 2025 04:28:54 +0000 (14:28 +1000)]
Merge pull request #65206 from zdover23/wip-doc-2025-08-26-backport-64074-to-squid

squid: doc/rados/configuration: Mention show-with-defaults and ceph-conf

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #65211 from zdover23/wip-doc-2025-08-26-backport-65180-to-squid
Zac Dover [Mon, 1 Sep 2025 04:28:20 +0000 (14:28 +1000)]
Merge pull request #65211 from zdover23/wip-doc-2025-08-26-backport-65180-to-squid

squid: doc/dev:update blkin.rst doc for lttng trace

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #65238 from zdover23/wip-doc-2025-08-26-backport-65230-to-squid
Zac Dover [Mon, 1 Sep 2025 04:27:46 +0000 (14:27 +1000)]
Merge pull request #65238 from zdover23/wip-doc-2025-08-26-backport-65230-to-squid

squid: doc/rados/operations: Improve health-checks.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
4 weeks agoMerge pull request #65311 from zdover23/wip-doc-2025-08-30-backport-8ff129c89-to...
Zac Dover [Mon, 1 Sep 2025 04:27:09 +0000 (14:27 +1000)]
Merge pull request #65311 from zdover23/wip-doc-2025-08-30-backport-8ff129c89-to-squid

squid: doc/dev/crimson: Update docs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agodoc/dev/crimson: Update docs
Matan Breizman [Wed, 13 Aug 2025 08:11:30 +0000 (08:11 +0000)]
doc/dev/crimson: Update docs

* CPU allocation missed some information and was confusing.
* Drop alienized term when possible
* introdice release/debug builds

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 8ff129c89ffcd4831dcd9d8b8f0d49687cc57183)

5 weeks agoMerge pull request #63130 from kshtsk/wip-71208-squid
Venky Shankar [Fri, 29 Aug 2025 14:07:04 +0000 (19:37 +0530)]
Merge pull request #63130 from kshtsk/wip-71208-squid

squid: qa/tasks/cephfs/mount: use 'ip route' instead 'route'

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 weeks agoceph-volume: drop udevadm subprocess calls
Guillaume Abrioux [Thu, 14 Aug 2025 11:43:40 +0000 (11:43 +0000)]
ceph-volume: drop udevadm subprocess calls

Calling udevadm via subprocess can cause processes to pile up
under heavy load on production clusters.
This commit switches to reading udev data directly from /run/udev/data,
which is mounted as tmpfs.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 727e69db73ef39d51bdd45515536e59d3acff19e)

5 weeks agoqa: use a larger timeout for kernel_untar_build workunit
Venky Shankar [Wed, 6 Nov 2024 10:05:44 +0000 (10:05 +0000)]
qa: use a larger timeout for kernel_untar_build workunit

Fixes: http://tracker.ceph.com/issues/68855
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit b65d7492af0c0e31f5bf891554b7608fa4c9f395)

5 weeks agomds: add the event when creating the batch head
Xiubo Li [Wed, 31 Jul 2024 02:14:59 +0000 (10:14 +0800)]
mds: add the event when creating the batch head

This could help us the debug the slow request or deadlock bugs and
we could know which stage the request has been in.

Fixes: https://tracker.ceph.com/issues/67280
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 7e08760a0e560759fa73e7b889494bdb60a03ff3)

5 weeks agomds: print the path depth to help debug mds issue
Xiubo Li [Wed, 31 Jul 2024 02:48:01 +0000 (10:48 +0800)]
mds: print the path depth to help debug mds issue

From the path depth we can get more useful info, such as whether
the path_traverse() acquired any locks, etc.

Fixes: https://tracker.ceph.com/issues/67280
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 5d8aa5245cb7e5d819651898533130e463b373fe)

5 weeks agodoc/cephfs: edit troubleshooting.rst (Slow MDS)
Zac Dover [Fri, 22 Aug 2025 08:39:29 +0000 (18:39 +1000)]
doc/cephfs: edit troubleshooting.rst (Slow MDS)

Move the "Slow requests (MDS)" section immediately after the first
section in this document ("Slow/Stuck Operations"), because the first
procedure on the page directs the reader to undertake the operation in
"Slow requests (MDS)" before trying anything else.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 55af6643c9a119afc4e22e2591774e1d68ef5580)

5 weeks agoMerge pull request #65183 from zdover23/wip-doc-2025-08-22-backport-64726-to-squid
Zac Dover [Wed, 27 Aug 2025 19:56:48 +0000 (05:56 +1000)]
Merge pull request #65183 from zdover23/wip-doc-2025-08-22-backport-64726-to-squid

squid: doc/man/8: Improve mount.ceph.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #65137 from zdover23/wip-doc-2025-08-20-backport-65128-to-squid
Zac Dover [Wed, 27 Aug 2025 19:56:26 +0000 (05:56 +1000)]
Merge pull request #65137 from zdover23/wip-doc-2025-08-20-backport-65128-to-squid

squid: doc/rados: repair short underline

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoMerge pull request #65249 from ceph/squid-pipelineee-backports
David Galloway [Wed, 27 Aug 2025 18:10:07 +0000 (14:10 -0400)]
Merge pull request #65249 from ceph/squid-pipelineee-backports

squid: Recent pipeline backports

5 weeks agoMerge pull request #64668 from cbodley/wip-72255-squid
Casey Bodley [Wed, 27 Aug 2025 17:21:34 +0000 (13:21 -0400)]
Merge pull request #64668 from cbodley/wip-72255-squid

squid: qa/rgw: remove hadoop-s3a subsuite

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 weeks agoMerge pull request #65242 from afreen23/wip-72734-squid
afreen23 [Wed, 27 Aug 2025 15:04:31 +0000 (20:34 +0530)]
Merge pull request #65242 from afreen23/wip-72734-squid

squid: mgr/dashboard: Dashboard nfs export editor rejects ipv6 addresses

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
5 weeks agomgr/dashboard: Dashboard nfs export editor rejects ipv6 addresses
Afreen Misbah [Thu, 21 Aug 2025 09:41:43 +0000 (15:11 +0530)]
mgr/dashboard: Dashboard nfs export editor rejects ipv6 addresses

Fixes https://tracker.ceph.com/issues/72660

Signed-off-by: Afreen Misbah <afreen@ibm.com>
(cherry picked from commit 6c9a5536f3459cb3e676e240730eb5f7c45352ff)

 Conflicts:
        src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.html

5 weeks agoMerge pull request #64842 from NitzanMordhai/wip-72418-squid
NitzanMordhai [Wed, 27 Aug 2025 09:16:59 +0000 (12:16 +0300)]
Merge pull request #64842 from NitzanMordhai/wip-72418-squid

squid: monitor: Enhance historic ops command output and error handling

5 weeks agoRemove git clean -fdx
Dan Mick [Tue, 26 Aug 2025 00:45:21 +0000 (17:45 -0700)]
Remove git clean -fdx

either
1) a source tarball is supplied, in which case the local dir is
   irrelevant, or
2) make-debs calls make-dist, which doesn't care about a dirty cwd

so it just punishes the unaware by removing things that they may
have wanted to keep.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit ad529cce49c466daa02bb3b90804ff6a6ec548e8)

5 weeks agomake-debs.sh: invoke tar with --no-same-owner
Dan Mick [Sat, 23 Aug 2025 00:43:24 +0000 (17:43 -0700)]
make-debs.sh: invoke tar with --no-same-owner

When running as a normal user, tar does not attempt to preserve
owners set on the tar content files.  When running as root, it does.
Containerized builds are running as root.  Stop make-debs.sh from
trying to set other owners for files, and leaving files in the
host system with mapped UIDs other than the user running the container
(which causes jenkins to be unable to clear the workspace).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 46c540444dd0dc4b4572e71ef452436a3b580d51)

5 weeks agomake-debs.sh: make "skip debug packages" conditional
Dan Mick [Thu, 21 Aug 2025 20:00:43 +0000 (13:00 -0700)]
make-debs.sh: make "skip debug packages" conditional

Now that we're using make-debs.sh as a builder inside containers,
the default should be to build all the packages, including debug.
(Also, fix a typo.)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 86d6e931bd10bc15252d76aa58e4835a72742fcd)

5 weeks agoqa/tests: added 19.2.3 to the mix
Yuri Weinstein [Tue, 26 Aug 2025 14:42:30 +0000 (07:42 -0700)]
qa/tests: added 19.2.3 to the mix

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
5 weeks agodoc/rados/operations: Improve health-checks.rst
Anthony D'Atri [Tue, 26 Aug 2025 11:38:58 +0000 (07:38 -0400)]
doc/rados/operations: Improve health-checks.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit ba5cb7b8d63040730934a06d13baf2968952e813)

5 weeks agoMerge pull request #65228 from aaSharma14/wip-72687-squid
Aashish Sharma [Tue, 26 Aug 2025 11:45:29 +0000 (17:15 +0530)]
Merge pull request #65228 from aaSharma14/wip-72687-squid

squid: Handle failures in metric parsing

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
5 weeks agoMerge pull request #65087 from zdover23/wip-doc-2025-08-18-backport-64921-to-squid
Zac Dover [Tue, 26 Aug 2025 08:47:57 +0000 (18:47 +1000)]
Merge pull request #65087 from zdover23/wip-doc-2025-08-18-backport-64921-to-squid

squid: doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
5 weeks agoHandle failures in metric parsing
Anmol Babu [Thu, 3 Jul 2025 13:25:39 +0000 (18:55 +0530)]
Handle failures in metric parsing

fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2345460
Signed-off-by: Anmol Babu <anmolbabu@Anmols-MacBook-Pro.local>
(cherry picked from commit f29e3f307c46401328e920204cbe893fbd837c65)

Conflicts:
src/exporter/DaemonMetricCollector.cc

5 weeks agorgw/s3: remove 'aws-chunked' from Content-Encoding response
Casey Bodley [Thu, 10 Jul 2025 13:47:04 +0000 (09:47 -0400)]
rgw/s3: remove 'aws-chunked' from Content-Encoding response

PutObject stores some of the generic http request headers in object
attrs so they can be returned as response headers in Get/HeadObject

S3 has its own `aws-chunked` value for the `Content-Encoding` header,
which it says does _not_ get stored with the object or returned with
Get/HeadObject

we've been storing this header with objects forever, so omitting the
value on PutObject doesn't fix the issue for existing objects. instead,
add the necessary filtering to Get/HeadObject

Fixes: https://tracker.ceph.com/issues/21128
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 4a802b864a6f9d45506197dfb1bc23cf852e51f8)

5 weeks agodoc/dev:update blkin.rst doc for lttng trace
lizhipeng [Fri, 22 Aug 2025 03:53:52 +0000 (11:53 +0800)]
doc/dev:update blkin.rst doc for lttng trace
fixes:https://tracker.ceph.com/issues/72059

Signed-off-by: lizhipeng <qiuxinyidian@gmail.com>
(cherry picked from commit 3029cc9afdee352fb22db0895c5d3ec4a35277d3)

5 weeks agodoc/rados/configuration: Mention show-with-defaults and ceph-conf
Niklas Hambüchen [Sat, 21 Jun 2025 17:46:13 +0000 (19:46 +0200)]
doc/rados/configuration: Mention show-with-defaults and ceph-conf

A small improvement based on
"Why is it still so difficult to just dump all config and where it comes from?"
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/EZSLRYBYEWDA6YIARQVMUKQUWHAE3PGR/

`show-with-defaults` is very useful, and `ceph-conf` is mentioned
so that it's clear that it's legacy, and the user doesn't have to
wonder if it's actually useful but was forgotten in the list.

Signed-off-by: Niklas Hambüchen <mail@nh2.me>
(cherry picked from commit 978ab834c464b993ec77c914cb36da47211a1cd4)

5 weeks agodoc/cephfs: edit troubleshooting.rst
Zac Dover [Sat, 9 Aug 2025 00:25:31 +0000 (10:25 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "Slow Requests (MDS)" in
doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit edb3d2be60fd38a1957878bdfa9a9d9d415cc94c)

5 weeks agoMerge pull request #65167 from rhcs-dashboard/wip-72678-squid
Nizamudeen A [Mon, 25 Aug 2025 07:08:38 +0000 (12:38 +0530)]
Merge pull request #65167 from rhcs-dashboard/wip-72678-squid

squid: mgr/dashboard: fix nvmeof mtls

6 weeks agoMerge pull request #65186 from phlogistonjohn/jjm-squid-bwc
David Galloway [Fri, 22 Aug 2025 18:18:50 +0000 (14:18 -0400)]
Merge pull request #65186 from phlogistonjohn/jjm-squid-bwc

squid: backport build-with-container patches from main

6 weeks agobuild-with-container: improve source rpm detection
John Mulligan [Tue, 19 Aug 2025 23:12:07 +0000 (19:12 -0400)]
build-with-container: improve source rpm detection

Improve source rpm detection by adding a new detection method that
executes and rpm command in a container to get exactly the version of
the source rpm that the ceph.spec file would have generated.  For
backwards compatibility and that I don't entirely trust myself to have
tested this the old methods are still available.

The old `--rpm-no-match-sha` is now an alias for `--srpm-match=any` to
cause it to build any (unique) ceph srpm it finds.
`--srpm-match=versionglob` retains the previous default behavior of
using a glob matching on the git id or ceph version value.  The new
default of `--srpm-match=auto` implements the rpm command based behavior
described above.

All of this is wrapped in a new step `find-rpm` but that's mostly an
implementation detail and for testing.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 916088a4e7380cd7ac1403fb4416ef91ab07aa52)

6 weeks agomake-srpm.sh: don't shell out redundantly to pwd
John Mulligan [Tue, 19 Aug 2025 19:03:51 +0000 (15:03 -0400)]
make-srpm.sh: don't shell out redundantly to pwd

Just something that annoyed me while reading the script.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 544d8ab5eb81fc5b8b950c2c1c116fad6b1a40c4)

6 weeks agopybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc
Dan Mick [Wed, 13 Aug 2025 19:16:45 +0000 (12:16 -0700)]
pybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc

Add an optional NPM_CACHEDIR environment variable to serve as the
cache parameter for npm in the dashboard frontend build.  The idea
is to allow it to persist across builds so that we decrease the load
on registry.npmjs.org, which has been throttling our requests when
using build-with-container.py, and also hopefully improve the time
of the frontend npm operations.

build-with-container.py also grows a --npm-cache-path option to allow
setting it for container builds and passing the envvar to the build.

Fixes: https://tracker.ceph.com/issues/72298
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit ad7e6117a9e99061a3ad7e03709dd31e34832966)

6 weeks agodashboard: fix the workaround for unpacking node sources
John Mulligan [Wed, 21 May 2025 21:46:40 +0000 (17:46 -0400)]
dashboard: fix the workaround for unpacking node sources

My previous workaround in the dashboard for the unpacking of non-root
own tarball as the fake root of a container did not work because of the
strange quoting/escaping behavior of cmake (it tried to run `id -u` as a
single command, not a command and an argument).
Use single quoted string and old school backticks to work around this issue.

Fixes: 24dbfb5da4813c6588f9cd199b9f527bb67f1e88
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 3a36180a373d91adcf9726660204f0cc1dcecba3)

6 weeks agodashboard: ensure nodeenv downloaded content is owned by current user
John Mulligan [Fri, 2 May 2025 15:17:53 +0000 (11:17 -0400)]
dashboard: ensure nodeenv downloaded content is owned by current user

When testing ceph builds in a container we discovered that certain files
could not be deleted by jenkins after a build. This was due to the way
the container maps IDs - files owned by the root user in the container
become owned by the "real" user/jenkins user on the "host".
However, the node tarball that is fetched and unpacked by nodeenv has
a different owner name/uid that is preserved in the tree and this id
gets mapped to something that can be managed by the "fake root" of the
container but not by the "regular" user outside the container.

The simplest workaround I can think of is to chown the tree back
to the current user and avoid leaving files on disk with uncleanly
mapped uids.

Conflicts:
src/pybind/mgr/dashboard/frontend/CMakeLists.txt

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 24dbfb5da4813c6588f9cd199b9f527bb67f1e88)

6 weeks agomgr/dashboard: add a cobertura xml file workaround variable
John Mulligan [Thu, 29 May 2025 17:41:45 +0000 (13:41 -0400)]
mgr/dashboard: add a cobertura xml file workaround variable

Add an environment variable REWRITE_COVERAGE_ROOTDIR that
changes the "hardcoded" path in the cobertura-coverage.xml file.
This can be used to map the paths used in a container build to
the paths known to a jenkins job (or whatever else you want to
do with the file).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit f80dad2e0adfb5bca33fab292728f5c085ca3a78)