Instruction for multi node setup misses /var/run/swift creation
Multiple Server Swift Installation (Ubuntu) instruction does not indicate that the directory /var/run/swift needs to be created. That directory actually needs to be created and the ownship needs to be changed to the user/group which swift service runs under. This patch will fix the document and gives the steps how to create the directory and set the ownership right. It also gives instruction on how the script can be added so that swift services can be resarted after system reboots. Change-Id: Id61aa67cc0d6f66d749701e6ea824b1ff3b2c478 Fixes: bug #1156631
This commit is contained in:
parent
c2f8f00a3e
commit
68355d7ea5
@ -86,6 +86,15 @@ General OS configuration and partitioning for each node
|
||||
export STORAGE_LOCAL_NET_IP=10.1.2.3
|
||||
export PROXY_LOCAL_NET_IP=10.1.2.4
|
||||
|
||||
#. Create directory /var/run/swift and change the ownership to the user and group
|
||||
which Swift services will run under. Since the directory is only needed for runtime,
|
||||
when system shuts down, the directory will be gone. It is necessary to have
|
||||
the directory recreated when system is restarted. To do that, also add the
|
||||
following lines into /etc/rc.local before line "exit 0".
|
||||
|
||||
mkdir -p /var/run/swift
|
||||
chown swift:swift /var/run/swift
|
||||
|
||||
.. note::
|
||||
The random string of text in /etc/swift/swift.conf is
|
||||
used as a salt when hashing to determine mappings in the ring.
|
||||
|
Loading…
Reference in New Issue
Block a user