python-tripleoclient/tripleoclient/tests/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
..
baremetal Remove Old baremetal commands provided by python-tripleoclient 2017-12-18 11:50:45 +11:00
overcloud_ceph_upgrade Stop trying to converge during Ceph upgrade command 2018-05-07 15:50:05 +02:00
overcloud_config Add arg to remove config-dir for config-download 2018-04-20 00:38:33 +00:00
overcloud_delete Fix stack delete client 2017-02-09 16:36:04 -07:00
overcloud_deploy Remove validation workflow calls 2018-06-18 15:26:25 +00:00
overcloud_ffwd_upgrade Add .deployment.v1.deploy_on_servers to ffwd-upgrade prepare 2018-05-18 13:30:51 +03:00
overcloud_image Revert "Alter default http boot path for containerized Ironic" 2018-04-25 04:29:27 +00:00
overcloud_netenv_validate Fix test for netenv validate 2018-05-01 14:07:17 -06:00
overcloud_node Fix for timeouts on scale down 2017-11-27 10:48:17 -05:00
overcloud_roles Move roles functions to tripleo-common 2017-07-06 16:05:54 -06:00
overcloud_support Add overcloud support report collect command 2017-05-11 09:28:59 -06:00
overcloud_update Update Heat stack on update/upgrade/ffwd converge 2018-05-04 12:12:29 +02:00
overcloud_upgrade Regenerate overcloudrc on upgrade and ffwd-upgrade (prepare) 2018-05-03 10:45:26 +02:00
tripleo tripleo deploy add test coverage for non default plan 2018-06-12 15:16:43 +01:00
undercloud Leverage log_file option to capture more UC logs 2018-06-25 15:57:57 +03:00
__init__.py Rename rdomanager_oscplugin to tripleoclient 2015-09-08 10:22:22 -04:00
test_container_image.py Do prepare with dry_run=True where appropriate 2018-05-26 12:00:24 +12:00
test_overcloud_parameters.py Merge "Make ipmi lanplus the default in auto fencing" 2018-06-05 02:45:24 +00:00
test_overcloud_plan.py overcloud plan deployment status 2018-05-16 21:04:28 -04:00
test_overcloud_plan_roles.py Add workflows-based role listing commands 2018-01-11 15:10:08 +00:00
test_overcloud_profiles.py Report node availability from "overcloud profiles list" 2017-09-10 22:37:03 +02:00
test_overcloud_raid.py Tripleoclient unified queue name. 2017-11-06 13:46:14 -05:00
test_plugin.py Rename rdomanager_oscplugin to tripleoclient 2015-09-08 10:22:22 -04:00