The issue happens only when creating a volume from an image at the time it attaches or detaches the volume.
Seems there is something wrong between cinder and privsep called by os_brick.
Cinder calls os-brick:
https://github.com/openstack/cinder/blob/master/cinder/volume/drivers/dell_emc/powerflex/driver.py#L1199
Then os-brick initiator makes a privilege call since it needs to access a restricted file
https://github.com/openstack/os-brick/blob/master/os_brick/initiator/connectors/scaleio.py#L90
It communicates with oslo_privsep to fetch the required information
https://github.com/openstack/os-brick/blob/master/os_brick/privileged/scaleio.py#L78
Then this is where the password is displayed in clear in the logs
https://github.com/openstack/oslo.privsep/blob/master/oslo_privsep/daemon.py#L501
The issue happens only when creating a volume from an image at the time it attaches or detaches the volume.
Seems there is something wrong between cinder and privsep called by os_brick.
Cinder calls os-brick:
https:/ /github. com/openstack/ cinder/ blob/master/ cinder/ volume/ drivers/ dell_emc/ powerflex/ driver. py#L1199
Then os-brick initiator makes a privilege call since it needs to access a restricted file
https:/ /github. com/openstack/ os-brick/ blob/master/ os_brick/ initiator/ connectors/ scaleio. py#L90
It communicates with oslo_privsep to fetch the required information
https:/ /github. com/openstack/ os-brick/ blob/master/ os_brick/ privileged/ scaleio. py#L78
Then this is where the password is displayed in clear in the logs
https:/ /github. com/openstack/ oslo.privsep/ blob/master/ oslo_privsep/ daemon. py#L501