3122 Commits

Author SHA1 Message Date
Jenkins
2b0a070ee5 Merge "Fix Swift logging" 2016-02-22 21:49:42 +00:00
Jenkins
558190592e Merge "Upgrade stub for elasticsearch" 2016-02-22 20:39:48 +00:00
Jenkins
dea765639e Merge "Minor update add prechecks into workflow path" 2016-02-22 20:22:23 +00:00
Michal (inc0) Jastrzebski
70268a1658 Upgrade stub for elasticsearch
This should be later replaced with actual upgrade logic

Change-Id: I1c386a7f3bc0d15ebe4a47d2628833172a15f89b
Partially-implements: blueprint upgrade-kolla
Partially-implements: blueprint upgrade-elasticseatch
2016-02-22 19:42:32 +00:00
William Snow
2fac978566 Minor update add prechecks into workflow path
TrivialFix

Change-Id: I93f9ec574b4d46a53086ca11946bfa1003e26fa0
2016-02-22 11:36:39 -08:00
Jenkins
e6263dcd09 Merge "Use external address in novncproxy and spice" 2016-02-22 19:14:06 +00:00
Jenkins
3678532f34 Merge "Upgrade task for Swift" 2016-02-22 18:18:35 +00:00
xionglingfeng
64a3ac8433 Use external address in novncproxy and spice
Change-Id: I1e5fd00eb3978db950f008e740d3b8130964909f
Closes-Bug: 1548445
2016-02-22 14:43:12 -03:30
Jenkins
7c9ef860e8 Merge "Change Heka sudoers file mode bits" 2016-02-22 18:00:46 +00:00
Jenkins
c01ed04b2d Merge "Make cleanup-containers remove bootstrap_heka" 2016-02-22 18:00:36 +00:00
Jenkins
1d132993fd Merge "Harmonise vagrant provider defaults" 2016-02-22 18:00:02 +00:00
Jenkins
1de5b6efa0 Merge "Change ubuntu base_image for vagrant to wily64" 2016-02-22 17:58:19 +00:00
Jenkins
ee957af471 Merge "Run yum clean all in Heka Dockerfile" 2016-02-22 17:30:46 +00:00
Jenkins
8a257acb54 Merge "Make cleanup-containers remove Heka volumes" 2016-02-22 17:29:44 +00:00
Éric Lemoine
e6a9b9627a Fix Swift logging
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-22 08:53:20 -08:00
Jenkins
9e2c11cb3e Merge "Add a precheck for MountFlags=shared" 2016-02-22 16:48:02 +00:00
Éric Lemoine
c0e46f0c5f Run yum clean all in Heka Dockerfile
This follows up on a review comment from Steven Dake.  See
https://review.openstack.org/#/c/275840/14/docker/heka/Dockerfile.j2@21

Closes-Bug: #1547535
Partially implements: blueprint heka

Change-Id: I4f5094145d8f5bbc04fe23e64c6a39719775bae4
2016-02-22 17:43:51 +01:00
Éric Lemoine
b3ee41a288 Make cleanup-containers remove Heka volumes
TrivialFix
Partially implements: blueprint heka

Change-Id: Ie8f393515c464020f079db41c05d023319920136
2016-02-22 17:30:57 +01:00
Jenkins
08422056d3 Merge "Playbook for glance upgrade" 2016-02-22 16:05:19 +00:00
Jenkins
a10d4250c2 Merge "Swift ubuntu binary container" 2016-02-22 15:35:00 +00:00
Jenkins
66aed157fe Merge "fix neutron-dhcp-agent start failure" 2016-02-22 15:32:35 +00:00
Jeff Peeler
301602d8f1 Playbook for glance upgrade
New playbook for glance service upgrade.

Change-Id: I759e4eddf669112f752fe07d6b99a4bb9593d97f
Implements: blueprint upgrade-glance
Partially-Implements: blueprint upgrade-kolla
2016-02-22 10:25:51 -05:00
Daniel Gonzalez
1665f5007d Harmonise vagrant provider defaults
Ensure that provider defaults of libvirt and virtualbox use the same
paths and provisioning scripts.

Change-Id: Ie968b118aa0540204751c348ef3408a6fe24d32a
Partial-Bug: #1547114
2016-02-22 14:15:20 +01:00
Daniel Gonzalez
e970d8b5bf Change ubuntu base_image for vagrant to wily64
The ubuntu-bootstrap.sh script tries to install the packet
linux-image-generic-ls-wily when the kernel version is older than 4.2.
This fails when using the default base image ubuntu/vivid64. Therefore
this patch updates the base_image to ubuntu/wily64.

Change-Id: Ieaf2d35a9a4304de2d1d78d8245d115dcb32bb0e
Partial-Bug: #1547114
2016-02-22 14:15:20 +01:00
Éric Lemoine
2069aaa2e3 Create "heka" group and add "heka" user to it
TrivialFix
Partially implements: blueprint heka

