1884 Commits

Author SHA1 Message Date
Duong Ha-Quang
b5d1e4b457 Fix placement of policy.json
Currently, policy.json is put in
"{{ node_config_directory }}/{{ service_name }}"
in target nodes.

Relocation policy.json to "{{ node_config_directory }}/{{ item }}"
with item is corresponding service compoment config directory.

Currently, the policy.json is copied to all services, but it
should be reviewed and left only in neccesary service
(at many cases, only API service needs that).

Redundant files will be removed in follow up patchset.

Change-Id: I0e997dccf4ec438c9c0436db71ec2fd06650f50d
Closes-Bug: #1639686
2016-11-29 16:00:09 +07:00
Jenkins
869febe43e Merge "Deprecate scheduler_max_attempts option in nova" 2016-11-29 07:59:56 +00:00
Jenkins
7cefb007b2 Merge "Icrease haproxy timeouts for mysql connections" 2016-11-29 07:59:03 +00:00
Mauricio Lima
8a34f246ad Load manila-ui in horizon
Change-Id: I082c0a694eb138938abec2f4bc09002fd1d0ef9d
2016-11-28 10:01:05 -03:00
Vladislav Belogrudov
d2c4f3d14a Icrease haproxy timeouts for mysql connections
Haproxy often breaks mysql connections that results in
"MySQL server has gone away" or similar because of 1 minute
timeouts. Instead the timeouts should be not less than mysql
connections timeouts - in most cases set to 3600s by default
by OpenStack projects.

Change-Id: Ic364f6942cdc6c2f274a508ae548bf964b098da4
Closes-Bug: #1645098
2016-11-27 17:41:03 +00:00
Jenkins
1c09a1fab7 Merge "Notification needed for searchlight" 2016-11-27 14:29:44 +00:00
Jenkins
5a4cb8a56f Merge "Revert "updating-deprecated-ansible-modules"" 2016-11-27 07:34:20 +00:00
Jenkins
09d09d4fc1 Merge "Add trove role" 2016-11-25 16:04:31 +00:00
Eduardo Gonzalez
f56d8e58ba Revert "updating-deprecated-ansible-modules"
check_mode option is included in Ansible 2.2.
Using in our playbooks mean that any other version before
Ansible 2.2 can be used

This reverts commit 529f202d00e4615caa1fcb447aaa47fde6aa1417.

Change-Id: I3af96290443d760346264e6d994fd2a44de65543
Closes-Bug: #1644828
2016-11-25 14:41:38 +00:00
Jenkins
4aa693f2fd Merge "Update Barbican to use correct mysql connection string" 2016-11-24 15:56:36 +00:00
Jenkins
c77439e660 Merge "Make sure ceilometer/service_credentials wotks with internalURL" 2016-11-24 14:25:42 +00:00
Jenkins
08e8147a69 Merge "Add blank space to deploy.yml file" 2016-11-24 14:24:50 +00: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
Jenkins
6662a5aa05 Merge "Pull swift-object-expirer image" 2016-11-23 06:49:18 +00:00
Jenkins
da1cfc6af0 Merge "Fix congress broken" 2016-11-23 02:06:36 +00:00
Eduardo Gonzalez
13e98d8e1a Pull swift-object-expirer image
Add pull task for object-expirer image.

Change-Id: Icc3cb3111e3b78545678e011f7321ba623ec85c2
Closes-Bug: #1643741
2016-11-22 17:41:00 +00:00
Javier Castillo Alcíbar
b13c40f586 Make sure ceilometer/service_credentials wotks with internalURL
When configuring kolla with

 - kolla_enable_tls_external: "yes"

ceilometer service credential defaults to publicURL.

Ceilometer should work with the internal interface (v3 API Identity syntax):

.....
[service_credentials]
interface = internal
.....

Change-Id: I898ffb2b901f08b810756d80dbb988d8c9298219
Closes-Bug: #1643860
2016-11-22 16:21:48 +01:00
Jenkins
06c001e405 Merge "fix ci gate" 2016-11-22 11:43:36 +00:00
Jenkins
d862bedca7 Merge "updating-deprecated-ansible-modules" 2016-11-22 11:08:01 +00:00
Jenkins
72f8d10bd0 Merge "Fix ceilometer not sending logs to heka" 2016-11-22 11:05:47 +00:00
zhubingbing
4ef58c1e02 Fix congress broken
Change-Id: I25c426646ed7de88e3468c6f6923fe6dc72ab028
Closes-Bug: #1634641
2016-11-22 09:10:51 +00: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
Jenkins
8991403878 Merge "Fix network configuration for cloudkitty" 2016-11-22 07:58:37 +00:00
Jenkins
7abbecda30 Merge "Fix fact gathering when using --limit" 2016-11-22 07:55:53 +00:00
gardlt
529f202d00 updating-deprecated-ansible-modules
* update ceph tasks
* update mariadb tasks
Closes-Bug: #1643633

Change-Id: Ib81789574843edba6e33394a7f66a2e8077075eb
2016-11-21 21:52:26 -06:00
liyingjun
d35be61bce Fix network configuration for cloudkitty
network_* and should be replaced with network.* [1]

[1]: https://github.com/openstack/cloudkitty/blob/master/etc/cloudkitty/cloudkitty.conf.sample#L126

Closes-bug: #1641940
Change-Id: I2a151898a58bae6a31f2e133aa3a6ee1b3cc7b09
2016-11-21 21:07:50 +08:00
Jeffrey Zhang
db5954e0b3 fix ci gate
* Build kolla image by using kolla project's code
* bump openstack_release to 4.0.0
* Remove tox deploy related env, it is useless now.

