Don't capture quickstart.tar.gz
This archive appears to not contain any logs, but contains the quickstart runtime files (including all site-packages). There is space savings of 44MB per job from removing this file. Change-Id: I3085c1f7807925e144550adf3cd94ec41fcc121e Related-Bug: #1698172
This commit is contained in:
parent
f6adce68e3
commit
5ccdf00217
@ -82,8 +82,6 @@ TIME_FOR_DEPLOY=$(( REMAINING_TIME - ($(date +%s) - START_JOB_TIME)/60 - 15 ))
|
|||||||
$OOOQ_DEFAULT_ARGS $EXTRA_ARGS undercloud 2>&1 \
|
$OOOQ_DEFAULT_ARGS $EXTRA_ARGS undercloud 2>&1 \
|
||||||
| tee $OOOQ_LOGS/quickstart_install.log && exit_value=0 || exit_value=$?
|
| tee $OOOQ_LOGS/quickstart_install.log && exit_value=0 || exit_value=$?
|
||||||
|
|
||||||
tar -czf $OOOQ_LOGS/quickstart.tar.gz $OPT_WORKDIR
|
|
||||||
|
|
||||||
# TODO(sshnaidm): fix this either in role or quickstart.sh
|
# TODO(sshnaidm): fix this either in role or quickstart.sh
|
||||||
# it will not duplicate logs from undercloud and 127.0.0.2
|
# it will not duplicate logs from undercloud and 127.0.0.2
|
||||||
sed -i 's/hosts: all:!localhost/hosts: all:!localhost:!127.0.0.2/' $OPT_WORKDIR/playbooks/collect-logs.yml || true
|
sed -i 's/hosts: all:!localhost/hosts: all:!localhost:!127.0.0.2/' $OPT_WORKDIR/playbooks/collect-logs.yml || true
|
||||||
|
@ -134,8 +134,6 @@ pushd $TRIPLEO_ROOT/tripleo-quickstart/
|
|||||||
|
|
||||||
sudo journalctl -u os-collect-config | sudo tee /var/log/os-collect-config.txt
|
sudo journalctl -u os-collect-config | sudo tee /var/log/os-collect-config.txt
|
||||||
|
|
||||||
tar -czf $OOOQ_LOGS/quickstart.tar.gz $OPT_WORKDIR
|
|
||||||
|
|
||||||
# TODO(sshnaidm): fix this either in role or quickstart.sh
|
# TODO(sshnaidm): fix this either in role or quickstart.sh
|
||||||
# it will not duplicate logs from undercloud and 127.0.0.2
|
# it will not duplicate logs from undercloud and 127.0.0.2
|
||||||
sed -i 's/hosts: all:!localhost/hosts: all:!localhost:!127.0.0.2/' $OPT_WORKDIR/playbooks/collect-logs.yml || true
|
sed -i 's/hosts: all:!localhost/hosts: all:!localhost:!127.0.0.2/' $OPT_WORKDIR/playbooks/collect-logs.yml || true
|
||||||
|
Loading…
Reference in New Issue
Block a user