python-tripleoclient/tripleoclient/v1
Bogdan Dobrelya 5531e8bbbc Leverage log_file option to capture more UC logs
Undercloud deployment starts logging into its log file
too late, omitting log records from undercloud_config,
preflight checks. This is a problem as we want to log
at least the commands used for undercloud install/upgrade.
Ideally, messages in stdout/stderr should not miss the
log file.

Fix this via the added custom undercloud_log_file config
(use --log-file for standalone CLI). Use those to
configure logging to a file.

Fix missing formatting, like timestamps and source, for
undercloud config and preflight checks.

Write preflight/install/upgrade logs into the same
logfile.

Move the load oslo config method into shared utilities.
Add the configure logging shared utility for the classless
modules (w/o oslo_log supported). Such modules can
mimic oslo_log behavior defined for the main deployment
modules derived from openstack client classes, which
support logging to files natively and are not affected
by the subject issue. With an exception made for those
classless modules allowing them to log INFO+ be default.
So operators will have the pre-flight check
notes logged, for example.

Change-Id: I340be11bc9471df22f038629679634c3542d34d6
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-06-25 15:57:57 +03:00
..
__init__.py Rename rdomanager_oscplugin to tripleoclient 2015-09-08 10:22:22 -04:00
container_image.py Do prepare with dry_run=True where appropriate 2018-05-26 12:00:24 +12:00
overcloud_ceph_upgrade.py Replace logging with oslo_log for upgrade classes 2018-05-23 11:45:21 +00:00
overcloud_config.py Add arg to remove config-dir for config-download 2018-04-20 00:38:33 +00:00
overcloud_credentials.py Revert "Remove the overcloudrc.v3 file" 2018-01-29 14:49:15 +00:00
overcloud_delete.py Fix overcloud delete command 2018-06-12 12:48:49 +02:00
overcloud_deploy.py Remove validation workflow calls 2018-06-18 15:26:25 +00:00
overcloud_execute.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_ffwd_upgrade.py Replace logging with oslo_log for upgrade classes 2018-05-23 11:45:21 +00:00
overcloud_image.py Revert "Alter default http boot path for containerized Ironic" 2018-04-25 04:29:27 +00:00
overcloud_netenv_validate.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_node.py Add 'overcloud node clean' command to run metadata cleaning on nodes 2018-04-27 15:41:14 +02:00
overcloud_parameters.py Merge "Make ipmi lanplus the default in auto fencing" 2018-06-05 02:45:24 +00:00
overcloud_plan.py overcloud plan deployment status 2018-05-16 21:04:28 -04:00
overcloud_plan_roles.py Add workflows-based role listing commands 2018-01-11 15:10:08 +00:00
overcloud_profiles.py Merge "Report node availability from "overcloud profiles list"" 2017-12-27 12:47:31 +00:00
overcloud_raid.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_roles.py Add workflows-based role listing commands 2018-01-11 15:10:08 +00:00
overcloud_support.py Add each command to the history file 2017-11-27 15:37:00 +00:00
overcloud_update.py Replace logging with oslo_log for upgrade classes 2018-05-23 11:45:21 +00:00
overcloud_upgrade.py Replace logging with oslo_log for upgrade classes 2018-05-23 11:45:21 +00:00
tripleo_deploy.py tripleo deploy accept plan environment 2018-06-11 14:50:04 +01:00
tripleo_upgrade.py Replace logging with oslo_log for upgrade classes 2018-05-23 11:45:21 +00:00
undercloud.py Leverage log_file option to capture more UC logs 2018-06-25 15:57:57 +03:00
undercloud_backup.py Use i18n for undercloud installer and utils messages 2018-05-21 16:38:03 +02:00
undercloud_config.py Leverage log_file option to capture more UC logs 2018-06-25 15:57:57 +03:00
undercloud_deploy.py Make standalone role name configurable 2018-05-23 10:36:53 -06:00
undercloud_preflight.py Leverage log_file option to capture more UC logs 2018-06-25 15:57:57 +03:00