Add os-brick's scsi_id command to rootwrap

Fibre channel drivers are failing on calls from the
os-brick library to scsi_id.

This is a temporary fix until os-brick's rootwrap
filters can be pulled in. It is not intended or
desired that nova track all os-brick rootwrap filter
values. But until that mechanism is finalized, we
need necessary commands added here.

Change-Id: Ie5f1fbe0a2da171d80faefe3245df91aef8ce1ab
Partial-bug: #1479842
This commit is contained in:
Sean McGinnis 2015-09-05 14:22:06 -05:00
parent ce2da347a9
commit 80b3b9ffb0
1 changed files with 5 additions and 0 deletions

View File

@ -211,6 +211,11 @@ vgc-cluster: CommandFilter, vgc-cluster, root
# os_brick/initiator/connector.py
drv_cfg: CommandFilter, /opt/emc/scaleio/sdc/bin/drv_cfg, --query_guid, root
# TODO(smcginnis) Temporary fix.
# Need to pull in os-brick os-brick.filters file instead and clean
# out stale brick values from this file.
scsi_id: CommandFilter, /lib/udev/scsi_id, root
# nova/storage/linuxscsi.py: sg_scan device
sg_scan: CommandFilter, sg_scan, root