Change-Id: I55053251596394685fd632748b42ba23ecfbeccb
2016-02-22 14:05:30 +01:00
Éric Lemoine
fadd8a3ded Make cleanup-containers remove bootstrap_heka
TrivialFix
Partially implements: blueprint heka

Change-Id: I5f91056590250f2a477018c1773905b412536f24
2016-02-22 13:56:29 +01:00
Éric Lemoine
891fae2085 Change Heka sudoers file mode bits
This follows up on a review comment from Steven Dake. See
https://review.openstack.org/#/c/275840/14/docker/heka/Dockerfile.j2@21

Closes-Bug: #1547536
Partially implements: blueprint heka

Change-Id: Ie85b64be139257f7da7cecd82a7971d7550d27d4
2016-02-22 03:03:39 -08:00
MD NADEEM
a7dcf89c2a Swift ubuntu binary container
Change-Id: I4ead909143c0089d5b07568b27dc37222da95561
Partially-Implements: blueprint binary-ubuntu
2016-02-22 09:38:22 +00:00
Ryan Hallisey
9438b2bf56 Add a precheck for MountFlags=shared
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-22 04:06:07 -05:00
xionglingfeng
41ef954ae7 fix neutron-dhcp-agent start failure
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-22 03:21:32 -03:30
Paul Bourke
e09375a4ed Upgrade task for Swift
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-21 10:12:58 +00:00
Jenkins
0e67afb73b Merge "Make Heka collect Magnum logs" 2016-02-20 22:24:37 +00:00
Jenkins
66ac6ede97 Merge "Make Heka collect Murano logs" 2016-02-20 22:24:30 +00:00
Jenkins
e69780da43 Merge "Make Heka collect Heat logs" 2016-02-20 22:24:22 +00:00
Jenkins
556a027869 Merge "Make Heka collect Cinder logs" 2016-02-20 22:24:16 +00:00
Jenkins
0075336e5b Merge "Make Heka collect Swift logs" 2016-02-20 22:24:09 +00:00
Jenkins
2b797e6af4 Merge "Make Heka collect Neutron logs" 2016-02-20 18:00:13 +00:00
Jenkins
c90b3a6763 Merge "Make Heka collect Keystone logs" 2016-02-20 18:00:05 +00:00
Jenkins
959fcd1c99 Merge "Add Heka log decoder for Keystone/Apache" 2016-02-20 17:32:17 +00:00
Jenkins
c18b9c3851 Merge "fix the custom profile raise exception issue" 2016-02-20 16:36:59 +00:00
Jenkins
4b0b7931e6 Merge "Fix image plugin functionality for oslo.config" 2016-02-20 16:36:52 +00:00
Éric Lemoine
d935f2da68 Make Heka collect Magnum logs
Partially implements: blueprint heka
Change-Id: I91a977c6a3632c570f7a6054c8de3f5e3cb6932c
2016-02-19 21:56:10 +00:00
Éric Lemoine
1e86308140 Make Heka collect Murano logs
Partially implements: blueprint heka
Change-Id: I17fc4b838d6ba8b6fcfc5c08314fef5fac1c7aff
2016-02-19 21:56:10 +00:00
Éric Lemoine
82264ab7d6 Make Heka collect Heat logs
Partially implements: blueprint heka
Change-Id: Ie22c4326c6ec2a3426b0c3b8fda4554b1b2541b0
2016-02-19 21:56:10 +00:00
Éric Lemoine
170b493d47 Make Heka collect Cinder logs
Partially implements: blueprint heka
Change-Id: I9dcb71a9cf063fb520fcf3485e0376f1e90d87ad
2016-02-19 21:56:10 +00:00
Éric Lemoine
88633684a1 Make Heka collect Swift logs
Partially implements: blueprint heka
Change-Id: I893a0c4a4cab9d4d98821634ddd2ff67015c4e3f
2016-02-19 21:56:05 +00:00
Éric Lemoine
a2b130d6ba Make Heka collect Neutron logs
Partially implements: blueprint heka
Change-Id: I70e94f4ef7380c6f376a3066d7ddda042c703637
2016-02-19 21:49:21 +00:00
Éric Lemoine
684873b89b Make Heka collect Keystone logs
Partially implements: blueprint heka
Change-Id: I940143876981a04464af67aff65c09a06926701d
2016-02-19 21:49:21 +00:00
Éric Lemoine
b16724e09a Add Heka log decoder for Keystone/Apache
Partially implements: blueprint heka
Change-Id: I562dddcfa75f3a814874f7735d735416d9aa7803
2016-02-19 21:49:21 +00:00
Éric Lemoine
0251ac73d5 Make Ansible write its logs into "kolla_logs"
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-19 21:49:21 +00:00