]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: RGW port autodetection does not support "Beast" RGW frontend
authorVolker Theile <vtheile@suse.com>
Tue, 4 Feb 2020 14:04:08 +0000 (15:04 +0100)
committerVolker Theile <vtheile@suse.com>
Tue, 18 Feb 2020 16:06:02 +0000 (17:06 +0100)
commitd532d68878e143c207027aea3efff2d43cef2706
tree9864a1aeb64ffe2724175dd03ad9d23368796b90
parent184441a6abf6d0450e11c8715a91d6895b733613
mgr/dashboard: RGW port autodetection does not support "Beast" RGW frontend

* Improve regular expressions to support more configuration variations.
* Modify error message. It includes the config line to be parsed. This should help to debug errors much easier.
* If there are multiple (ssl_)ports/(ssl_)endpoints options, then the first found option will be returned.

Fixes: https://tracker.ceph.com/issues/39252
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/dashboard/tests/test_rgw_client.py