Need to suppress expected command failures
Bug #1593791 reported by
Walt Boring
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.privsep |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Currently privsep will always log all stderr from commands executed here:
https:/
When attaching a volume to a Nova instance, os-brick tries to run commands to collect connector information. When a system doesn't have a Fibre Channel HBA on the system it's expected that running "systool -c fc_host -v" will result in a failure. There is no reason to log this as a warning. You can see the output here:
It should be up to the caller to decide if they want to log the stderr output, not privsep.
description: | updated |
Changed in oslo.privsep: | |
status: | New → Confirmed |
To post a comment you must log in.