]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
NFS/GlusterFS: Skip incorrectly formatted shares
authorEric Harney <eharney@redhat.com>
Mon, 9 Dec 2013 20:34:39 +0000 (15:34 -0500)
committerEric Harney <eharney@redhat.com>
Wed, 8 Jan 2014 21:24:49 +0000 (16:24 -0500)
commit21ebf2898e2f5fc8127b7a3bdc9743c49933f952
treeb2b6b60db09942f4909ee7adca61cd0940ce81df
parentda2caad4b952a19b183beacc9670aff1fbe2415d
NFS/GlusterFS: Skip incorrectly formatted shares

Shares should always be of the form address:/volume.  If they are
not (i.e., are missing the '/'), then skip them and issue a warning
message.  This will prevent us from sending incorrect connection_info
dicts to Nova.

Closes-Bug: #1267253

Change-Id: Ic40cd0cdc862b44b0a7d3e5b1d7c4fee8ea1b28d
cinder/tests/test_glusterfs.py
cinder/tests/test_nfs.py
cinder/volume/drivers/nfs.py