177 Commits

Author SHA1 Message Date
jianyi
91ba1624ec [TrivialFix] Alphabetical sorting optimization
Change-Id: Ic7ee1b84456d17d0b17b377391a4ad480abe3ab8
2017-01-10 08:56:58 +00:00
Jenkins
8fdfc403ea Merge "add panko role" 2017-01-06 19:33:28 +00:00
Ross Krumbeck
a9ade20bee Ansible-ize OpenStack Designate
Implement ansible role to deploy designate
and dependencies. The backend used is bind9.

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>

Depends-On: 6d0dc3e0f931c7c50b64a4659900cc50b0d860a2
Implements: blueprint ansible-designate
Change-Id: I34d8126e0cd8d71d5ced9b62f3776cc354fbb549
2017-01-05 14:34:15 +00:00
zhubingbing
3e7ed2c42c add panko role
Change-Id: I515fdcdf6093e9e59dbbdc97221d23ed7f4e0a3d
Partially-Implements: blueprint add-panko-ansible-role
2016-12-15 08:01:50 +00:00
Jenkins
e1e73ac570 Merge "Implement octavia ansible role" 2016-12-13 03:33:46 +00:00
Jeffrey Zhang
7f89522b94 Implement octavia ansible role
Change-Id: Ic72b49275627aff239b23e9862966923555a464f
Implements: blueprint octavia-ansible-role
2016-12-12 16:27:34 +08:00
jackning
4396cae2b8 Fix can't generate heka-custom.toml on multi-nodes
Original we judge heka-custom.toml whether exists with stat: path=
method, but if deploy on multi-nodes, should add local_action.

Change-Id: Id4a124499d1db03b16cb8af231a394b53fe44cbf
Closes-Bug: #1646732
2016-12-08 17:50:17 +08:00
Eduardo Gonzalez
79df5d84f8 Tacker NFV Ansible support
Add Ansible configuration for Tacker NFV service

Change-Id: I472d96e13a5270d1ee219c2f72f57d9c361f87a6
Partially-Implements: blueprint tacker-support
2016-11-29 17:19:21 +00:00
caowei
90f2b7cd06 Add solum ansible role
Change-Id: I07f2df405574b55daa44fa381625e8be0c352607
Partially-implements: bp solum-ansible-role
2016-11-25 06:14:51 +08:00
Javier Castillo Alcíbar
31eac33ddb Fix ceilometer not sending logs to heka
ceilometer is not sending logs to heka because no heka-ceilometer.toml is created.
Updated templates files.

Change-Id: I69f3d93377c6c51d22f37ed120800f7489f5a8a0
Closes-Bug: #1642665
2016-11-22 09:08:38 +01:00
Sean Mooney
c4107ed723 corrects invalid logrotate option maxsize
- logrotate does not have a maxsize option.
  while logrotate supports a minsize option its
  couterpart is size.
- This chage replaces the use of maxsize with size
  in cron-logrotate-global.conf.j2

Change-Id: I381c52e8a866b74b5f2c3b38a2c87f74c48c05e1
Closes-Bug: #1640196
2016-11-08 15:08:22 +00:00
prameswar
f3996f1657 Adding logrotate configuration for ceilometer
Closes-bug: #1635316

Change-Id: I3195518f1ee52249bc6259d3cab0f479f5522df1
2016-11-06 06:40:48 +00:00
Jenkins
705226de74 Merge "add grafana log in heka" 2016-11-04 14:28:24 +00:00
Jeffrey Zhang
dd50d68676 Add OS_CACERT in openrc when it is configured
TrivialFix

Change-Id: I5750645d63c27d3778df27ca090ceccbc08d5eef
2016-11-04 07:23:16 +00:00
Jeffrey Zhang
fa45801946 Move precheck into its own role
* Merge prechecks.yml and site.yml playbook
* Create empty precheck.yml into all roles.

Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd
Implements: blueprint condition-pre-check
2016-11-03 14:48:58 +08:00
Jenkins
807eab2b36 Merge "Add logrotate configuration for elasticsearch" 2016-10-21 11:08:31 +00:00
Christian Berendt
8775123b23 Add logrotate configuration for elasticsearch
Change-Id: I6af9935e46dcd3c2f9ea18545e059e055b840d90
Closes-bug: #1634223
2016-10-19 22:23:10 +02:00
Jenkins
464b8fdc39 Merge "Support searchlight ansible role" 2016-10-19 18:25:45 +00:00
liyingjun
ec57f589c4 Support searchlight ansible role
Searchlight is an Openstack search and index service, this patch
implements the ansible role for searchlight.

