Skip to content

Commit 9ff082c

Browse files
authored
Merge pull request #79 from stackhpc/alex-test-branch
Fix deployment issues
2 parents 1e59792 + a328f80 commit 9ff082c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ansible/files/multinode.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function run_tempest() {
286286
set -x
287287

288288
if [[ -d $tempest_dir ]]; then
289-
tempest_backup=${tempest_dir}.$(date --iso-8601=minutes)
289+
tempest_backup=${tempest_dir}-$(date +%Y%m%dT%H%M%S)
290290
echo "Found previous Tempest test results"
291291
echo "Moving to $tempest_backup"
292292
mv $tempest_dir $tempest_backup
@@ -365,6 +365,10 @@ function upgrade_overcloud() {
365365

366366
run_kayobe overcloud host upgrade
367367
run_kayobe overcloud host configure
368+
# FIXME: The overcloud host configure triggers parallel reboots due to an
369+
# selinux state change. This breaks the database. This should be fixed by
370+
# serialising the reboots inside kayobe.
371+
run_kayobe overcloud database recover
368372
run_kayobe overcloud service upgrade
369373
}
370374

0 commit comments

Comments
 (0)