Create usable IPC directory for ZeroMQ
By default, the zeromq driver looks for /var/run/openstack which needs to be created and given the right permissions. It is easier and just as safe in the case of devstack to just use mktemp to establish a temporary working directory. Change-Id: I4cec33e49d2b042a244420fb40d83d476e4971cd
This commit is contained in:
parent
d952474d93
commit
767c6dfa0e
@ -86,6 +86,10 @@ function cleanup_rpc_backend {
|
|||||||
else
|
else
|
||||||
exit_distro_not_supported "zeromq installation"
|
exit_distro_not_supported "zeromq installation"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Necessary directory for socket location.
|
||||||
|
sudo mkdir -p /var/run/openstack
|
||||||
|
sudo chown $STACK_USER /var/run/openstack
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user