Implement blueprint: support-searchlight-deployment

Change-Id: Ibf42d5b259a6740d6596041f896e1009657b7388
2016-10-19 05:57:53 +00:00
Jeffrey Zhang
b76a58a44e Fix wrong log permission for services collected through syslog
Change-Id: I3b1ddffde2ffd9a2b777d99c552550cda324c570
Partial-Bug: #1631503
2016-10-19 03:12:18 +08:00
Serguei Bezverkhi
46b41d2fad Adding kubetoolbox image
This PS adds kubetoolbox image which is required for Kubernetes
fencing pod. This image includes, kubectl binary, ceph-common and ipmi.

Change-Id: I17b2a47b95ed7dea391f1427a41c92b15c97986d
Partially-Implements: blueprint kubernetes-toolbox
2016-10-18 14:03:44 -04:00
Jenkins
15e686dc9f Merge "Adds Fluentd docker image required for kolla-kube" 2016-10-18 13:22:30 +00:00
Jenkins
81e20c7291 Merge "Fix common role upgrade permission issue" 2016-10-17 18:01:27 +00:00
Jenkins
580fcde959 Merge "Fix stale namespace removal issue" 2016-10-17 16:48:00 +00:00
Jeffrey Zhang
ecab56a182 Fix common role upgrade permission issue
Change-Id: I0f989b8a0ebd30424f71619981775d75ff1db691
Partial-Bug: #1631503
2016-10-17 14:14:09 +08:00
bjolo
e29a09df23 fix cron logrotate for sahara
sahara.conf was not copied over to target nodes. Prevented cron container from starting

Change-Id: I98ad65ad1541e1a64fb5762571556e2661611ff2
Closes-Bug: #1631944
2016-10-16 21:19:50 +02:00
Jeffrey Zhang
ce5a11a374 Fix stale namespace removal issue
When using both /run and /run/netns in docker container, mount
propagation won't work when delete namespace after the containers are
restarted. This PS makes /run mount as shared.

Closes-Bug: #1616268
Change-Id: Ie16699e1b193b2bf1263d89ea634e89ea69add9e
2016-10-15 01:49:13 +08:00
Jenkins
1165246bb7 Merge "copy iscsid logrotate config" 2016-10-13 16:38:34 +00:00
Jenkins
45b0f2cf63 Merge "Remove do_reconfigure.yml file for all roles" 2016-10-13 16:20:30 +00:00
Waldemar Znoinski
223524b5dc copy iscsid logrotate config
This change adds copying iscsid logrotate
conf file for config task in common role.

Closes-bug: #1633127
Change-Id: I7da1f9ff794ed62f1baf70c04a2f6d0ca8d426aa
2016-10-13 15:51:35 +00:00
Jenkins
dae88516fc Merge "set basic kolla structures for iscsid" 2016-10-13 14:06:28 +00:00
Waldemar Znoinski
96016b756b set basic kolla structures for iscsid
* enable iscsid when ironic is enabled
* update sample inventory files with above
* add logrotate conf template for iscsid
* add 'common' role dependency for iscsi role

Change-Id: I3054b9139a43542febf26c3ce9a71b65f2fcdd84
Closes-bug: #1632850
2016-10-13 10:49:32 +00:00
Serguei Bezverkhi
749679448a Adds Fluentd docker image required for kolla-kube
This PS adds Fluentd docker image to Kolla. Kolla
currently does not use Fluentd for log collection, but this image
is required for Kubernetes centralized logging solution.

Change-Id: I719661d75f5044239a1fd52080d322c77490ecae
Partially_Implements: blueprint kubernetes-images
2016-10-12 13:32:23 -04:00
zhubingbing
504852d528 add grafana log in heka
Change-Id: I38b57cc43411b703dbb0639a600aaef58e01bc38
Closes-Bug: #1631818
2016-10-10 15:17:04 +00:00
Ryan Hallisey
7fa1a08fd2 Remove unneeded Heka bootstrapping code
The Heka bookstrap doesn't do anything different then
the start code.  Remove the boostrap step since it isn't
needed.

Change-Id: Id9906c6e2cef83fd6d1fcbcbef7a32d9948d07a3
Closes-bug: #1631651
2016-10-08 18:39:29 -04:00
Jenkins
16294f0d00 Merge "fix can't collect horizon log in heka" 2016-10-08 15:16:30 +00:00
Jenkins
9a35c0e679 Merge "add sahara log in heka" 2016-10-08 07:42:53 +00:00
zhubingbing
b46d625b52 add sahara log in heka
Closes-Bug: #1631286

