os-brick/os_brick
Walter A. Boring IV 4cc4f0dda2 Detect if Fibre Channel support exists
This patch adds a simple check to see if the kernel
even supports Fibre Channel before calling systool -c fc_host -v
to find the active HBA's on the system.

The problem is that privsep can't quietly run systool without puking out
a bunch of errors to stderr.  We know that most systems don't have FC and
that's why we always wrapped out call to putils executing systool
with a try block.  putils allows callers to expect exceptions and then
handle the exception logging or not themselves.  privsep doesn't allow that.

Change-Id: Idd254303c9cca2b57d358de2fdbaf8abdd76b553
2016-10-05 03:31:03 -07:00
..
encryptors Add missing %s in print message 2016-08-16 15:37:35 +08:00
initiator Detect if Fibre Channel support exists 2016-10-05 03:31:03 -07:00
local_dev Remove race condition from lvextend 2016-08-01 20:08:07 +00:00
privileged Trivial rootwrap -> privsep replacement 2016-04-15 15:29:25 +00:00
remotefs RemoteFsClient extend Executor 2016-08-08 07:28:07 -07:00
tests Detect if Fibre Channel support exists 2016-10-05 03:31:03 -07:00
__init__.py Update os-brick requirements 2015-04-17 17:11:34 +00:00
exception.py Remove race condition from lvextend 2016-08-01 20:08:07 +00:00
executor.py Fix cmd execution stderr, stdout unicode errors 2016-08-25 16:34:28 +00:00
i18n.py Drop use of 'oslo' namespace package 2015-04-28 22:25:57 +00:00
utils.py Mask out passwords when tracing 2016-08-24 16:09:19 -07:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00