)]}'
{"lib/keystone":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"4a1d983ff167c023798732c1de0713dc10375b1c","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# configure_keystone() - Set config files, create data dirs, etc"},{"line_number":199,"context_line":"function configure_keystone {"},{"line_number":200,"context_line":"    sudo install -d -o $STACK_USER $KEYSTONE_CONF_DIR"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"    if [[ \"$KEYSTONE_CONF_DIR\" !\u003d \"$KEYSTONE_DIR/etc\" ]]; then"},{"line_number":203,"context_line":"        install -m 600 $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"bacf61ea_bbd07c54","side":"PARENT","line":200,"updated":"2016-08-05 05:20:59.000000000","message":"this line should make KEYSTONE_CONF_DIR with the permissions of the stack user, hence it shouldn\u0027t need an sudo on it.","commit_id":"b80e5d75276ab15bd67030bb910933cc4586d4c4"},{"author":{"_account_id":22998,"name":"XueFengLiu","email":"liu.xuefeng1@zte.com.cn","username":"sgfeng"},"change_message_id":"9a79f93db103787d57358949344f0064e5d7e064","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# configure_keystone() - Set config files, create data dirs, etc"},{"line_number":199,"context_line":"function configure_keystone {"},{"line_number":200,"context_line":"    sudo install -d -o $STACK_USER $KEYSTONE_CONF_DIR"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"    if [[ \"$KEYSTONE_CONF_DIR\" !\u003d \"$KEYSTONE_DIR/etc\" ]]; then"},{"line_number":203,"context_line":"        install -m 600 $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9ad45d7e_ebe5fb37","side":"PARENT","line":200,"in_reply_to":"9ad45d7e_b4f44df2","updated":"2016-08-11 03:59:12.000000000","message":"The full log is lost.Maybe this problem is particular case\nin my environment?","commit_id":"b80e5d75276ab15bd67030bb910933cc4586d4c4"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"4b0cace82b0e46602965040a38d534f1644a3198","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# configure_keystone() - Set config files, create data dirs, etc"},{"line_number":199,"context_line":"function configure_keystone {"},{"line_number":200,"context_line":"    sudo install -d -o $STACK_USER $KEYSTONE_CONF_DIR"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"    if [[ \"$KEYSTONE_CONF_DIR\" !\u003d \"$KEYSTONE_DIR/etc\" ]]; then"},{"line_number":203,"context_line":"        install -m 600 $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"9ad45d7e_b4f44df2","side":"PARENT","line":200,"in_reply_to":"bacf61ea_068e882d","updated":"2016-08-09 22:13:27.000000000","message":"I don\u0027t see how \n\n sudo install -d -o stack /etc/keystone\n\nmakes an /etc/keystone directory that isn\u0027t writable by the stack user?  Was it already there with the wrong permissions or something?\n\nMaybe paste the full log of this bit somewhere (paste.openstack.org)","commit_id":"b80e5d75276ab15bd67030bb910933cc4586d4c4"},{"author":{"_account_id":22998,"name":"XueFengLiu","email":"liu.xuefeng1@zte.com.cn","username":"sgfeng"},"change_message_id":"65653994c36c3bdd62d9d9003236fd6c4ef2bcaa","unresolved":false,"context_lines":[{"line_number":197,"context_line":""},{"line_number":198,"context_line":"# configure_keystone() - Set config files, create data dirs, etc"},{"line_number":199,"context_line":"function configure_keystone {"},{"line_number":200,"context_line":"    sudo install -d -o $STACK_USER $KEYSTONE_CONF_DIR"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":"    if [[ \"$KEYSTONE_CONF_DIR\" !\u003d \"$KEYSTONE_DIR/etc\" ]]; then"},{"line_number":203,"context_line":"        install -m 600 $KEYSTONE_DIR/etc/keystone.conf.sample $KEYSTONE_CONF"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"bacf61ea_068e882d","side":"PARENT","line":200,"in_reply_to":"bacf61ea_bbd07c54","updated":"2016-08-05 09:14:24.000000000","message":"This error occurs when wen run ./stack.sh whit stack user,and this is a new system first to run ./stack.sh,devstack update in 2016-08-03.\nline200 is ok,error is in lin204,error info:\n\"2016-08-03 15:43:51.775 | +lib/keystone:configure_keystone:204 cp -p /opt/stack/keystone/etc/policy.json /etc/keystone\n2016-08-03 15:43:51.787 | cp: cannot create regular file \u0027/etc/keystone/policy.json\u0027: Permission denied\"\nFrom error info we know,KEYSTONE_DIR is /opt/stack/keystone and KEYSTONE_CONF_DIR is /etc/keystone,KEYSTONE_CONF_DIR is created by $STACK_USER in line200,but $STACK_USER cannot operation KEYSTONE_DIR.","commit_id":"b80e5d75276ab15bd67030bb910933cc4586d4c4"}]}
