]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
orchestrator: validate osd yaml
authorPaul Cuzner <pcuzner@redhat.com>
Thu, 3 Dec 2020 03:00:27 +0000 (16:00 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Thu, 3 Dec 2020 03:00:27 +0000 (16:00 +1300)
commit0f236c7911bdcc4b0266833e1b7da01a3c7e4eac
tree6c49860ecf15743065ae00f3bea217155679d1da
parent1bfdd2c1c2baa364d9b61b5f73775162da787172
orchestrator: validate osd yaml

Validate the yaml document ahead of usage, to catch
any basic errors in the yaml doc. If errors are found the
exception is shown in the mgr log, and the user gets a
more friendly error message, without the traceback.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/orchestrator/module.py