Browse Source

Merge "Removed the host FQDN from the exception message" into stable/stein

changes/54/751754/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
4ae15546a1
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      nova/exception.py
  2. +1
    -1
      nova/virt/libvirt/host.py
  3. +1
    -1
      nova/virt/libvirt/volume/mount.py

+ 1
- 1
nova/exception.py View File

@@ -521,7 +521,7 @@ class ComputeResourcesUnavailable(ServiceUnavailable):


class HypervisorUnavailable(NovaException):
msg_fmt = _("Connection to the hypervisor is broken on host: %(host)s")
msg_fmt = _("Connection to the hypervisor is broken on host")


class ComputeServiceUnavailable(ServiceUnavailable):


+ 1
- 1
nova/virt/libvirt/host.py View File

@@ -479,7 +479,7 @@ class Host(object):
payload)
compute_utils.notify_about_libvirt_connect_error(
ctxt, ip=CONF.my_ip, exception=ex, tb=traceback.format_exc())
raise exception.HypervisorUnavailable(host=CONF.host)
raise exception.HypervisorUnavailable()

return conn



+ 1
- 1
nova/virt/libvirt/volume/mount.py View File

@@ -86,7 +86,7 @@ class _HostMountStateManager(object):
with self.cond:
state = self.state
if state is None:
raise exception.HypervisorUnavailable(host=CONF.host)
raise exception.HypervisorUnavailable()
self.use_count += 1

try:


Loading…
Cancel
Save