176107aa30
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 |
||
---|---|---|
.. | ||
main.yml | ||
swift_install.yml | ||
swift_post_install.yml | ||
swift_pre_install.yml | ||
swift_proxy_hosts.yml | ||
swift_service_setup.yml | ||
swift_storage_hosts_account.yml | ||
swift_storage_hosts_container.yml | ||
swift_storage_hosts_object.yml | ||
swift_storage_hosts_setup.yml | ||
swift_storage_hosts.yml | ||
swift_upstart_common_init.yml |