diff --git a/devstack/lib/tacker b/devstack/lib/tacker index 70fe9a6ee..aa9efe5f6 100644 --- a/devstack/lib/tacker +++ b/devstack/lib/tacker @@ -326,6 +326,11 @@ function tacker_horizon_install { restart_apache_server } +function tacker_horizon_uninstall { + sudo rm -f $DEST/horizon/openstack_dashboard/enabled/_80_nfv.py + restart_apache_server +} + function openstack_image_create { image=$1 disk_format=raw diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 09c02b59e..651495e6f 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -50,6 +50,8 @@ if is_service_enabled tacker; then if [[ "$1" == "unstack" ]]; then # Shut down tacker services + echo_summary "Uninstall tacker horizon" + tacker_horizon_uninstall stop_tacker fi