Allow customization of Parallelstore mounts#3144
Conversation
In this case, if you |
Current behavior we dont use systemd unit to mount the instance. We manually mount it using bash and |
I strongly recommend |
My idea was to run The only thing to do is to instead call directly the |
Using systemd always would simplify the code, as there would only one way to mount the filesystem, whether this is the first startup of the instance, or the next one. The only drawback is that I did not find a way, to fail I can add a check after the call, with some sleeps to check if either service started successfully or the mountpoint is mounted and fail the startup script if those checks fail. WDYT? |
|
/gcbrun |
|
You may need to rebase this after #3256 (this one was high priorty). I have discussed with Ivan and he will follow up with on this as I am ooo for 3 weeks from today. Btw, we agreed on moving forward with adding customization for mounts. Thanks for this PR. |
0d3506a to
87f6475
Compare
Thanks for letting me know. For now, I rebased this PR on top of #3256, once it is in, I can skip a few commits from here. I aligned now |
|
Please resolve conflicts |
87f6475 to
bcb9a91
Compare
|
Conflicts resolved. |
bcb9a91 to
850c370
Compare
|
/gcbrun |
1 similar comment
|
/gcbrun |
1c1a045 to
f9a92b2
Compare
f9a92b2 to
d76cfe2
Compare
|
/gcbrun |
Add two customization options:
/etc/daos/daos_agent.ymldfuseprocessTopics for discussion:
/etc/daos/daos_agent.yml- currently anyway everything is commented, and we just uncomment specific lines withsed. The other approach is either to create a new file (as implemnted), or just make sure that everything is commented, and just add configuration at the end. I think this aproach is cleaner in terms of what is expected result / file content.systemctl startcommand if dfuse failed to start and this is current behaviorRestart=alwaysto systemd unit. With my testing, one needs to run firstumount $mount_point, but if this indeed is necessary, this could be wrapped in script together with$mount_command, and this would make sure, that even ifdfusecrashes, it will restartTODO
modules/file-system/pre-existing-network-storageThis PR also addresses bug in startup-script module,