Fix leak of password info in logs.
When launching a database instance, user info is logged at info level. This user info includes password information that should not appear in the logs. This fix removes logging of user info. Change-Id: I97206a3fe0c19ee7cb7333ed27518134079f26d0
This commit is contained in:
parent
0a85c5985a
commit
56d8502dae
@ -586,14 +586,14 @@ class LaunchInstance(workflows.Workflow):
|
||||
LOG.info("Launching database instance with parameters "
|
||||
"{name=%s, volume=%s, volume_type=%s, flavor=%s, "
|
||||
"datastore=%s, datastore_version=%s, "
|
||||
"dbs=%s, users=%s, "
|
||||
"dbs=%s, "
|
||||
"backups=%s, nics=%s, replica_of=%s replica_count=%s, "
|
||||
"configuration=%s, locality=%s, "
|
||||
"availability_zone=%s}",
|
||||
context['name'], context['volume'],
|
||||
self._get_volume_type(context), context['flavor'],
|
||||
datastore, datastore_version,
|
||||
self._get_databases(context), self._get_users(context),
|
||||
self._get_databases(context),
|
||||
self._get_backup(context), self._get_nics(context),
|
||||
context.get('master'), context['replica_count'],
|
||||
context.get('config'), self._get_locality(context),
|
||||
|
Loading…
x
Reference in New Issue
Block a user