When I was deploying watcher-dashboard, the following error is reported.
+functions-common:load_plugin_settings:1908 source /opt/stack/watcher-dashboard/devstack/settings
++/opt/stack/watcher-dashboard/devstack/settings:source:2 enable_plugin watcher-dashboard git://git.openstack.org/openstack/watcher-dashboard
++functions-common:enable_plugin:1861 local name=watcher-dashboard
++functions-common:enable_plugin:1862 local url=git://git.openstack.org/openstack/watcher-dashboard
++functions-common:enable_plugin:1863 local branch=master
++functions-common:enable_plugin:1864 [[ ,,heat,panko,osprofiler,ceilometer,aodh,murano,watcher-dashboard,watcher,solum,zun,zun-ui,karbor,karbor-dashboard, =~ ,watcher-dashboard, ]]
++functions-common:enable_plugin:1865 die 1865 'Plugin attempted to be enabled twice: watcher-dashboard git://git.openstack.org/openstack/watcher-dashboard master'
++functions-common:die:186 local exitcode=0
++functions-common:die:187 set +o xtrace
[Call Trace]
./stack.sh:583:run_phase
/opt/stack/devstack/functions-common:1981:load_plugin_settings
/opt/stack/devstack/functions-common:1908:source
/opt/stack/watcher-dashboard/devstack/settings:2:enable_plugin
/opt/stack/devstack/functions-common:1865:die
[ERROR] /opt/stack/devstack/functions-common:1865 Plugin attempted to be enabled twice: watcher-dashboard git://git.openstack.org/openstack/watcher-dashboard master
Error on exit
World dumping... see /opt/stack/logs/worlddump-2017-04-21-011822.txt for details
This error is caused by duplicate settings about "enable_plugin watcher" in both /devstack/ local.conf and /opt/stack/ watcher- dashboard/ devstack/ settings. One solution to this error can be: mv watcher- dashboard/ devstack/ settings watcher- dashboard/ devstack/ local_conf. example