From 9082098c8d3afc03a677181407932a587507d25e Mon Sep 17 00:00:00 2001 From: Elaine Fonaro Date: Thu, 3 Aug 2023 16:56:33 +0000 Subject: [PATCH] Insufficient /tmp space to hold restore data during subcloud restore (r8, dsr8, r7, dsr7, r6, dsr6, r5, dsr5) - Added a note warning for ansible_remote_tmp. - Added an example. - Remove subcloud name and replace with "subcloud1". Change-Id: I2b786cd27a27134669b50c763eb3d15e096f11ab Signed-off-by: Elaine Fonaro --- ...unning-ansible-restore-playbook-remotely.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/source/backup/kubernetes/system-backup-running-ansible-restore-playbook-remotely.rst b/doc/source/backup/kubernetes/system-backup-running-ansible-restore-playbook-remotely.rst index 7276f0334..63f82408a 100644 --- a/doc/source/backup/kubernetes/system-backup-running-ansible-restore-playbook-remotely.rst +++ b/doc/source/backup/kubernetes/system-backup-running-ansible-restore-playbook-remotely.rst @@ -113,6 +113,23 @@ In this method you can run Ansible Restore playbook and point to controller-0. ~(keystone_admin)]$ ansible-playbook /localdisk/designer/jenkins/tis-stx-dev/cgcs-root/stx/ansible-playbooks/playbookconfig/src/playbooks/restore_platform.yml --limit |prefix|\_Cluster -i $HOME/br_test/hosts -e "ansible_become_pass=St0rlingX* admin_password=St0rlingX* ansible_ssh_pass=St0rlingX* initial_backup_dir=$HOME/br_test backup_filename= |prefix|\_Cluster_system_backup_2019_08_08_15_25_36.tgz ansible_remote_tmp=/home/sysadmin/ansible-restore" + .. warning:: + + If ``ansible_remote_tmp`` is not set, ``/tmp`` will be used. ``/tmp`` + can only hold 1GB. + + An example of what happens when ``ansible_remote_tmp`` is not used: + + .. code-block:: none + + TASK [backup-restore/transfer-file : Transfer backup tarball to /scratch on controller-0] *** + Wednesday 21 June 2023 13:59:28 +0000 (0:00:00.230) 0:00:51.283 ******** + fatal: [subcloud1]: FAILED! => + msg: |- + failed to transfer file to /opt/platform-backup/subcloud1_platform_backup_2023_06_09_23_14_14.tgz /tmp/.ansible-sysadmin/tmp/ansible-tmp-1687355968.13-696694507261/source: + + scp: /tmp/.ansible-sysadmin/tmp/ansible-tmp-1687355968.13-696694507261/source: No space left on device + - The ``ssl_ca_certificate_file`` defines a single certificate that contains all the ssl_ca certificates that will be installed during the restore. It will replace the