diff options
| author | Sandy Walsh <sandy.walsh@rackspace.com> | 2011-04-07 11:59:40 -0300 |
|---|---|---|
| committer | Sandy Walsh <sandy.walsh@rackspace.com> | 2011-04-07 11:59:40 -0300 |
| commit | 9f57f78efab4a31bfe29e2edab1e86eedf4352fd (patch) | |
| tree | 6770431eb778dda264074daff36ce95fa0612bfc | |
| parent | 9b24c399c5689a1492b96dcd6725590c2a97c6e3 (diff) | |
better error message
| -rw-r--r-- | nova/virt/xenapi_conn.py | 3 |
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 |
