135 Commits

Author SHA1 Message Date
Jenkins
8297596c81 Merge "Add panko.conf file in ceilometer container" 2017-04-19 15:08:54 +00:00
Jeffrey Zhang
0defa3b3ea Add panko.conf file in ceilometer container
When using panko event dispatcher and publisher in ceilometer, it
depends on panko.conf file.

Change-Id: Ie91c072b233597758955b70bd526b2603b86e995
Closes-Bug: #1672241
2017-04-19 00:17:02 +08:00
Marcus G K Williams
9badc4de21 Split Openvswitch into own role
Creates Openvswitch role and splits
openvswitch from Neutron role to enable
third party networking solutions that use
Openvswitch or customize Openvswitch.
For example Openvswitch with dpdk or
OpenDaylight.

Change-Id: I5a41c42c5ec0a5e6999b2570ddac0f5efc3102ee
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Partially-Implements: blueprint opendaylight-support
2017-04-11 16:15:35 -07:00
root
2364bee3cc Add zun ansible role
Change-Id: I13cf03d6a97fb94dd7cb309e99a417ad101dc21a
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Partially-implements: bp add-zun-ansible-role
2017-03-30 04:15:17 -04:00
Jenkins
d860cefd51 Merge "Disable running playbooks in serial by default" 2017-03-08 16:51:13 +00:00
Jeffrey Zhang
cad7fc35f7 Disable running playbooks in serial by default
Run playbooks in serial are unnecessary and may cause some issue. This
patch disables serial.

This patch also removes the serial for MariaDB playbook. MariaDB handle
this internally.

Partial-Bug: #1668185
Change-Id: I3b4216dd82607475e9bd9b44590b631be4abdbdd
2017-03-08 21:27:29 +08:00
Jeffrey Zhang
d06efcecc5 Fix booting from volume failure
Booting from volume require cinder's ceph client secret now. Move cinder
before nova in site.yml, because nova depends on cinder ceph client key
now.

Change-Id: I01c9ed80843d98305b8963894c4917c21a35d3ac
Closes-Bug: #1670676
2017-03-08 21:16:06 +08:00
Paul Bourke
c62aae6f80 Disable unneeded fact gathering
We explicitly gather facts for all nodes up front in the playbook, so
setup tasks for all other plays are unnecessary noise.

Change-Id: I4bc152288752da780b5cb447b4ad3f7d49390dee
2017-02-28 14:42:55 +00:00
caoyuan
37e173d708 Update the panko location of site.yml
The panko database type can be mongodb, so the panko container should
boot after mongodb

Change-Id: Ide3a90a4882197bf361c794dccccbc195b89e5bb
Closes-Bug: #1668206
2017-02-27 09:37:27 +00:00
Charlie Kang
0012dec455 Move Kuryr to start after neutron has started
ERROR kuryr EndpointNotFound: public endpoint for network service not found

Closes-Bug: 1664351

Change-Id: I5dec28f42c362d2143a7e56f4187a28afa6e0142
2017-02-13 23:18:31 +00:00
Jenkins
463e5a2f1c Merge "Run detect openstack_release variable play always" 2017-01-31 14:12:42 +00:00
Jenkins
2157d9787a Merge "Add freezer ansible role" 2017-01-27 12:12:52 +00:00
caowei
9c82ed8071 Add freezer ansible role
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: I419f7ceb219ea9643cfd225c130018f967ddd860
Partially-implements: bp freezer-ansible-role
2017-01-27 11:19:13 +00:00
Jeffrey Zhang
18f98a7747 Run detect openstack_release variable play always
Change-Id: I04b67213cc9c4a8819751b09ea2b88eb69153ab5
2017-01-25 16:30:08 +08:00
Jeffrey Zhang
093d2828fc Add chrony ansible role
Change-Id: I49503275a8b3700185ee0395d9beee7397f5fccf
Implements: blueprint add-chrony-service
2017-01-22 22:15:21 +08:00
Jeffrey Zhang
2d32083a27 Detect openstack_release variable when it auto
Get openstack_release variable from kolla-ansible version number when it
is auto.

Change-Id: Ibd0d8f85aed9d8198218c0dc85c367b331815100
2017-01-20 04:34:21 +00:00
caowei
4c2da9e6d1 Add karbor ansible role
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: zhangshuai <446077695@qq.com>
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>

Change-Id: I7aebe544e3495767d6389dbf220d633a98c137da
Partially-implements: bp karbor-ansible-role
2016-12-21 01:53:20 +08: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
junbo
d4f4134e35 Integrate ceph-rgw with keystone
this patch change ceph-rgw configuration and add object-store endpoint.

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

Change-Id: I3ae4171c69bec52846c92a5e5618c12cf36d4409
Implements: blueprint radosgw-keystone-integration
2016-12-15 08:05:11 +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
Jeffrey Zhang
eaa1af8f73 Add lost roles field in octavia
* the roles field is lost when implementing. This patch adds the field
* add enable_octavia example in globas.yml file