Depends-On: I132ee005bce993cbadf411697817c2e95548dc81
Change-Id: Id899eb39d476b95130fbeb43adf4fd49ef32be32
2016-11-21 19:26:44 +08:00
liyingjun
0af48d30a1 Notification needed for searchlight
Needs to enable notifications for services when enabling searchlight
[1][2][3][4]

[1]
http://docs.openstack.org/developer/searchlight/plugins/cinder.html#cinder-conf
[2]
http://docs.openstack.org/developer/searchlight/plugins/glance.html#glance-configuration
[3]
http://docs.openstack.org/developer/searchlight/plugins/neutron.html#neutron-configuration
[4]
http://docs.openstack.org/developer/searchlight/plugins/nova.html#nova-configuration

Change-Id: Id2167d901ac3d65599e54feb1b2d1818d2a633c9
Closes-bug: #1643393
2016-11-21 10:12:55 +08:00
Jenkins
62c1b4f89c Merge "typo error of keyring spelling" 2016-11-20 14:55:12 +00:00
Narasimha SV
2f0b57229c typo error of keyring spelling
In destination path gnocchi keyring file, keyring spelling is
written as keryring.

Change-Id: I8e0ad26dec9a61206692b0f3f2de7b318ded172d
Closes-Bug: #1642621
2016-11-18 04:12:48 -05:00
zeyu zhu
c8f6d925cd Add blank space to deploy.yml file
TrivialFix

Change-Id: I2ba1e29cbebaa78edf50f21ff8089f0b5cacc830
2016-11-18 14:46:12 +08:00
bjorn lofdahl
281a8547b1 Fix neutron.conf.j2 metadata_workers spelling error
Change-Id: I8dbb25d643ab8da2b049f70d28bdd0839b9f2605
Closes-Bug: #1641591
(cherry picked from commit 2f0d4ccee32df4999e0b50a327a9df2c2ac55971)
2016-11-18 11:18:08 +08:00
portdirect
200dbafb1c Update Barbican to use correct mysql connection string
PyMySQL is prefered to PythonMySQL for Sqlalchemy, as it provides
python3 support and is actively maintained, and is therefore the
currently recommended lib for db connections.
 * https://wiki.openstack.org/wiki/PyMySQL_evaluation

Kolla currently uses PyMySQL for all connections bar Barbican
(which works fine with PyMySQL): once this commit is merged it will
be possible to remove the PythonMySQL libs, and mysql libs for kolla
images (except kolla-toolbox).

TrivialFix

Change-Id: Id256387134ca551a181c5e49c9b6d63f62b72523
2016-11-17 14:27:47 +00:00
ZhongShengping
a249d15d00 Deprecate scheduler_max_attempts option in nova
Option "scheduler_max_attempts" from group "DEFAULT" is deprecated.
Use option "max_attempts" from group "scheduler".

Change-Id: I7b8e803c3579c53629a63912e2f6faa65a31f098
Closes-Bug: #1642590
2016-11-17 21:38:03 +08:00
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
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
Mauricio Lima
7bb88390d8 Fix copying nfs_shares configuration
Using the `when` conditional on a `with_` loop gets evaluated on each
loop iteration and will not skip a task entirely. Use the `skip`
attribute to ignore errors in this scenario but only `skip` when
`enable_cinder_backend_nfs` is not enabled. If it is enabled the
`nfs_shares` file should be required and this task should fail if it
does not exist.

Co-authored-by: Andrew Widdersheim <amwiddersheim@gmail.com>
Change-Id: I6b997dd943efe7b16beb63899c1488fa5353d996
Closes-Bug: #1641183
2016-11-11 14:33:26 -05:00
Jenkins
7178e13d78 Merge "Allow cinder-volume to be configured to use NFS" 2016-11-11 16:58:30 +00:00
Jenkins
d389d7aacf Merge "Exclude port from ceilometer_database_mysql_address" 2016-11-11 13:07:15 +00:00
Jenkins
73e232944c Merge "Add kolla_logs volume to kibana container" 2016-11-11 13:07:08 +00:00
Jenkins
b94588a520 Merge "corrects invalid logrotate option maxsize" 2016-11-11 13:07:00 +00:00
Jenkins
08b8fa34ee Merge "Use horizon_logging_debug variable" 2016-11-11 13:06:30 +00:00
Jenkins
24e1d13293 Merge "Move manila-share service to network node" 2016-11-11 13:06:22 +00:00
Jenkins
dbb0ade6d1 Merge "Use uuid as keystone default token provider" 2016-11-11 08:01:04 +00:00
Jenkins
88fc252bc0 Merge "Fix neutron lbaas dashboard" 2016-11-11 06:20:33 +00:00
Jenkins
8ca934139e Merge "Corrects typo "mondodb_port" in ceilometer" 2016-11-11 04:49:35 +00:00
Jeffrey Zhang
fc54163319 Use uuid as keystone default token provider
Keystone uses fernet as default provider in its code now. This patch
adds provider=token in keystone.conf file explicitly.

TrivialFix

Change-Id: Id7142ff4f00ee99579ad420573eafefea0f4dcb7
2016-11-11 12:42:47 +08:00
Jenkins
3ec8e33a17 Merge "Uses tunnel_interface as ovs tunnel instead of api_interface" 2016-11-10 19:46:01 +00:00
Farid Da Encarnacao
db99a79c02 Corrects typo "mondodb_port" in ceilometer
Closes-Bug: 1640872

Change-Id: I3bd979af5626d016ec79696ab157e376476f5d28
2016-11-10 18:45:52 +00:00
Mauricio Lima
c16a130510 Use horizon_logging_debug variable
TrivialFix

Change-Id: Ic474306223b9c6f5fa730ef765ca60c59d76f24b
2016-11-10 11:29:40 -03:00