aboutsummaryrefslogtreecommitdiff
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2016-02-24Implement Option for Two VIPs to separate API trafficDave McCowan3-3/+156
To improve security, operators have asked for two VIPs for their cloud. VIP 1 is the internal VIP that can reach internal and admin endpoints. In addition, the internal VIP can also reach other internal services, such as the database and message services. VIP 2 is the external VIP that can only reach public endpoints. With one VIP only, all services are reached at the same address. To add a second VIP, this patch adds two new configuration parameters. kolla_external_vip_address: is an IPv4 address to use for created VIP kolla_external_vip_interface: is the network interface to use for VIP In this scenario, the first VIP (the internal VIP), is defined by the original parameters (kolla_internal address and network_interface). When using two VIPs, the existing kolla_external_address parameter should be/point to/resolve to the kolla_external_vip_address. Closes-bug: 1535333 Change-Id: I5bfcefaf7899298455cdade8209c34324aebfecb
2016-02-23Fix non-idempotent heka bootstrapSamYaple1-0/+2
This bootstrap was non-idempotent. This patch follows the style first implemented with nova to make this idempotent. TrivialFix Change-Id: Id04e59c5274a7d8a5bffd3ce018f3bbb84839d75
2016-02-23Merge "Remove Rsyslog entirely"Jenkins6-59/+0
2016-02-23Merge "Make Heka collect Mistral logs"Jenkins4-7/+11
2016-02-23Remove Rsyslog entirelyÉric Lemoine6-59/+0
Partially implements: blueprint heka Change-Id: I1322d2dc870e6f8fe052926995d993e8a08a25db
2016-02-23Make Heka collect Mistral logsÉric Lemoine4-7/+11
Partially implements: blueprint heka Change-Id: Ib6ac3228626360216c2c738ed601d61375b51675
2016-02-23Change Jinja2 expressions in heka.json.j2Éric Lemoine1-3/+2
This follows up on a review comment from sdake [*] and change the Jinja2 expressions used in heka.json.j2. [*] <https://review.openstack.org/#/c/283118/3/ansible/roles/common/templates/heka.json.j2@49> TrivialFix Change-Id: I20ee5084cfef6acf53a737757fe727df5b4e9fce
2016-02-22Merge "Fix Swift logging"Jenkins6-6/+17
2016-02-22Merge "Upgrade stub for elasticsearch"Jenkins1-0/+1
2016-02-22Upgrade stub for elasticsearchMichal (inc0) Jastrzebski1-0/+1
This should be later replaced with actual upgrade logic Change-Id: I1c386a7f3bc0d15ebe4a47d2628833172a15f89b Partially-implements: blueprint upgrade-kolla Partially-implements: blueprint upgrade-elasticseatch
2016-02-22Merge "Use external address in novncproxy and spice"Jenkins1-2/+2
2016-02-22Merge "Upgrade task for Swift"Jenkins3-12/+44
2016-02-22Use external address in novncproxy and spicexionglingfeng1-2/+2
Change-Id: I1e5fd00eb3978db950f008e740d3b8130964909f Closes-Bug: 1548445
2016-02-22Fix Swift loggingÉric Lemoine6-6/+17
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-22Merge "Add a precheck for MountFlags=shared"Jenkins1-0/+21
2016-02-22Merge "Playbook for glance upgrade"Jenkins3-19/+26
2016-02-22Playbook for glance upgradeJeff Peeler3-19/+26
New playbook for glance service upgrade. Change-Id: I759e4eddf669112f752fe07d6b99a4bb9593d97f Implements: blueprint upgrade-glance Partially-Implements: blueprint upgrade-kolla
2016-02-22Add a precheck for MountFlags=sharedRyan Hallisey1-0/+21
In order to avoid the neutron-dhcp-agent container from failing, you need to change 'MountFlags' to 'shared' in /var/lib/systemd/system/docker.serivce. Add a precheck so that this issue will not happen as often. Closes-bug: #1546681 Change-Id: I339b5e93e870534fe16c6610f299ca789e5ada62
2016-02-22fix neutron-dhcp-agent start failurexionglingfeng1-1/+1
The new heka changed log path. It is necessary to change the dnsmasq log path as well. Change-Id: Iaffecb8baf87961931727ce653f6c72740896a8f Closes-Bug: 1548199
2016-02-21Upgrade task for SwiftPaul Bourke3-12/+44
Based on the Nova upgrade patch and recommendations from Swift PTL John Dickinson at https://swiftstack.com/blog/2013/12/20/upgrade-openstack-swift-no-downtime/ Notes: As part of this upgrade I have chosen to *not* migrate any data from the old style swift_data container. This is because it was never intended to be used in production; this fact is made clear in the docs. In regards to testing, as of this patch we do not yet have an upgrade task for the common containers (rsyslog and kolla-toolbox), so attempting to upgrade swift will result in it failing to find the kolla-toolbox. This will be true of any other upgrade until upgrade for common is added. It can be worked around by deploying another role such as keystone which will drag in the common role and start up kolla-toolbox, after which Swift can be successfully upgraded. Change-Id: I138556932e9bddcd595d94a3dcb69603268880ff Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-swift
2016-02-19Make Heka collect Magnum logsÉric Lemoine5-12/+7
Partially implements: blueprint heka Change-Id: I91a977c6a3632c570f7a6054c8de3f5e3cb6932c
2016-02-19Make Heka collect Murano logsÉric Lemoine5-13/+7
Partially implements: blueprint heka Change-Id: I17fc4b838d6ba8b6fcfc5c08314fef5fac1c7aff
2016-02-19Make Heka collect Heat logsÉric Lemoine5-17/+9
Partially implements: blueprint heka Change-Id: Ie22c4326c6ec2a3426b0c3b8fda4554b1b2541b0
2016-02-19Make Heka collect Cinder logsÉric Lemoine5-20/+13
Partially implements: blueprint heka Change-Id: I9dcb71a9cf063fb520fcf3485e0376f1e90d87ad
2016-02-19Make Heka collect Swift logsÉric Lemoine9-63/+59
Partially implements: blueprint heka Change-Id: I893a0c4a4cab9d4d98821634ddd2ff67015c4e3f
2016-02-19Make Heka collect Neutron logsÉric Lemoine5-29/+16
Partially implements: blueprint heka Change-Id: I70e94f4ef7380c6f376a3066d7ddda042c703637
2016-02-19Make Heka collect Keystone logsÉric Lemoine9-16/+34
Partially implements: blueprint heka Change-Id: I940143876981a04464af67aff65c09a06926701d
2016-02-19Make Ansible write its logs into "kolla_logs"Éric Lemoine2-4/+1
The Ansible logs are currently not collected by Heka. This can be done later, with an Ansible-specific decoder for Heka. Partially implements: blueprint heka Change-Id: I8d3ba4edb527f61c0a8234024b4be953c6e6c565
2016-02-19Make Heka collect Glance logsÉric Lemoine6-15/+10
Partially implements: blueprint heka Change-Id: I9e5ba649bc45356822138ad223430f4b93722448
2016-02-19Make Heka collect MariaDB logsÉric Lemoine6-0/+21
Partially implements: blueprint heka Change-Id: Ib5e740683cee296bcac69228f525594850d62a27
2016-02-19Make Heka collect Nova logsÉric Lemoine9-30/+31
Partially implements: blueprint heka Change-Id: I67dfc5d762d74454e4a852dd61c57fe9cd4b78c8
2016-02-19Merge "Upgrade cinder playbook"Jenkins4-29/+37
2016-02-19Merge "Make Heka collect RabbitMQ logs"Jenkins5-0/+26
2016-02-19Merge "Make Heka collect HAProxy and Keepalived logs"Jenkins5-0/+27
2016-02-19Merge "Add Heka to common role"Jenkins8-0/+86
2016-02-19Merge "Playbook for nova upgrade"Jenkins9-189/+287
2016-02-19Merge "Upgrade common role"Jenkins1-1/+1
2016-02-19Make Heka collect RabbitMQ logsÉric Lemoine5-0/+26
Partially implements: blueprint heka Change-Id: I8fd3324daf15e52712591c2b3cbec613d82b73b3
2016-02-19Make Heka collect HAProxy and Keepalived logsÉric Lemoine5-0/+27
Partially implements: blueprint heka Change-Id: I7e2bf4e520fa14fd40e3b329f3b2998ae6ea47f4
2016-02-19Add Heka to common roleÉric Lemoine8-0/+86
Partially implements: blueprint heka Change-Id: I9ddad09b3f16b323c7ed535243458b0de6620cdb
2016-02-19Merge "Use "optional" for ceph confs"Jenkins2-4/+20
2016-02-19Upgrade cinder playbookRyan Hallisey4-29/+37
Cinder requires a specific order for an upgrade. c-api -> c-scheduler -> c-volume -> c-backup as referenced by this patch: https://review.openstack.org/#/c/269412/6 We may be dependant on that Cinder patch linked above. Behavior without this patch is unknown. Change-Id: I3fd1fe62abb398935932dab6ce905a65f8aabbd0 Co-authored-by: Paul Bourke <paul.bourke@oracle.com> Partially-implements: blueprint upgrade-kolla implements: blueprint upgrade-cinder
2016-02-19Playbook for nova upgradeMichal Jastrzebski9-189/+287
This creates tree and playbook for nova upgrade. Also other service upgrades will follow standard setup here. Change-Id: Ic31759efaee4986eb87b9ff0968f13189d130d48 Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-nova
2016-02-19Merge "Keep consistent with others for ironic containers"Jenkins2-7/+7
2016-02-19Upgrade common roleSamYaple1-1/+1
This one is simple, simply start the services with new images! Change-Id: Ia29cfa136856e8413dac1edee38a55d9f5a45c3e Partially-Implements: blueprint upgrade-kolla
2016-02-19Merge "Added Elasticearch and its deployment."Jenkins13-0/+85
2016-02-19Keep consistent with others for ironic containersAllen Gao2-7/+7
Make the containers and volumes names of ironic to be consistent with others. Partially-implements: blueprint ironic-container Change-Id: If78b020c81157a948c5c3283f1410bcb6e5c1e61
2016-02-18Merge "Add double quotes in kolla_enable_sanity_checks"Jenkins1-1/+1
2016-02-18Add double quotes in kolla_enable_sanity_checksMauricio Lima1-1/+1
TrivialFix Change-Id: Ic36f1d22c1c011844f076828a7aef4d96da5e074
2016-02-18Make Mistral deployable via ansibleMartin André1-6/+0
All mistral plays were skipped because of improper when condition. Change-Id: Iacc50d0e54302758b2c68104542781ead05e6aa3 Closes-Bug: #1546843