-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fc-ceph/osds: extract OSDs into separate units to avoid shared fate
We had hosts run out of memory and the OSDs were all subsumed in the same cgroup which caused them to be killed together because systemd values consistency in a unit's state ... There might be interesting cases here if NixOS decides to activate/deactivate anything, but hopefully the current setup will cause the "group unit" to catch this. I can imagine cases where this might not be the case, but I can't show that they actually exist currently. Re PL-131646 co-authored by [email protected]
- Loading branch information
Showing
4 changed files
with
181 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,7 +233,9 @@ in | |
with subtest("Initialize first OSD (bluestore)"): | ||
host1.execute('systemctl status [email protected] > /dev/kmsg 2>&1') | ||
host1.execute('fc-ceph osd create-bluestore /dev/vdc > /dev/kmsg 2>&1') | ||
host1.execute('systemctl status [email protected] > /dev/kmsg 2>&1') | ||
with subtest("Initialize second MON and OSD (filestore)"): | ||
host2.succeed('fc-ceph osd prepare-journal /dev/vdb') | ||
|