Change-Id: I874913a08e932766d9517bf4740de94146d7b5fb
2016-10-07 13:18:03 +00:00
zhubingbing
e4e842be40 fix can't collect horizon log in heka
Change-Id: Idecb70e90ae560d1c41756e3617225556087dd19
Closes-Bug: #1631048
2016-10-07 02:57:15 +00:00
Paul Bourke
dcd8dda99f Heka template missing optional params
If enable_rabbitmq or enable_keystone are false, the configs will not be
copied to target nodes for these. This resulted in Heka failing to
start.

Change-Id: I93d15534802b671f1f42e8b2dfb523a17526ffb7
Closes-Bug: #1630613
2016-10-05 15:30:38 +01:00
Jenkins
b482611a2d Merge "Remove redundant common play and add haproxy hosts" 2016-10-03 13:34:42 +00:00
Andrew Widdersheim
4963898b21 Remove redundant common play and add haproxy hosts
In cf0c25c37 [0] a play was added to run the common role against all
hosts. This ends up being redundant since every role includes the common
role as a dependancy. The reasoning behind this change as pointed out by
the author in the review comments [1] was so that an operator could run
with '--tags common' and just have the common role applied.

To avoid redundancy, the common play has been removed and tags have been
added to the common role. This allows for just the common role to run
when another role is including it while reducing redundancy.

A side affect of removing the common playbook which runs against all
hosts is that not all facts on all hosts are gathered at the beginning
of the site.yml. This breaks the haproxy role since it relies heavily on
facts to build out the haproxy.cfg file.

Previously, the haproxy role would include several hosts purely for fact
gathering purposes as pointed out in c68c9d95 [2] and a guard was put in
place so that the tasks would only run against the 'haproxy' group. In
423e3f3f [3] these hosts were removed. After reading the review [4],
this seems to have been done without fully understanding why the hosts
were there in the first place.

This change did not break anything however since the common role that
ran on all hosts mentioned previously would gather all of the facts
necessary.

To fix this fact gathering issue replace the common role play with a
play that will simply gather facts with an 'always' tag to ensure it is
run regardless of what might be passed in the '--tags' argument by the
operator.

Kudos to Paul Bourke for helping identify many of these issues.

[0] cf0c25c37d
[1] https://review.openstack.org/#/c/369212/
[2] c68c9d95fc
[3] 423e3f3fdf
[4] https://review.openstack.org/#/c/355861

TrivialFix
Closes-Bug: #1628472

Change-Id: Ia94146579e743935501f1ff4b4c1bf6cb7c43aa3
2016-09-30 11:56:42 -04:00
Jeffrey Zhang
fa856556d5 Remove do_reconfigure.yml file for all roles
do_reconfigure.yml is introduced to use serial directive. But we use
it in wrong. Now serial has moved to playbook file. So it is time to
remove the do_reconfigure.yml file

Closes-Bug: #1628152
Change-Id: I8d42d27e6bc302a0e575b0353956eaef9b2ca9fd
2016-09-27 15:04:00 +00:00
zhubingbing
53451df03e add aodh gnocchi barbican in heka.json.j2
TrivialFix

Change-Id: I956a1d535493e1b6d81ffdf71326f56e81568665
2016-09-27 05:20:50 +00:00
Jeffrey Zhang
0af4dc86bc Fix idempotent for initializing toolbox container task
TrivialFix

Change-Id: I643940d04ec0c2ffeb95816dde5d1438829c7464
2016-09-22 14:06:28 +00:00
Eduardo Gonzalez
3bd180f857 Only enabled services log files
Only enabled services logs should be added to cron container
and be inclued in cron.json.
This PS adds logic to only copy enabled services cron files.

Change-Id: Id6303a4c77a0230599e11be165489ba46dba65e0
Closes-bug: #1623712
2016-09-18 13:21:58 +02:00
Christian Berendt
e771404bc5 Add cloudkitty to heka-openstack.toml.j2
TrivialFix

Change-Id: If995f08d5cc131498739afb48a2406438e806d2a
2016-09-15 12:06:51 +00:00
Jenkins
d3302a7e69 Merge "Add Senlin Ansible role" 2016-09-14 15:01:34 +00:00
Jenkins
1109c25b60 Merge "Fix missing cloudkitty config file for cron container" 2016-09-14 07:20:43 +00:00
Eduardo Gonzalez
abf83650a1 Add Senlin Ansible role
Change-Id: Ic941a396b5cd9abfb5e9941218e91b784f8bba0a
Implements: bp senlin-container
2016-09-14 07:20:22 +02:00