Deletion of an instance after disabling the hypervisor by a non-admin
user leaks the host fqdn in fault msg of instance.Removing the
'host' field from the error message of HypervisorUnavaiable
cause it's leaking host fqdn to non-admin users. The admin user will
see the Hypervisor unavailable exception msg but will be able to figure
on which compute host the guest is on and that the connection is broken.
Reviewed: https:/ /review. opendev. org/743950 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a89ffab8326 1060bbb9dedb2b8 de6297b2d07efd
Committed: https:/
Submitter: Zuul
Branch: master
commit a89ffab83261060 bbb9dedb2b8de62 97b2d07efd
Author: Praharshitha Metla <email address hidden>
Date: Thu Jul 30 16:30:06 2020 +0530
Removed the host FQDN from the exception message
Deletion of an instance after disabling the hypervisor by a non-admin iable
user leaks the host fqdn in fault msg of instance.Removing the
'host' field from the error message of HypervisorUnava
cause it's leaking host fqdn to non-admin users. The admin user will
see the Hypervisor unavailable exception msg but will be able to figure
on which compute host the guest is on and that the connection is broken.
Change-Id: I0eae19399670f5 9c17c9a1a24e1bf cbf1b514e7b
Closes-Bug: #1851587