]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/rgw: fix error handling in rgw zone create
authorAdam King <adking@redhat.com>
Wed, 19 Jun 2024 19:04:21 +0000 (15:04 -0400)
committerAdam King <adking@redhat.com>
Mon, 15 Jul 2024 22:17:38 +0000 (18:17 -0400)
commit41bad1c14c96e3c8615edbb8c66eb950a2a18567
tree153ed3ecdf2dfeeedbcc3c72daa4b55a3b5c52f9
parentb96902aba062afec5604a756ae02e30487f05917
mgr/rgw: fix error handling in rgw zone create

This was returning either a list of strings or
a HandleCommandResult and in the latter case
it would error out trying to build the final
return message which covered up the original
error

Fixes: https://tracker.ceph.com/issues/66568
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit b6017adfde3c56f0cddcd3d8174e094c26844ac2)
src/pybind/mgr/rgw/module.py