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.
Change-Id: I0eae19399670f59c17c9a1a24e1bfcbf1b514e7b
Closes-Bug: #1851587
(cherry picked from commit a89ffab83261060bbb9dedb2b8de6297b2d07efd)
(cherry picked from commit ff82601204e9d724b3032dc94c49fa5c8de2699b)
(cherry picked from commit c5abbd17b5552209e53ad61713c4787f47f463c6)
(cherry picked from commit d5ff9f87c8af335e1f83476319a2540fead5224c)
(cherry picked from commit 8c4af53d7754737f6857c25820a256487c45e676)
(cherry picked from commit 4efdf632bcafb65d9725e1077bb249529db40015)
Reviewed: https:/ /review. opendev. org/752477 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5000dcff7ee 48452e86f4f43d9 043cc6327faa6f
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 5000dcff7ee4845 2e86f4f43d9043c c6327faa6f
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 bbb9dedb2b8de62 97b2d07efd) 4b3032dc94c49fa 5c8de2699b) 9e53ad61713c478 7f47f463c6) e1f83476319a254 0fead5224c) f6857c25820a256 487c45e676) d9725e1077bb249 529db40015)
Closes-Bug: #1851587
(cherry picked from commit a89ffab83261060
(cherry picked from commit ff82601204e9d72
(cherry picked from commit c5abbd17b555220
(cherry picked from commit d5ff9f87c8af335
(cherry picked from commit 8c4af53d7754737
(cherry picked from commit 4efdf632bcafb65