Devstack policy.json No such file or directory error

asked 2018-01-10 18:07:22 -0600

piruzi gravatar image

When i try to setup devstack there is an error occured as below. Can you help me? In addition, i m trying to setup pike branch of devstack and i checked /opt/stack/keystone/etc path there is policy.v3cloudsample.json file. What is the problem?

2018-01-10 23:19:34.161 | +lib/keystone:configure_keystone:204 cp -p /opt/stack/keystone/etc/policy.json /etc/keystone 2018-01-10 23:19:34.163 | cp: cannot stat '/opt/stack/keystone/etc/policy.json': No such file or directory 2018-01-10 23:19:34.172 | +lib/keystone:configure_keystone:1 exit_trap 2018-01-10 23:19:34.181 | +./stack.sh:exit_trap:494 local r=1 2018-01-10 23:19:34.190 | ++./stack.sh:exit_trap:495 jobs -p 2018-01-10 23:19:34.200 | +./stack.sh:exit_trap:495 jobs= 2018-01-10 23:19:34.208 | +./stack.sh:exit_trap:498 [[ -n '' ]] 2018-01-10 23:19:34.216 | +./stack.sh:exit_trap:504 kill_spinner 2018-01-10 23:19:34.225 | +./stack.sh:kill_spinner:390 '[' '!' -z '' ']' 2018-01-10 23:19:34.234 | +./stack.sh:exit_trap:506 [[ 1 -ne 0 ]] 2018-01-10 23:19:34.242 | +./stack.sh:exit_trap:507 echo 'Error on exit' 2018-01-10 23:19:34.242 | Error on exit 2018-01-10 23:19:34.251 | +./stack.sh:exit_trap:508 generate-subunit 1515625890 484 fail 2018-01-10 23:19:34.510 | +./stack.sh:exit_trap:509 [[ -z /opt/stack/logs ]] 2018-01-10 23:19:34.518 | +./stack.sh:exit_trap:512 /var/devstack/tools/worlddump.py -d /opt/stack/logs 2018-01-10 23:19:34.842 | +./stack.sh:exit_trap:518 exit 1

edit retag flag offensive close merge delete

Comments

In Pike, Keystone has no default policy.json anymore. It could be that this message is not related to the error exit and the real problem is further up in the log.

Bernd Bausch gravatar imageBernd Bausch ( 2018-01-11 06:34:23 -0600 )edit