]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Improve error message for missing NFS share config
authorEric Harney <eharney@redhat.com>
Mon, 21 Jan 2013 21:50:31 +0000 (16:50 -0500)
committerEric Harney <eharney@redhat.com>
Mon, 21 Jan 2013 22:39:54 +0000 (17:39 -0500)
commitbf6f0d5f368dd79e8e5a8883b9bb0d24d7434cf4
tree429824c698b611ee351ee6f391717de9fa750c4d
parent6cfe5f2a6d99c9fff9386794149b273bd2442bd1
Improve error message for missing NFS share config

If FLAGS.nfs_share_config is not defined, the error will reference
the name of the config option to set.

If the nfs_share_config path doesn't exist, the error will reference
the path that was configured.

This will hopefully simplify troubleshooting of NFS configuration.

Change-Id: Ica6a60a63330554dc880f36962f3a081926ce5cf
cinder/volume/drivers/nfs.py