]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: select placement target on RGW bucket creation
authoralfonsomthd <almartin@redhat.com>
Fri, 19 Jul 2019 14:02:44 +0000 (16:02 +0200)
committeralfonsomthd <almartin@redhat.com>
Fri, 19 Jul 2019 14:02:44 +0000 (16:02 +0200)
commit9d1700cbafd761e7b16a0f6687f01025edd2fa6e
tree6b75c7a84c42002d8e304dfe1f6bd92f9a547030
parent86ac0ab5296a1b78221dd6fd0abc794fbdad1bf2
mgr/dashboard: select placement target on RGW bucket creation

* Select a placement target from the zone that the RGW daemon is running on.

Fixes: https://tracker.ceph.com/issues/40567
Signed-off-by: alfonsomthd <almartin@redhat.com>
16 files changed:
qa/tasks/mgr/dashboard/test_rgw.py
src/pybind/mgr/dashboard/controllers/health.py
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/frontend/e2e/rgw/buckets.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/e2e/rgw/buckets.po.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/services/rgw_client.py
src/pybind/mgr/dashboard/tests/test_rgw_client.py
src/pybind/mgr/dashboard/tests/test_tools.py
src/pybind/mgr/dashboard/tools.py