utilities/tools/collector/scripts
Shrikumar Sharma f12e28755d Fix collect to use the subcloud name also
The collect script uses the standard prompt with the
substring "controller-" within expect, when running
"collect -sc ${subcloud}".
When a subcloud is properly provisioned and configured
the active controller's login prompt is 'controller-0'
or 1.

However, if the subcloud bootstrapping stage fails and
the login prompt never changes to controller-# (like
controller-0, controller-1, etc) then collect from
that subcloud will fail.

Test Plan:

PASS: Verify single subcloud collect

PASS: Verify that collect works after manually modifying
      PS1 on the subcloud.

PASS: Verify named subcloud collect (-sc -a -n <name>)

PASS: Verify collect from all subclouds

PASS: Verify Collect list of hosts

PASS: Verify collect from all hosts in the system

PASS: Verify subcloud and subclouds clean

PASS: Verify local host and hosts clean

Closes-Bug: 1948992
Change-Id: I20523bce76bc3c15f003ff4924299b58513bc57f
Signed-off-by: Shrikumar Sharma <shrikumar.sharma@windriver.com>
2022-01-06 14:33:37 -05:00
..
collect Fix collect to use the subcloud name also 2022-01-06 14:33:37 -05:00
collect_ceph.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_containerization.sh Collect is missing etcdctl output 2021-05-18 18:51:01 +00:00
collect_coredump.sh Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_crash.sh Add new logs to the crash info file 2020-12-16 16:40:20 -03:00
collect_date Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_dc.sh Fix clear passwords presented in collected log files 2021-01-26 18:58:24 +00:00
collect_disk.sh Add new log to the device and interface info files. 2021-01-13 16:31:36 -03:00
collect_fm.sh Add new logs to the alarm info file 2020-12-16 16:48:12 -03:00
collect_host Enhance collect to support collecting from subclouds 2021-08-18 08:58:25 -04:00
collect_ima.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_interfaces.sh Add new log to the device and interface info files. 2021-01-13 16:31:36 -03:00
collect_mariadb.sh Add mariadb-cli, kubectl and openstack commands to collect 2020-09-09 17:10:25 -04:00
collect_mask_passwords Mask remaining passwords in user.log 2021-12-07 11:51:50 -03:00
collect_networking.sh Enhance collect tool with k8s networking data 2019-09-16 06:57:24 -04:00
collect_nfv_vim.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_openstack.sh Add mariadb-cli, kubectl and openstack commands to collect 2020-09-09 17:10:25 -04:00
collect_ovs.sh change 'compute' to 'worker' in collect utils 2019-01-05 09:35:04 +08:00
collect_parms Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_patching.sh relocate /www to /var/www 2021-10-08 09:19:15 -04:00
collect_psqldb.sh Fix linters error and enable linters zuul gate 2018-09-07 01:50:28 +08:00
collect_sm.sh Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
collect_sysinv.sh Add resource CPU and memory info in collect 2021-02-01 14:29:47 -03:00
collect_tc.sh Traffic control fixes and refresh 2019-10-28 17:34:31 -05:00
collect_utils Enhance collect to support collecting from subclouds 2021-08-18 08:58:25 -04:00
etc.exclude Exclude private certificate and key files from collect 2021-11-30 17:23:15 -05:00
expect_done Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
LICENSE Relocate collector to stx-integ/tools/collector 2018-08-01 12:24:00 -04:00
mariadb-cli.sh Add mariadb-cli, kubectl and openstack commands to collect 2020-09-09 17:10:25 -04:00
run.exclude Fix run.exclude to prevent collection of data from /var/run/nvidia. 2021-10-18 14:41:06 -04:00
varlog.exclude Exclude /var/log/crash from collect 2020-10-16 21:48:14 -04:00