[LU-10460] Evaluate two LLNL patches for upstream Created: 04/Jan/18 Updated: 30/Jul/18 Resolved: 25/Jan/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.11.0, Lustre 2.10.4 |
| Type: | Task | Priority: | Minor |
| Reporter: | Olaf Faaland | Assignee: | Peter Jones |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
In This ticket is to track that. The two patches are: * 7823f77 LU-4009 osd-zfs: Add tunables to disable sync (DEBUG) * 1826c76 Don't install lustre init script on systemd systems (AKA https://review.whamcloud.com/#/c/7761/) |
| Comments |
| Comment by Olaf Faaland [ 04/Jan/18 ] |
|
Let's discuss these one at a time. I propose the patch re: lustre init scripts is not appropriate for upstream. * 1826c76 Don't install lustre init script on systemd systems All that patch does, is avoid including the following files in the rpm if with_systemd is not set:
This works for us, because we use pacemaker and a resource agent to start, stop, and query the status of lustre targets on our servers. The resource agent contains the start/stop/query logic and pacemaker keeps track of what is running where. However this seems inappropriate for the general user running under systemd, who might be merely testing lustre, or might be using diskful nodes without shared storage, where ordinary systemctl commands seem like the right mechanism for managing these functions. We don't need this ourselves, though, and so don't have plans to allocate time to work out the right service definitions. |
| Comment by Peter Jones [ 05/Jan/18 ] |
|
Olaf We discussed this and agree with your assessment that the lustre-init scripts change is more suitable to keep as an LLNL-only change but we will move forward to land adding https://review.whamcloud.com/#/c/7761/ using this tracking reference. Peter |
| Comment by Andreas Dilger [ 05/Jan/18 ] |
|
I can't find systemd patch in our Gerrit repo, so it would be useful to get a version pushed for review, with a description of what problem it is solving. These patches were added for a reason, so we need to understand why they are harmful just being installed on systemd systems, and if we can somehow make them conditional/deactivated when HA agents are involved. |
| Comment by Gerrit Updater [ 11/Jan/18 ] |
|
Olaf Faaland-LLNL (faaland1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/30830 |
| Comment by Gerrit Updater [ 25/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/7761/ |
| Comment by Peter Jones [ 25/Jan/18 ] |
|
IIUC we do not intend to land the systemd patch. If you agree can you abandon the patch and we'll close out this ticket now that the sync patch has landed. |
| Comment by Olaf Faaland [ 25/Jan/18 ] |
I agree. I abandoned the systemd/systemV init script patch. |
| Comment by Peter Jones [ 25/Jan/18 ] |
|
Thanks Olaf |
| Comment by Gerrit Updater [ 05/Feb/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31163 |
| Comment by Gerrit Updater [ 05/Apr/18 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31163/ |