mirror of https://github.com/ceph/ceph-ansible.git
9a65ec231d
We must initialize `children` variable in `_get_osd_id_from_host()`, otherwise, if for any reason the deployment has failed and result with an osd host with no OSD registered, we won't enter in the condition, therefore, `children` is never set and the function tries to return something undefined. Typical error: ``` E UnboundLocalError: local variable 'children' referenced before assignment ``` Fixes: #2860 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com> |
||
---|---|---|
.. | ||
functional | ||
inventories | ||
scripts | ||
README.md | ||
README.rst | ||
conftest.py | ||
pytest.ini | ||
requirements.txt |
README.md
Functional tests
These playbooks aim to individually validate each Ceph component. Some of them require packages to be installed. Ideally you will run these tests from a client machine or from the Ansible server.