81 Commits

Author SHA1 Message Date
Paul Bourke
43517f48f5 Make service_checks easier to run independently of kolla-ansible
Set a default for CONFIG_DIR in service_checks to more easily allow
consumers not using the kolla-ansible tool to run the prechecks.

Change-Id: I78bc5dd6f37e6a60ecc6a86d43e56b05803a4fd5
Closes-Bug: #1629893
2016-11-16 12:24:18 +00:00
Vladislav Belogrudov
35ac9205a1 Check api_interface instead of network_interface
Precheck tasks test network_interface configuration but services
run at api_interface. Also it makes more sense to start tests
in order "interfaces->addresses->per-service ports".

Change-Id: Iaf4c3cd08be1466b6c710b91653394f22947ee29
Closes-Bug: #1633503
2016-11-06 06:43:51 +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
zhubingbing
4255c3b644
Add kuryr to precheck
TrivialFix
Change-Id: Ia7bfa714521366818d848d924aa728819c97982a
2016-11-02 10:00:37 +08:00
Eduardo Gonzalez
e958d6fdec Add enable service logic in port check
Missing enable_service logic in
searchlight, influxdb and etcd services in port checks

TrivialFix

Change-Id: I6589ecc4a6100d3e564796c9bbebc3ecdf30809f
2016-10-31 20:29:40 +00:00
prameswar
c1d80d3410 grafana added to haproxy to listen on VIP
Closes-bug: #1636579

Change-Id: I5628196885bddebab84abb71c89753582123418c
2016-10-26 15:51:54 +00:00
Jenkins
464b8fdc39 Merge "Support searchlight ansible role" 2016-10-19 18:25:45 +00:00
Jenkins
0756c9981b Merge "Port prechecks only for enabled services" 2016-10-19 15:55:32 +00:00
Jenkins
21bc93af4a Merge "add influxdb to precheck" 2016-10-19 12:19:54 +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
Jenkins
37aa948663 Merge "add etcd to precheck" 2016-10-17 11:31:45 +00:00
Eduardo Gonzalez
d189134870 Port prechecks only for enabled services
This PS adds logic to control when port prechecks
are made depending if the service is enabled or not.
Using conditionals will reduce prechecks role
execution time.

TrivialFix

Change-Id: I81b7359a4d80ac2da169267661f372b9f17e6a8f
2016-10-14 18:29:56 +02:00
Jenkins
b53988a088 Merge "add kibana to precheck" 2016-10-14 11:24:35 +00:00
James McCarthy
64e6e58627 Reorder the interface/network checks.
Perform the interface specific checks first, then do the network
related checks (not the other way around)

TrivialFix

Change-Id: Iae2c9fb9491060f1e33f067c08d22479108c3c98
2016-10-14 10:04:50 +01:00
Jenkins
dbf05f076f Merge "add magnum to precheck" 2016-10-14 08:28:21 +00:00
caoyuan
ec0a7fbdb0 Add watcher checking to port_checks.yml
TrivialFix

Change-Id: Idf2a53025afb53a12cbe3c4e2feed1dd3dddfe02
2016-10-14 15:35:59 +08:00
zhubingbing
982e3bffa3 add magnum to precheck
TrivialFix

Change-Id: Ib9b199c2edcc48972491b46b41ae502953cd8a81
2016-10-14 03:21:41 +00:00
zhubingbing
3c645f1e31 add kibana to precheck
TrivialFix

Change-Id: I47fa57087258bad33ad21033f76f4fb2bf5f6f31
2016-10-14 02:02:39 +00:00
Jenkins
917dccfac8 Merge "add ceilometer congress to precheck.yml" 2016-10-13 16:43:37 +00:00
Jenkins
67237bd081 Merge "Update the location of Glance Registry HAProxy checks" 2016-10-13 15:38:45 +00:00
Jenkins
5b7ee00c16 Merge "fixed kestone fernet prechecks for multinode deployments" 2016-10-05 12:09:50 +00:00
bjolo
ffa6c118e4 fixed kestone fernet prechecks for multinode deployments
command fails since it is a compound command. Changed to a single awk
command instead.

Closes-Bug: #1629206

Change-Id: Id7963b15c3321eca6f891a625b1ba140dc57aa22
2016-10-03 10:14:04 +00:00
Eduardo Gonzalez
a71874f24f Fix mistral service
- Add mistral in HAproxy
- Set mistral api to bind on api_interface
- Fix mistral endpoint
- Add database population on bootstraping
- Add mistral port prechecks

Change-Id: If1617fb9dcd8b3bbd4f94c68ca87c36e39711016
Closes-Bug: #1626570
2016-09-28 17:21:51 +02:00
zhubingbing
9cc8876255 add influxdb to precheck
TrivialFix

Change-Id: I44c267f9083556ae9861298cb64afbf2af371f09
2016-09-28 09:18:54 +00:00
zhubingbing
7633e900c7 add ceilometer congress to precheck.yml
add ceilometer congress  api port check and haproxy check

TrivialFix

Change-Id: I81185ba1346a2f6474ab6482ab9d6396495e3932
2016-09-28 07:44:42 +00:00
zhubingbing
300c2bd3cd add etcd to precheck
add etcd client port and etcd peer port to precheck

TrivialFix

Change-Id: Iac10d82b77c7b38a472e0bea9f1e73c36db775b9
2016-09-28 03:29:55 +00:00
caoyuan
ff708f1304 Update the location of Glance Registry HAProxy checks
TrivialFix

