Fix permission error on running periodic task
In Magnum devstack plugin, the 'sed' command didn't write to the Heat policy file, which causes permission error. Change-Id: I531b542ca3d4a78cb2ea1feb706bf0363c00984b Closes-Bug: #1477800
This commit is contained in:
parent
f60787bc8b
commit
11398e175c
|
@ -175,7 +175,7 @@ function create_magnum_conf {
|
|||
function update_heat_policy {
|
||||
# enable stacks globel_index search so that magnum can use
|
||||
# list(global_tenant=True)
|
||||
sed 's/\("stacks:global_index":\).*$/\1 "role:admin",/' $HEAT_CONF_DIR/policy.json
|
||||
sed -i 's/\("stacks:global_index":\).*$/\1 "role:admin",/' $HEAT_CONF_DIR/policy.json
|
||||
}
|
||||
|
||||
function create_magnum_conf_magnum_network {
|
||||
|
|
Loading…
Reference in New Issue