Merge "Log node UUID and not entire node instance to avoid logging its driver_info field"
This commit is contained in:
		| @@ -54,7 +54,7 @@ def do_node_clean(task, clean_steps=None, disable_ramdisk=False): | ||||
|         how = ('API' if node.automated_clean is False else 'configuration') | ||||
|         LOG.info('Automated cleaning is disabled via %(how)s, node %(node)s ' | ||||
|                  'has been successfully moved to AVAILABLE state', | ||||
|                  {'how': how, 'node': node}) | ||||
|                  {'how': how, 'node': node.uuid}) | ||||
|         return | ||||
|  | ||||
|     # NOTE(dtantsur): this is only reachable during automated cleaning, | ||||
|   | ||||
| @@ -0,0 +1,7 @@ | ||||
| --- | ||||
| security: | ||||
|   - | | ||||
|     Log the node UUID instead of the full node object in | ||||
|     ironic/conductor/cleaning.py, to avoid logging the node's driver_info | ||||
|     property (containing its BMC username and password). | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Zuul
					Zuul