Commit Graph

10 Commits

Author SHA1 Message Date
Billy Olsen a6cd0ea62a Fix Ceph service action tests
The ServiceTest.test_start_specific under the ceph osd tests stops all
services using ceph-osd.target. This will stop all the OSDs, but the
restarting of any single OSD will restart all the OSDs. This behavior
causes the charm test to fail.

Unfortunately, this wasn't caught in the initial review because the test
is skipped when there are fewer the 2 OSDs on a unit and the final test
run skipped the test due to this condition.

Fixes #542

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2021-04-08 14:12:11 -07:00
Martin Kalcok 96592c6a85 Rename parameter disks to osds 2020-12-11 16:16:15 +01:00
Martin Kalcok cfdabe273a Adjust tests after rework of the 'service' action into start and stop actions 2020-12-11 09:49:33 +01:00
Martin Kalcok d6f719e331 Skip 'service' action tests on systems without systemd 2020-11-26 14:42:12 +01:00
Martin Kalcok 991d7ea7a4 Removed typing usage 2020-11-03 15:47:18 +01:00
Martin Kalcok 990be12171 Fix async_wait_for_service_status() checking only first service in the list 2020-10-28 13:58:49 +01:00
Martin Kalcok 12db27016e Fix typos 2020-10-14 13:55:23 +02:00
Martin Kalcok 24755c2382 Add function that waits on desired service status using systemctl 2020-10-14 13:47:20 +02:00
Martin Kalcok 1889d0db53 Add func-tests for ceph-osd 'service' action 2020-10-12 17:51:04 +02:00
Chris MacNaughton dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00