Merge "Trap error exit in deploy aio script"
This commit is contained in:
commit
e94c67749a
@ -19,6 +19,8 @@ function check_failure {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
trap check_failure EXIT
|
||||||
|
|
||||||
# Populate globals.yml
|
# Populate globals.yml
|
||||||
cat << EOF > /etc/kolla/globals.yml
|
cat << EOF > /etc/kolla/globals.yml
|
||||||
---
|
---
|
||||||
@ -36,6 +38,4 @@ ip l a fake_interface type dummy
|
|||||||
# Actually do the deployment
|
# Actually do the deployment
|
||||||
tools/kolla-ansible -vvv deploy
|
tools/kolla-ansible -vvv deploy
|
||||||
|
|
||||||
check_failure
|
|
||||||
|
|
||||||
# TODO(SamYaple): Actually do functional testing of OpenStack
|
# TODO(SamYaple): Actually do functional testing of OpenStack
|
||||||
|
Loading…
Reference in New Issue
Block a user