Change-Id: I7957bd4faf391775289a6b0210fadba66b041002
2016-09-28 11:13:30 +08:00
Jenkins
6015d5354f Merge "Add aodh checking to port_checks.yml" 2016-09-27 13:56:45 +00:00
Jenkins
740e68ccaa Merge "add sahara port prechecks" 2016-09-27 09:48:05 +00:00
caoyuan
aa436c5b26 Add aodh checking to port_checks.yml
TrivialFix

Change-Id: I5c9cb7a142baaa398efb215db7b74b32c392dae0
2016-09-27 16:47:54 +08:00
zhubingbing
01d16a8506 add sahara port prechecks
add check sahara prot and api haproxy in port_checks.yml

TrivialFix

Change-Id: I50ad7b0308a2a2f13d575efb0dfdb5385d372904
2016-09-27 08:07:19 +00:00
zhubingbing
c1d686febe add cloudkitty port prechecks
add check cloudkitty prot and api haproxy in port_checks.yml

TrivialFix

Change-Id: I517a3e3becdc05cb0a5afeaff897ccd63813de09
2016-09-26 07:38:06 +00:00
Jenkins
5e0fe095b0 Merge "Add "---" into some files of yaml" 2016-09-21 15:11:32 +00:00
Jenkins
389f31e9e5 Merge "Use ansible_version when available for precheck" 2016-09-21 13:44:51 +00:00
caoyuan
a071bce07b Add "---" into some files of yaml
TrivialFix

Change-Id: Id2cd736f136068514f26977b434b15a8b1ffc8be
2016-09-21 11:52:20 +00:00
bjolo
c28a0cff7e run_once Checking mongodb backend for ceilometer
TrivialFix

Change-Id: I54151df7f869e0a7915ce6361eda8dfefe5d1870
2016-09-19 21:07:44 +02:00
Andrew Widdersheim
e775958354 Use ansible_version when available for precheck
Use the ansible_version variable introduced in Ansible 1.8. It is a far
more accurate check.

TrivialFix

Change-Id: I1265ca3de583ff6f9335b8e5e8fe4ea4aadf565b
2016-09-19 12:33:50 -04:00
bjolo
10bfda6240 Checking valid fernet expiry only need to run once
TrivialFix

Change-Id: I4e84ac4e51a976ad132aa78b175855bed1d4bb20
2016-09-19 15:21:57 +00:00
Eduardo Gonzalez
abf83650a1 Add Senlin Ansible role
Change-Id: Ic941a396b5cd9abfb5e9941218e91b784f8bba0a
Implements: bp senlin-container
2016-09-14 07:20:22 +02:00
Paul Bourke
233090300e Check volume group exists for Cinder in prechecks
Add a service check for Cinder when using iscsi/LVM, that the
appropriate volume group exists.

TrivialFix

Change-Id: I54e01911709db73549334760498b4246fe6271d7
Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com>
2016-09-13 16:39:56 +01:00
Jenkins
6b3456bf36 Merge "Add Barbican ansible role" 2016-09-13 05:14:32 +00:00
zhubingbing
e0537385d0 Add Barbican ansible role
Partially-Implements: blueprint barbican-ansible

Change-Id: Id6be35b1d0527d5c38d4ea8576b233ebcc404718
2016-09-13 02:56:27 +00:00
Jenkins
e1b9608733 Merge "Add Checking free port for Manila API" 2016-09-12 18:38:28 +00:00
Paul Bourke
82f6d3f44b Allow mysql to be used as a database for Ceilometer
MongoDB is still default.

Refer to
http://docs.openstack.org/developer/ceilometer/install/dbreco.html for
more info on Ceilometer database backends.

Closes-Bug: #1622532

Change-Id: Iaf84f9efe0537f42797f4bb7ba2a3611835cc84e
2016-09-12 11:41:35 +00:00
Mauricio Lima
ffe56f8b1d Add Checking free port for Manila API
TrivialFix

Change-Id: I583e1a5a2563b0b0617b5ab0c304fe2092d827bc
2016-09-08 10:22:23 -04:00
zhubingbing
89392f4f6a Add gnocchi ansible role
Partially-Implements: blueprint ansible-gnocchi

Change-Id: I8dd0460bd21ac0a233fab0142ec7b6079459bdc2
2016-09-06 13:17:47 +00:00
liyingjun
c6dd71411a Add precheck for ceilometer backend
Currently when set enable_ceilometer: true and enable_mongodb: no,
the deploy will fail with ceilometer database creating error.
Add a precheck to avoid this situation in both prechecks and bootstrap.

Change-Id: I2d46ef9adeb8e028f3c18e6bc2d3752cc39bcb29
Closes-bug: #1605522
2016-09-01 23:23:28 +08:00
liyingjun
c5668bd50a Add option to support dhcp/l3 agent ha
New option enable_neutron_agent_ha added to enable/disable dhcp/l3 agent
high availability, dhcp_agents_per_network is default to 2 and it's
configurable.

Implement blueprint: support-network-ha

Change-Id: Id4742aa67c80584634b923195545bf2b654172f3
2016-08-31 16:31:07 +08:00
Jenkins
1ea09d0752 Merge "Add full support for fernet" 2016-08-26 19:50:58 +00:00
Paul Bourke
6c238ca3bf Move rabbitmq precheck from start
rabbitmq's start task contains a precheck. This should be part of the
other prechecks for consistency

TrivialFix

Change-Id: I7728ec3f5be3248424d74a4387925b72114b8943
2016-08-26 16:18:04 +01:00