Logging improvements
This commit is contained in:
parent
9a4d0de82e
commit
dcafa75141
@ -51,6 +51,7 @@ class InitManager(object):
|
||||
except Exception, ex:
|
||||
LOG.error('plugin \'%(plugin_name)s\' failed '
|
||||
'with error \'%(ex)s\'' % locals())
|
||||
LOG.exception(ex)
|
||||
|
||||
def configure_host(self):
|
||||
mdsf = metadata_factory.MetadataServiceFactory()
|
||||
|
@ -75,6 +75,7 @@ class CreateUserPlugin(base.BasePlugin):
|
||||
if 'admin_pass' in meta_data and CONF.inject_user_password:
|
||||
password = meta_data['admin_pass']
|
||||
else:
|
||||
LOG.debug('Generating random password')
|
||||
# Generate a random password
|
||||
# Limit to 14 chars for compatibility with NT
|
||||
password = self._generate_random_password(14)
|
||||
|
Loading…
x
Reference in New Issue
Block a user