Change-Id: I94c33f78afafc903779c9f3bdb051fca39206211
Implements: blueprint octavia-ansible-role
2016-12-13 14:16:06 +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
Jeffrey Zhang
8e46c7d985 Add name for tacker playbook
Change-Id: I5c9fc09097e061aef55dc92606be159b8bfa357e
2016-12-07 00:30:14 +08:00
Jenkins
09a0319a92 Merge "Give plays in the playbooks a name" 2016-12-06 15:43:46 +00:00
Christian Berendt
4c39f2e9fc Give plays in the playbooks a name
Change-Id: I44c2668a8ebb6dd3201a6eb4e47284871380e6d7
2016-12-05 15:40:56 +00: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
Jenkins
89dcde15ff Merge "Add solum ansible role" 2016-11-29 16:32:53 +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
zhubingbing
195a32b1e9 Add trove role
Add trove enable options and port configuration
Add trove groups to ansible inventory
Add defaults/main.yml
Add bootstrap Ansible task
Add config Ansible task
Add deploy Ansible task
Add pull Ansible task
Add register Ansible task
Add start Ansible task
Add upgrade Ansible task
Add reconfigure Ansible task
Add templatized json and .conf files for trove
Integrate trove with haproxy
Reference installation configuration link:http://docs.openstack.org/mitaka/install-guide-rdo/trove-install.html

Change-Id: I0bc6edbf2e495ce377f994f793bde979d5c55dbf
Implements: blueprint ansible-trove
2016-11-24 03:02:27 +00:00
Paul Bourke
cf81958f66 Fix fact gathering when using --limit
If an operator wants to deploy a single node (e.g. add an additional
compute), they may want to use the --limit feature of Ansible to avoid
waiting for every play across every node.

The problem with this is that --limit will gather facts for that node
only, causing template errors such as the infamous ('dict object' has no
attribute u'ansible_eth0'").

Ansible has catered to this problem to an extent with it's
"delegate_facts" mechanism. The only problem is that in the default 'all
nodes' case, we end up with a storm of SSHs as each node SSHs to every
other. I'm solving this with a separate task to only use this mechanism
when a subset of nodes has been specified (see ansible_play_batch).

Useful links on this subject:
- https://medium.com/@george.shuklin/perfecting-forced-fact-gathering-in-ansible-1611f9c8d0d5#.tr5zs3e7x
- http://docs.ansible.com/ansible/playbooks_delegation.html#delegated-facts

Change-Id: Ibb691eae15cacd9e5129ae9280fd296f5ba95940
Closes-Bug: 1642004
2016-11-16 11:32:33 +00:00
Jenkins
80c4d7e401 Merge "Add manila-data service" 2016-11-03 12:25:33 +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
Mauricio Lima
d62552463f Add manila-data service
Change-Id: Ie82f1dd7773ef2cc2c6724ec0b5f78ebd79566ee
Closes-Bug: #1635370
2016-10-27 11:47:04 -03:00
Mauricio Lima
56a9c9ad2d Add serial for searchlight
Change-Id: If83e802fbed98b41f3bc201f0083a4a4ab0852c0
Closes-Bug: #1635678
2016-10-21 14:28:22 -03:00
Jenkins
27b0c907b5 Merge "Ironic should be started before nova-ironic-compute" 2016-10-20 16:05:07 +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
c72b9cfffc Ironic should be started before nova-ironic-compute
nova-ironic-compute will try to connect ironic-api service. So ironic
should be started first.

TrivialFix

Change-Id: I23ba5724d86e3b7a06f7f7d112ee1ac84a2cda03
2016-10-18 11:15:48 +08: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
Jenkins
ea7b268242 Merge "Remove ansible serial: option for haproxy and rabbitmq." 2016-09-22 08:01:06 +00:00
James McCarthy
d5e5700fab Remove ansible serial: option for haproxy and rabbitmq.
By having serial in site.yml for these roles will mean (particularly
during an upgrade) that tasks can be executed out of the intended
order across hosts, leading to unexpected results.

Change-Id: I44f0c66c445d853a2e4af69119562f13b4424936
Closes-Bug: #1626096
2016-09-21 14:34:37 +01:00
Vladislav Belogrudov
b1f986c349 Cinder cannot use external non-LVM iSCSI storage
Currently Cinder enables iscsid service only when LVM is choosen as
backend. This fix will allow to specify external iSCSI storage via
configuration add-on and to run iscsid independently of LVM settings.

Change-Id: Iaae0f8025534e5ab1c5f9d5e812a7d41129915ef
Closes-Bug: 1614125
2016-09-21 12:28:07 +00:00
Jeffrey Zhang
e328ada3bd Optimized the serial upgrade and reconfigure
* add serial for reconfigure
* set playbook serial by using variable
* fix serial for barbican, influxdb and vmtp

Closes-Bug: #1624607
Change-Id: I66530c7736e1673a592eddbde75637825d12d9e2
2016-09-17 04:08:58 +00:00
Hui Kang
0d28b311eb Add Kuryr ansible role
Change-Id: I7134bffab940ee780e5f5010d639af56f97b41d6
Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com>
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: Antoni Segura Puimedon <antonisp@celebdor.com>
Partially-implements: bp kuryr-docker-plugin
2016-09-15 23:47:22 +00:00
Jenkins
97c99a9214 Merge "Add etcd ansible role" 2016-09-15 22:21:27 +00:00
Jenkins
ca623efa5b Merge "Integrate neutron-vpnaas-agent into the neutron Ansible role" 2016-09-15 21:11:57 +00:00
Christian Berendt
be0fcb5b99 Integrate neutron-vpnaas-agent into the neutron Ansible role
Implements: blueprint neutron-vpnaas-agent
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Change-Id: I1fae21f48d5beef47934aef7c23910536955f2b8
2016-09-15 05:07:46 +00:00
Hui Kang
a5b53f3a70 Add etcd ansible role
Change-Id: If8351ab3000006323a05924e907f1e3745768304
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>>
Partially-implements: bp kuryr-docker-plugin
2016-09-15 03:33:57 +00:00
Jenkins
d2b64b4473 Merge "Add ansible role for vmtp container" 2016-09-15 02:44:38 +00:00