Unable to install Panko Service in Devstack Mitaka

asked 2017-02-28 04:51:26 -0600

Anirudh gravatar image

Hi,

I have configured Devstack mitaka and trying to install ceilometer aodh and panko services. But out of the three, i am facing installation error in panko.

can someone please help in resolving the issue.

The script.sh exits giving the following error :-

2017-02-28 15:03:40.908 | 91d00f3791d542d39441f3cea7a2cfef 2017-02-28 15:03:40.917 | ++/opt/stack/panko/devstack/plugin.sh:init_panko:189 sudo install -d -o stack /var/cache/panko 2017-02-28 15:03:40.934 | ++/opt/stack/panko/devstack/plugin.sh:init_panko:190 rm -f '/var/cache/panko/*' 2017-02-28 15:03:40.944 | ++/opt/stack/panko/devstack/plugin.sh:init_panko:192 is_service_enabled panko-api 2017-02-28 15:03:40.991 | ++functions-common:is_service_enabled:2055 return 0 2017-02-28 15:03:40.999 | ++/opt/stack/panko/devstack/plugin.sh:init_panko:192 is_service_enabled mysql postgresql 2017-02-28 15:03:41.040 | ++functions-common:is_service_enabled:2055 return 0 2017-02-28 15:03:41.049 | ++/opt/stack/panko/devstack/plugin.sh:init_panko:193 '[' mysql = mysql ']' 2017-02-28 15:03:41.058 | ++/opt/stack/panko/devstack/plugin.sh:init_panko:194 recreate_database panko 2017-02-28 15:03:41.066 | ++lib/database:recreate_database:112 local db=panko 2017-02-28 15:03:41.075 | ++lib/database:recreate_database:113 recreate_database_mysql panko 2017-02-28 15:03:41.083 | ++lib/databases/mysql:recreate_database_mysql:56 local db=panko 2017-02-28 15:03:41.091 | ++lib/databases/mysql:recreate_database_mysql:57 mysql -uroot -pabc123 -h127.0.0.1 -e 'DROP DATABASE IF EXISTS panko;' 2017-02-28 15:03:41.104 | ++lib/databases/mysql:recreate_database_mysql:58 mysql -uroot -pabc123 -h127.0.0.1 -e 'CREATE DATABASE panko CHARACTER SET utf8;' 2017-02-28 15:03:41.118 | ++/opt/stack/panko/devstack/plugin.sh:init_panko:195 /usr/local/bin/panko-dbsync 2017-02-28 15:03:41.794 | Traceback (most recent call last): 2017-02-28 15:03:41.794 | File "/usr/local/bin/panko-dbsync", line 10, in <module> 2017-02-28 15:03:41.794 | sys.exit(dbsync()) 2017-02-28 15:03:41.794 | File "/opt/stack/panko/panko/cmd/storage.py", line 28, in dbsync 2017-02-28 15:03:41.794 | conf = service.prepare_service() 2017-02-28 15:03:41.794 | File "/opt/stack/panko/panko/service.py", line 34, in prepare_service 2017-02-28 15:03:41.794 | defaults.set_cors_middleware_defaults() 2017-02-28 15:03:41.794 | File "/opt/stack/panko/panko/conf/defaults.py", line 20, in set_cors_middleware_defaults 2017-02-28 15:03:41.795 | cors.set_defaults( 2017-02-28 15:03:41.795 | AttributeError: 'module' object has no attribute 'set_defaults' 2017-02-28 15:03:41.822 | +/opt/stack/panko/devstack/plugin.sh:init_panko:1 exit_trap 2017-02-28 15:03:41.829 | +./stack.sh:exit_trap:474 local r=1 2017-02-28 15:03:41.839 | ++./stack.sh:exit_trap:475 jobs -p 2017-02-28 15:03:41.848 | +./stack.sh:exit_trap:475 jobs= 2017-02-28 15:03:41.857 | +./stack.sh:exit_trap:478 [[ -n '' ]] 2017-02-28 15:03:41.865 | +./stack.sh:exit_trap:484 kill_spinner 2017-02-28 15:03:41.872 | +./stack.sh:kill_spinner:370 '[' '!' -z '' ']' 2017-02-28 15:03:41.880 | +./stack.sh:exit_trap:486 [[ 1 -ne 0 ]] 2017-02-28 15:03:41.889 | +./stack.sh:exit_trap:487 echo 'Error on exit' 2017-02-28 15:03:41.889 | Error on exit 2017-02-28 15:03:41.896 ... (more)

edit retag flag offensive close merge delete