issue with multipathd command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ironic-python-agent |
Triaged
|
High
|
Unassigned |
Bug Description
This command produces a non zero exit code and makes my IPA skip multipath devices when it is looking
for suitable root device (as expected, IPA thinks that there is no multipath support).
In reality there is multipath support and multipathd is already running, but contradicting
the comments, multipathd command does not exit with 0 when the daemon is already running.
The command: https:/
My version of multipath-tools is 0.9.0
IPA error message (also reproduced manually):"process is already running failed to create pidfile"
I have removed the line in question in my tests, and everything started working without any issue, after the removal of the line in question IPA was able to function properly and the multipathd device was detected and the deployment succeeded.
After some discussion in the community IRC, we have arrived to the conclusion that the call to execute the multipathd command should be surrounded with an exception block.
I will work on the fix.
Changed in ironic-python-agent: | |
status: | New → Triaged |
importance: | Undecided → High |
Thanks for reporting this, it looks indeed like a change in the multipath-tools package, so it seems it now exits with a non-zero code in case multipathd is already running, we're not sure if it's a regression or it's an intended change.
No matter what it is, having the command surrounded by an exception block is the favorite solution, thanks for proposing for a patch, looking forward to it!