Add multi host and multi user support to the process manager#941
Open
emmuhamm wants to merge 23 commits into
Open
Add multi host and multi user support to the process manager#941emmuhamm wants to merge 23 commits into
emmuhamm wants to merge 23 commits into
Conversation
e4cfb16 to
d452d58
Compare
Contributor
Author
|
so most things work. things to do now is to ensure that the -pmaas config actually works independently in the daqsystemtest repo and then later we can investigate if everything works for both ehn1 and local, using /log and not /log well the pmaas thing worked a treat |
c1bc926 to
3c980ac
Compare
emmuhamm
commented
Jun 16, 2026
| return | ||
|
|
||
| def update_connectivity_port_dal( | ||
| def update_connectivity_port_dal( # why is th9is hanging? |
Contributor
Author
There was a problem hiding this comment.
Dont forget to tackle this (remove?)
3c980ac to
d6e6889
Compare
d6e6889 to
f0aa699
Compare
This was
linked to
issues
Jun 17, 2026
9 tasks
Contributor
Author
|
Hello hello @PawelPlesniak this is the big boi now. Ready for review to get the multi host multi user support in! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #926
Fixes #937
Blocks boot behaviour in unified shell if another session (with the same name) is already booted
Asks for confirmation when booting in the process manager shell if user tries to spawn a session with the same name as an existing session
Multi host support works by mapping localhost instances to an actual host
Multi user support works
extra connectivity service is ready check in the controller
new touch_and_chmod behaviour to enable correct permissions for read and write
deletes the logfile in case there was a previous iteration of it at boot now
checks for working directory permissions before running
BIG NOTE PERMISSIONS SET TO RWX FOR EVERYONE (777)!!! THIS MUST BE ACCEPTABLE
all this works for localhost, ehn1, and the localhost-pmaas config (where logs go to /logs)
Note about multi user support
It works!
However it has to run at a very specific level of permissions. To recap:
Because of the above,
Type of change
List of required branches from other repositories
DUNE-DAQ/daqsystemtest#322
Suggested manual testing checklist
built off 260603 nightly
Some relevant commands include
The list of steps (vague, sorry) are
Developer checklist
Prior to marking this as "Ready for Review"
Tests ran on: NP04 - 028 from release 03 June 2026 nightly
Unit tests - some tests can't be ran on the CI. This is documented. If this PR checks a feature that can't be tested with CI, this has been marked appropriately.
Integration tests - the
daqsystemtest_integtest_bundlerequires a lot of resources, and connections to the EHN1 infrastructure. Check the cross referenced list if you can't run these. The developer needs to run at least the .pytest --marker) passeddaqsystemtest_integtest_bundle.sh -k minimal_system_quick_test.pydaqsystemtest_integtest_bundle.sh./scripts/drunc_integtest_bundle.sh)Final checklist prior to marking this as "Ready for Review"
Reviewer checklist
src/daqsystemtest_integtest_bundle.sh -k minimal_system_quick_test.pyifdaqsystemtest_integtest_bundle.shdruncare in the log filesdruncfailure appears:scripts/drunc_integtest_bundle.sh)Once the above boxes are checked, the PR(s) can be merged following the steps below.
Choose one of the following an complete all substepsPrior to merging
Once completed, the reviewer can merge the PR.
Notification message for a Slack channel
Note - this should be to #dunedaq-integration for general workflow that isn't during a release candidate period, and to #daq-release-prep otherwise.
For an single merge that changes the user workflow
For co-ordinated merge