Improving logging procedure

At the end of fuel-migration process script performs syncing
fuel-migration.log before creating flag and we can not see is flag
created properly or not.
So procedure of flag creation was placed before final log sync.

Change-Id: Iabf768a3824947896024415533e3587365917a9f
Related-Bug: #1606298
This commit is contained in:
Peter Zhurba 2016-07-27 12:40:59 +03:00
parent 789dad263b
commit 5572d24e73

View File

@ -463,9 +463,9 @@ EOF
sleep 20
done
ssh "${admin_net_ip}" "rm -f /notready; touch /tmp/migration-done"
# refresh log on destination node
rsync ${migrate_log} ${admin_net_ip}:${migrate_log}
ssh "${admin_net_ip}" "rm -f /notready; touch /tmp/migration-done"
while true ; do sleep 3600 ; done
else