]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agocrimson/osd: ClientRequest sends error to client when loading obc fails 48445/head
Radoslaw Zarzynski [Tue, 11 Oct 2022 13:38:30 +0000 (13:38 +0000)]
crimson/osd: ClientRequest sends error to client when loading obc fails

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agocrimson/osd: move ClientRequest::reply_op_error() up
Radoslaw Zarzynski [Tue, 11 Oct 2022 14:32:02 +0000 (14:32 +0000)]
crimson/osd: move ClientRequest::reply_op_error() up

It's because it's return type is `auto`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agocrimson/osd: ClientRequest::reply_op_error() takes pgref by const
Radoslaw Zarzynski [Tue, 11 Oct 2022 13:37:26 +0000 (13:37 +0000)]
crimson/osd: ClientRequest::reply_op_error() takes pgref by const

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agocrimson/osd: return enoent when PG::resolve_oid() fails
Radoslaw Zarzynski [Tue, 11 Oct 2022 13:36:07 +0000 (13:36 +0000)]
crimson/osd: return enoent when PG::resolve_oid() fails

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 years agoMerge pull request #48196 from neesingh-rh/wip-human-readable-volume-info
Venky Shankar [Tue, 11 Oct 2022 11:18:19 +0000 (16:48 +0530)]
Merge pull request #48196 from neesingh-rh/wip-human-readable-volume-info

mgr/volumes: Add human-readable flag to volume info command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoMerge pull request #48367 from stefan-chivu/namespace-optarg-fix
Ilya Dryomov [Tue, 11 Oct 2022 09:58:15 +0000 (11:58 +0200)]
Merge pull request #48367 from stefan-chivu/namespace-optarg-fix

rbd: device map/unmap --namespace handling fixes

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #45395 from tobias-urdin/rgw-keystone-service-token
Marcus Watts [Tue, 11 Oct 2022 09:49:30 +0000 (05:49 -0400)]
Merge pull request #45395 from tobias-urdin/rgw-keystone-service-token

rgw/auth: Add service token support for Keystone auth

2 years agoPendingReleaseNotes: add "rbd device unmap --namespace" note 48367/head
Ilya Dryomov [Mon, 10 Oct 2022 18:18:12 +0000 (20:18 +0200)]
PendingReleaseNotes: add "rbd device unmap --namespace" note

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoqa/workunits/rbd-nbd: also test map/unmap with --namespace option
Ilya Dryomov [Sat, 8 Oct 2022 14:16:10 +0000 (16:16 +0200)]
qa/workunits/rbd-nbd: also test map/unmap with --namespace option

The entire script is using specs, let's cover non-spec syntax as well.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2 years agorbd: Removed device_name argument from wnbd unmap
Stefan Chivu [Tue, 4 Oct 2022 14:02:14 +0000 (14:02 +0000)]
rbd: Removed device_name argument from wnbd unmap

Right now, rbd-wnbd doesn't actually use disk path
identifiers such as "/dev/*" or "\\.\PhysicalDrive*".

So instead of accepting two arguments that are basically
handled more or less the same, we're dropping the device_name
argument and sticking to the image spec.

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agorbd: Moved get_image_or_snap_spec and parse_options to utils
Stefan Chivu [Tue, 4 Oct 2022 12:25:45 +0000 (12:25 +0000)]
rbd: Moved get_image_or_snap_spec and parse_options to utils

At the moment, there are multiple copies of "get_image_or_snap_spec".

For this reason, we're moving it to Utils.cc so that all backends may
re-use it, also benefiting from the recent pool related fix.

We are also renaming parse_options to append_options_as_args and
changing its type to void

Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agorbd: Added namespace optarg for rbd device unmap
Stefan Chivu [Mon, 3 Oct 2022 08:20:58 +0000 (08:20 +0000)]
rbd: Added namespace optarg for rbd device unmap

When executing rbd device unmap, an explicit namespace optarg wasn't available

Fixes: https://tracker.ceph.com/issues/57765
Signed-off-by: Stefan Chivu <schivu@cloudbasesolutions.com>
2 years agoqa: add tests for 'fs volume command --human_readable' 48196/head
Neeraj Pratap Singh [Thu, 22 Sep 2022 11:51:40 +0000 (17:21 +0530)]
qa: add tests for 'fs volume command --human_readable'

Fixes: https://tracker.ceph.com/issues/57620
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
2 years agodoc: documenting the --human_readable flag for volume info cmd
Neeraj Pratap Singh [Wed, 21 Sep 2022 11:03:04 +0000 (16:33 +0530)]
doc: documenting the --human_readable flag for volume info cmd

Fixes: https://tracker.ceph.com/issues/57620
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>