Collect Enhancements

Changes reflect that the collect tool has been enhanced to support
collection of subclouds and more generally parallel collection
for both system and subclouds.
Patchset 1 review comment updates.
Patchset 2 review comment updates.
Patchset 3 review comment updates.

Story: 2009055
Task: 43564

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I44ef36e52ee82c827f53e98126178f867e64cd0c
This commit is contained in:
Ron Stone 2021-10-08 13:22:51 -04:00
parent 941175aebf
commit 69215b306c

View File

@ -42,16 +42,55 @@ Collect Tool Caveats and Usage
.. code-block:: none
(keystone_admin)$ collect -all
(keystone_admin)$ collect --all
You can also use the short form ``-a`` for this option.
.. note::
Hosts or subclouds explicitly added with the ``--all`` option will
be ignored.
- For large deployments:
.. code-block:: none
(keystone_admin)$ collect host1 host2 host3
Or you can use the ``--list`` option. This syntax is deprecated.
.. code-block:: none
(keystone_admin)$ collect --list host1 host2 host3
You can also use the short form ``-l`` for this option.
- For systems with an up-time of more than 2 months, use the date range options.
.. note::
Systems and subclouds are collected in parallel to reduce the
overall collection time. Use the ``--inline`` (or ``-in``) option
to collect serially. ``--inline`` can be combined with the
``--all`` option.
- For subcloud deployments:
.. code-block:: none
(keystone_admin)$ collect --subcloud subcloud1 subcloud2 subcloud3
You can also use the short form ``-sc`` for this option. The
``--subcloud`` and ``--all`` options can be combined.
.. code-block:: none
(keystone_admin)$ collect --all --subcloud
.. note::
The ``--all`` (``-a``) option is not recommended with large subcloud
deployments due to disk storage requirements.
- For systems with an up-time of more than 2 months, use the date range
options. The default behavior is to collect one month of logs.
Use ``--start-date`` for the collection of logs on and after a given date:
@ -90,9 +129,9 @@ Collect Tool Caveats and Usage
before collecting logs for a node that is rebooting indefinitely.
- You may be required to run the local :command:`collect` command if the
collect tool running from the active controller node fails to collect
logs from one of the system nodes. Execute the :command:`collect` command
using the console or BMC connection on the node that displays the failure.
collect tool running from the active controller node fails to collect logs
from one of the system nodes. Execute the :command:`collect` command using
the console or |BMC| connection on the node that displays the failure.
.. only:: partner