openstack-ansible/playbooks/roles/os_swift/tasks
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
..
main.yml Add swift-sync role and environment 2015-08-07 08:45:18 +00:00
swift_install.yml Added apt update tasks to everything using apt 2015-06-16 13:13:58 -05:00
swift_post_install.yml adds the config_template to swift 2015-09-14 23:44:35 -05:00
swift_pre_install.yml Change recon_lock_path to /var/lock 2015-09-21 11:18:18 +00:00
swift_proxy_hosts.yml adds the config_template to swift 2015-09-14 23:44:35 -05:00
swift_service_setup.yml Upgrade the Keystone library to use v3 2015-07-13 19:41:44 -07:00
swift_storage_hosts_account.yml adds the config_template to swift 2015-09-14 23:44:35 -05:00
swift_storage_hosts_container.yml adds the config_template to swift 2015-09-14 23:44:35 -05:00
swift_storage_hosts_object.yml adds the config_template to swift 2015-09-14 23:44:35 -05:00
swift_storage_hosts_setup.yml Ensure rsync restarts fully during swift setup 2015-09-03 05:45:50 +00:00
swift_storage_hosts.yml Fix dedicated replication network logic 2015-03-24 12:43:47 +00:00
swift_upstart_common_init.yml Handler should only restart relevent swift services 2015-03-04 09:53:08 +00:00