summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
Diffstat (limited to 'nova')
-rw-r--r--nova/volume/cinder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/cinder.py b/nova/volume/cinder.py
index ca7f86da1..98e548332 100644
--- a/nova/volume/cinder.py
+++ b/nova/volume/cinder.py
@@ -204,7 +204,7 @@ class API(base.Base):
def check_attach(self, context, volume, instance=None):
# TODO(vish): abstract status checking?
if volume['status'] != "available":
- msg = _("status must be available")
+ msg = _("status must be 'available'")
raise exception.InvalidVolume(reason=msg)
if volume['attach_status'] == "attached":
msg = _("already attached")