From 80b3b9ffb07b0c1d782fcbe60391ddbf0bc0e60c Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Sat, 5 Sep 2015 14:22:06 -0500 Subject: [PATCH] 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 --- etc/nova/rootwrap.d/compute.filters | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/nova/rootwrap.d/compute.filters b/etc/nova/rootwrap.d/compute.filters index ad3e80e99270..ffc2278bc3e0 100644 --- a/etc/nova/rootwrap.d/compute.filters +++ b/etc/nova/rootwrap.d/compute.filters @@ -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