Reviewed: https://review.opendev.org/c/openstack/nova/+/791939 Committed: https://opendev.org/openstack/nova/commit/5ede75c65edbcb27557831ae6f5c3a9f81f23a0e Submitter: "Zuul (22348)" Branch: stable/wallaby
commit 5ede75c65edbcb27557831ae6f5c3a9f81f23a0e Author: Tobias Urdin <email address hidden> Date: Mon May 3 17:25:43 2021 +0200
Stop leaking ceph df cmd in RBD utils
If the ceph df command fails in the get_pool_info method of RBD utils the actual command executed if seen by the users in the fault error message.
This hides the command behind a StorageError exception and logs the exception instead of leaking it to the users.
Change-Id: I6e3a73f2e04d1a7636daf96d5af73c9cf2fbe220 Closes-Bug: 1926978 (cherry picked from commit 86af7feed06f08ddb3ef65122089216708d53a06)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /791939 /opendev. org/openstack/ nova/commit/ 5ede75c65edbcb2 7557831ae6f5c3a 9f81f23a0e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 5ede75c65edbcb2 7557831ae6f5c3a 9f81f23a0e
Author: Tobias Urdin <email address hidden>
Date: Mon May 3 17:25:43 2021 +0200
Stop leaking ceph df cmd in RBD utils
If the ceph df command fails in the get_pool_info
method of RBD utils the actual command executed
if seen by the users in the fault error message.
This hides the command behind a StorageError
exception and logs the exception instead of leaking
it to the users.
Change-Id: I6e3a73f2e04d1a 7636daf96d5af73 c9cf2fbe220 db3ef6512208921 6708d53a06)
Closes-Bug: 1926978
(cherry picked from commit 86af7feed06f08d