Fix functional gate error

1.add execute permission for gate_hook.sh
2.add execute permission for post_test_hook.sh
3.enable all required services in gate_hook
4.temporarily disable ironic related operations in devstack

Change-Id: If11ec8fc31fea40f5ef344d16de581e5cf7aedfb
This commit is contained in:
Shaohe Feng 2016-11-01 06:35:58 +08:00 committed by Zhenguo Niu
parent 529f030637
commit 0b1c240eef
3 changed files with 3 additions and 4 deletions

3
devstack/gate/gate_hook.sh Normal file → Executable file
View File

@ -14,8 +14,7 @@
# This script is executed inside gate_hook function in devstack gate.
# TODO(liusheng): will enable ironic services if add more functional tests
ENABLED_SERVICES="key"
export OVERRIDE_ENABLED_SERVICES="key,mysql,rabbit,g-api,g-reg,q-svc,q-dhcp,q-meta,q-agt,ir-api,ir-cond,ironic"
# The backend is passed in by the job as the first and only argument
export DEVSTACK_GATE_INSTALL_TESTONLY=1

View File

@ -208,8 +208,8 @@ if is_service_enabled nimble; then
start_nimble
echo_summary "Creating instance type"
create_instance_type
echo_summary "Updating ironic node properties"
update_ironic_node_type
#echo_summary "Updating ironic node properties"
#update_ironic_node_type
fi
if [[ "$1" == "unstack" ]]; then

0
nimble/tests/functional/hooks/post_test_hook.sh Normal file → Executable file
View File