ceph-ansible/tests/functional
Guillaume Abrioux 9a65ec231d tests: fix `_get_osd_id_from_host()` in TestOSDs()
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>
2018-07-10 13:06:23 +00:00
..
centos/7 tests: add more nodes in ooo testing scenario 2018-06-18 16:44:23 +02:00
tests tests: fix `_get_osd_id_from_host()` in TestOSDs() 2018-07-10 13:06:23 +00:00
ubuntu/16.04/cluster rgws: renames create_pools variable with rgw_create_pools. 2018-06-04 06:23:42 +02:00
.gitignore tests: ignore folders created by ceph-ansible during testing 2016-11-08 10:35:43 -06:00
dev_setup.yml nfs: add automated testing for nfs-ganesha roles 2017-09-08 09:14:01 -04:00
lvm_setup.yml tests: no need to remove partitions in lvm_setup.yml 2018-04-10 14:19:21 +02:00
reboot.yml syntax: change local_action syntax 2018-01-31 10:45:34 +01:00
rhcs_setup.yml Use check_mode instead of always_run 2017-10-25 09:53:34 -05:00
setup.yml tests: skip disabling fastest mirror detection on atomic host 2018-06-05 15:39:37 +02:00