summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorSandy Walsh <sandy.walsh@rackspace.com>2011-04-07 11:59:40 -0300
committerSandy Walsh <sandy.walsh@rackspace.com>2011-04-07 11:59:40 -0300
commit9f57f78efab4a31bfe29e2edab1e86eedf4352fd (patch)
tree6770431eb778dda264074daff36ce95fa0612bfc /nova
parent9b24c399c5689a1492b96dcd6725590c2a97c6e3 (diff)
better error message
Diffstat (limited to 'nova')
-rw-r--r--nova/virt/xenapi_conn.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/virt/xenapi_conn.py b/nova/virt/xenapi_conn.py
index f10aa6eb5..0cabccf08 100644
--- a/nova/virt/xenapi_conn.py
+++ b/nova/virt/xenapi_conn.py
@@ -322,7 +322,8 @@ class XenAPISession(object):
def __init__(self, url, user, pw):
self.XenAPI = self.get_imported_xenapi()
self._session = self._create_session(url)
- exception = self.XenAPI.Failure(_("Unable to log in to XenAPI."))
+ exception = self.XenAPI.Failure(_("Unable to log in to XenAPI "
+ "(is the Dom0 disk full?)"))
with timeout.Timeout(FLAGS.xenapi_login_timeout, exception):
self._session.login_with_password(user, pw)
self.loop = None