Activity log for bug #2038466

Date Who What changed Old value New value Message
2023-10-04 17:44:25 Rajat Dhasmana bug added bug
2023-10-04 17:44:31 Rajat Dhasmana cinder: assignee Rajat Dhasmana (whoami-rajat)
2023-10-04 17:45:19 Rajat Dhasmana description When debug log is enabled, the IBM Storwize SVC driver logs the chap secret when executing the chhost command[1]. This is logged in oslo.concurrency[2]. The problem here seems to be that the chapsecret key is not in the list of sanitize keys in mask_password method of oslo utils[3] DEBUG oslo_concurrency.processutils [] Running cmd (SSH): svctask chhost -chapsecret <secret> <host> ssh_execute /usr/lib/python3.9/site-packages/oslo_concurrency/processutils.py:542 [1] https://opendev.org/openstack/cinder/src/commit/95630360b2091409dc35eebd86d51d9aad2ab0fc/cinder/volume/drivers/ibm/storwize_svc/storwize_svc_common.py#L314 [2] https://opendev.org/openstack/oslo.concurrency/src/commit/774f604c16b47ad4ce47e6390ec30f9fc8f30c67/oslo_concurrency/processutils.py#L542 [3] When debug log is enabled, the IBM Storwize SVC driver logs the chap secret when executing the chhost command[1]. This is logged in oslo.concurrency[2]. The problem here seems to be that the chapsecret key is not in the list of sanitize keys in mask_password method of oslo utils[3] DEBUG oslo_concurrency.processutils [] Running cmd (SSH): svctask chhost -chapsecret <secret> <host> ssh_execute /usr/lib/python3.9/site-packages/oslo_concurrency/processutils.py:542 [1] https://opendev.org/openstack/cinder/src/commit/95630360b2091409dc35eebd86d51d9aad2ab0fc/cinder/volume/drivers/ibm/storwize_svc/storwize_svc_common.py#L314 [2] https://opendev.org/openstack/oslo.concurrency/src/commit/774f604c16b47ad4ce47e6390ec30f9fc8f30c67/oslo_concurrency/processutils.py#L542 [3] https://opendev.org/openstack/oslo.utils/src/commit/a122f5c065c346c9ca2218a9131a2a352e6b380f/oslo_utils/strutils.py#L69-L79
2023-10-06 14:06:57 Takashi Kajinami bug task added oslo.utils
2023-10-06 14:07:22 Takashi Kajinami oslo.utils: assignee Rajat Dhasmana (whoami-rajat)
2023-10-06 14:07:26 Takashi Kajinami oslo.utils: importance Undecided Medium
2023-10-06 14:07:30 Takashi Kajinami oslo.utils: status New In Progress
2023-10-19 12:28:08 OpenStack Infra oslo.utils: status In Progress Fix Released