openstack-ansible/playbooks/roles/os_swift/templates
git-harry 176107aa30 Change recon_lock_path to /var/lock
The Swift configuration item [filter:recon]/recon_lock_path is set to
'/var/lock/swift' by openstack-ansible in the appropriate configuration
files. The playbooks also create the directory if it does not exist. If
the host is rebooted the directory '/var/lock/swift' is missing and must
be recreated.

/var/lock (/run/lock) is a tmpfs and so the directory /var/lock/swift
will not persist between reboots.

Swift attempts to create a directory in the directory specified by
recon_lock_path however it does not recursively create any missing
parent directories.

This commit changes the value of [filter:recon]/recon_lock_path to that
set by Swift, '/var/lock'. This allows it to create the directory
'/var/lock/swift-recon-object-cron'. The creation of '/var/lock/swift'
is also removed from the playbooks.

Change-Id: I714367b02c7cf961e9e0bdee4e41f9e4e105b088
Closes-bug: #1496117
2015-09-21 11:18:18 +00:00
..
account-server-replicator.conf.j2 Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
account-server.conf.j2 Change recon_lock_path to /var/lock 2015-09-21 11:18:18 +00:00
container-server-replicator.conf.j2 Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
container-server.conf.j2 Change recon_lock_path to /var/lock 2015-09-21 11:18:18 +00:00
object-server-replicator.conf.j2 Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
object-server.conf.j2 Change recon_lock_path to /var/lock 2015-09-21 11:18:18 +00:00
proxy-server.conf.j2 Compartmentalizing RabbitMQ 2015-09-11 11:08:50 -05:00
rsyncd.conf.j2 Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
swift-dispersion.conf.j2 set correct swift dispersion tenant 2015-07-28 15:55:20 +01:00
swift-rsyslog.conf.j2 Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
swift-upstart-init.j2 Fix spelling of runlevel in init scripts 2015-06-13 10:21:17 +01:00
swift.conf.j2 Add erasure code policy support to swift 2015-05-07 15:09:26 +00:00