aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/swift/templates
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake21-580/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-10-28Adjust object-replicator heading within object.conf.j2 template.James McCarthy1-1/+1
The swift-object-auditor logs many complaints of missing object-replicator configuration, as this section is undefined. Move the header outside of the == 'swift-object-replicator' check, so other services will get an empty section to stop complaints. TrivialFix Closes-Bug: #1637561 Change-Id: I9c8d960b0c31e448afdeaac5f3d38e1be5ff965d
2016-04-21Configures swift-rsyncd to use non-default portSerguei Bezverkhi4-1/+4
This PS configures swift-rsyncd process to use non-default port from the range above 1024. Change-Id: I7c37c548a5185a2ffac789383fe012619e401131 Closes-Bug: #1573137
2016-03-19Add memcached_servers to keystone_auth sectionSamYaple1-0/+5
The in-process cache for keystone tokens has been deprecated due to "incosistent results and high memory usage" with the expectation we switch to memcached_servers if we want to stay performant. Add memcache_servers [cache] section to the appropriate servers as the [DEFAULT]\memcache_servers options was deprecated. TrivialFix Related-Id: Ied2b88c8cefe5655a88d0c2f334de04e588fa75a Change-Id: Ic971bdddc0be3338b15924f7cc0f97d4a3ad2440
2016-02-26Change kolla_internal_address variableSamYaple1-2/+2
Due to poor planning on our variable names we have a situation where we have "internal_address" which must be a VIP, but "external_address" which should be a DNS name. Now with two vips "external_vip_address" is a new variable. This corrects that issue by deprecating kolla_internal_address and replacing it with 4 nicely named variables. kolla_internal_vip_address kolla_internal_fqdn kolla_external_vip_address kolla_external_fqdn The default behaviour will remain the same, and the way the variable inheritance is setup the kolla_internal_address variable can still be set in globals.yml and propogate out to these 4 new variables like it normally would, but all reference to kolla_internal_address has been completely removed. Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5 Partially-Implements: blueprint ssl-kolla
2016-02-22Fix Swift loggingÉric Lemoine4-4/+4
Swift uses Syslog, but it uses a custom log format. So this commit adds a specific Heka decoder for Swift. It also increases the log level from "warning" to "info" to make Swift more verbose. Note that "info" is the default log level in Swift. And it disables the Heka configuration for Swift when "enable_swift" is set to "no". This prevents Heka from creating 15 empty Swift log files in the logs volume. Partially implements: blueprint heka Change-Id: If7a7d0707e71be2957178e2d45b5de51b788232e
2016-02-19Make Heka collect Swift logsÉric Lemoine4-0/+4
Partially implements: blueprint heka Change-Id: I893a0c4a4cab9d4d98821634ddd2ff67015c4e3f
2016-02-15Use variables to specify http or https when constructing URLsDave McCowan1-2/+2
To allow for TLS to protect the service endpoints, the protocol in the URLs for the endpoints will be either http or https. This patch removes the hardcoded values of http and replaces them with variables that can be adjusted accordingly in future patches. Change-Id: Ibca6f8aac09c65115d1ac9957410e7f81ac7671e Partially-implements: blueprint ssl-kolla
2016-01-16Use auth_type instead of deprecated auth_pluginWanlong Gao1-1/+1
TrivialFix Change-Id: I33924d6de43126ff8523883eebce703c976f9a1a
2015-12-23Merge "Simplify config creation"Jenkins17-70/+70
2015-12-22Simplify config creationSamYaple17-70/+70
Convert config creation from a playbook to an action_plugin. This reduces the complexity and confusion while retaining the same augment structure and flexibility. This allows us to remove the 0-byte files as requirements. They will still be used if they are present (this means we require additional documentation around them). DocImpact Closes-Bug: #1528430 Change-Id: I2c789f6be9f195c7771ca093a6d59499564b4740
2015-12-16Fix retrieving api_interfaceOTSUKA, Yuanying1-1/+1
In heterogeneous environment, api_interfaces are different each other. So we should specify it from hostvars. Implements: bp configure-network-interface Change-Id: Id15d70bfb9ebb62a64a3847a6b77407efb171dbe
2015-11-27Source installation in virtualenvMichal Rostecki14-14/+14
Use virtualenv for installation of OpenStack projects and dependencies to avoid conflicts with Python libraries installed by non-OpenStack binary packages. Change-Id: I21ecd673b2e93335b1d3dd4e279e940c9d694c3c Implements: blueprint virtualenv
2015-10-08Swift JSON files looking for rings in the wrong placePaul Bourke14-23/+23
For Swift, the *.json.j2 templates are looking under {{ container_config_directory }} whereas they need to be looking in the common location for swift which is /var/lib/kolla/swift Change-Id: I6f0dcbc9a705b36d1d98275ba9ebc56404fe882d backport: liberty Closes-Bug: #1504210
2015-10-06Bring Kolla inline with FHSSam Yaple15-52/+52
This brings Kolla images inline with FHS and should make finding locations of things more consistent and reliable with the linux world at large. Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8 Closes-Bug: #1485742
2015-09-25Swift logging to rsyslogMichal Jastrzebski4-0/+14
Configure swift to use rsyslog container as logging mechanism Change-Id: Idef2904976651e8f5bc36d406259d9dc487949dd Implements: bp logging-container
2015-09-25Replace config-external - swiftSam Yaple15-0/+387
Change-Id: I785cb53d64cbf8dbc0fad97882f9fd0307982e5d Partially-Implements: blueprint replace-config-external
2015-09-13Merge "Add missing Swift services, also ansible configuration"Jenkins3-0/+47
2015-09-07Add rsyncd image and related Ansible for SwiftPaul Bourke1-0/+27
Swift replicator services require rsync to function. This patch adds a new container which is included automatically on each of the Swift storage nodes. Change-Id: If10fbe610ca4df21ef0f2c7a1025035d627cb4ba Partial-Bug: #1477993
2015-09-07Add missing Swift services, also ansible configurationjamesmmccarthy3-0/+47
DocImpact Closes-Bug: #1477993 Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Ifeab0fec11889cb0c90a56a6211dbdd27a40f3d9
2015-08-26Implement Ansible role for SwiftPaul Bourke5-0/+93
This currently deploys the core services for a working Swift which are account/container/object/proxy. I've included some basic docs in docs/swift-related.rst, which gives usage instructions and more context on this patch. These are really to give an overview of the state of Swift in Kolla as of now, so unless there's some major inaccuracy there please don't nitpick it. Change-Id: Id0c54be3e24c46459c40b16b7020f05bddbe1b19 Implements: blueprint ansible-swift