8388 Commits

Author SHA1 Message Date
Alexandru Bogdan Pica
9822bb535e Fix MySQL access denied error during upgrade
This change makes it so that if preconfigured database users are used,
the attempt to change the log_bin_trust_function_creators mysql
variable isn't made anymore.

Also updated the upgrade docs

Change-Id: I356313952d435de6d3b5444c0dd8a71f45aee452
Closes-Bug: 1748269
2018-02-09 14:18:05 +02:00
Zuul
bdf50d5df5 Merge "Allow normal user to create functions during databas sync in glance" 2018-02-09 11:40:48 +00:00
Jeffrey Zhang
4c5e403ae8 Allow normal user to create functions during databas sync in glance
Closes-Bug: #1748347
Change-Id: I9fffc86e7c69ac5edb93c88636e7d49f73544d85
2018-02-09 11:25:26 +08:00
Zuul
b28c3efec7 Merge "Apply Cinder rolling upgrade" 2018-02-09 03:11:26 +00:00
Zuul
5110b81b22 Merge "Add v3 to tacker's keystone endpoints" 2018-02-07 13:12:24 +00:00
Zuul
a0466af463 Merge "Updated from global requirements" 2018-02-07 13:07:54 +00:00
Zuul
172f87cf54 Merge "Fix Ceph and Swift precheck failure" 2018-02-07 11:34:28 +00:00
Zuul
8b5c937c58 Merge "Fix cluster mode for skydive" 2018-02-07 11:27:08 +00:00
Tone.Zhang
3ff5ca1408 Fix Ceph and Swift precheck failure
If enable Ceph MDS and RBD services, they are not conflicting
with Swift service.

Fix the check condition to make sure both Ceph and Swift exist.

Closes-Bug: #1747592

Change-Id: Icc6806125ce72992f7dff00c30d591ffb737a0c6
Signed-off-by: Tone.Zhang <tone.zhang@arm.com>
2018-02-07 14:51:06 +08:00
Kevin TIBI
48b5696bad Fix cluster mode for skydive
If we use multiple skydive analyzers, we need to add this configuration.
Works with one node.

Change-Id: I9b52bf184e269d314e2af2ac80dc45557e3533af
2018-02-06 17:09:47 +01:00
Zuul
0f2d547b2c Merge "Improve mariadb_recovery" 2018-02-05 16:37:00 +00:00
Zuul
70a5099376 Merge "Implement blazar ansible role" 2018-02-05 08:36:12 +00:00
Zuul
9092e5ef29 Merge "XenAPI: support ceilometer service" 2018-02-02 04:09:01 +00:00
Jeffrey Zhang
d741eed94f Make kollda_docker works with new released python docker 3.0 package
the wait function in docker 3.0 return a dict now.

Closes-Bug: #1746748
Change-Id: Ice87128a936e36a0d7eb75c1ffd57dae39d89a64
2018-02-01 23:27:46 +08:00
Jianghua Wang
602de0fabf XenAPI: support ceilometer service
This to support configuration on ceilometer services for XenAPI.
1. set hypervisor_inspector as xenapi
2. Confiugre the section of [xenapi] for XenAPI connection

For details, please refer to the config doc:
https://docs.openstack.org/ceilometer/latest/configuration/index.html

Change-Id: I4fc649d927031886c694507b3e8a686646a61ef7
blueprint: xenserver-support
2018-02-01 08:47:39 +00:00
Alexandru Bogdan Pica
465bc9ee1c Improve mariadb_recovery
The purpose of this change is to improve upon
https://review.openstack.org/#/c/531122/

- Moved vars inside the defaults/main.yml file
- Made the regex for the lineinfile safer

Change-Id: Id581c0b36f3d4bd61d3627b8364b79296b967387
Closes-Bug: 1746567
Related-Bug: 1682153
2018-02-01 00:01:44 +02:00
Zuul
437d232dc4 Merge "Rework mariadb recovery tasks" 2018-01-31 11:55:23 +00:00
Zuul
9d575a9d22 Merge "Add the missing BASE_OS_DISTRO" 2018-01-31 09:02:10 +00:00
caoyuan
e30f549659 Add the missing BASE_OS_DISTRO
refer to https://github.com/openstack/kolla/blob/master/kolla/common/config.py#L22

Change-Id: I24197663e6456d257690413ead7a51ce9203e97c
2018-01-31 04:57:31 +00:00
Zuul
3342bc76fa Merge "Skydive: Fix endpoint for keystone" 2018-01-31 03:53:35 +00:00
Marian Tudosoiu
cead8ec623 Rework mariadb recovery tasks
In recover_cluster.yaml playbook the task to find the highest
seqno/Global Transaction ID is no longer relying only on grastate.dat
Instead it now follows the recommendations from galera cluster website
http://galeracluster.com/documentation-webpages/restartingcluster.html

Closes-Bug: 1682153

Change-Id: I5fc3eaa8baee659576c4c39aef9cfd351c8e9af7
2018-01-31 01:09:09 +02:00
Zuul
29226edf14 Merge "Adding octavia required roles" 2018-01-30 10:24:45 +00:00
Zuul
01d0e5f44f Merge "Adding ironic_dnsmasq_dhcp_range parameter to globals.yml" 2018-01-30 10:02:05 +00:00
Duong Ha-Quang
99a199f2af Apply Cinder rolling upgrade
Apply Cinder database migration procedure:

[1] https://docs.openstack.org/cinder/pike/upgrade.html

Depends-On: I9a847b0a916a85d8f2622e93734330da5122f0d8
Change-Id: I934c38cb5366f0b3a65115b4cdd19878efec7ebc
2018-01-30 08:16:58 +00:00
Zuul
e110ad629f Merge "Support policy.yaml file [part 2]" 2018-01-30 07:36:44 +00:00
Zuul
95691f3d59 Merge "Zuul: Remove project name" 2018-01-30 07:36:41 +00:00
Kevin TIBI
3ddf4d673f Skydive: Fix endpoint for keystone
Skydive need to use internal endpoint for join keystone like other service.

Change-Id: I1f9c5a6d61547c81524c9c04fec48ed720033867
Closes-Bug: #1745949
2018-01-30 07:14:34 +00:00
Zuul
f7cdcb155d Merge "Restart manila-share after changed in the external-ceph" 2018-01-30 05:52:58 +00:00
Mark Duggan
0914723b45 Adding ironic_dnsmasq_dhcp_range parameter to globals.yml
In order for the ironic_dnsmasq container to successfully
run the "ironic_dnsmasq_dhcp_range" needs to have beginning
and end values. Even though the parameter is present in
ansible/roles/ironic/defaults/main.yml, the appropriate
place to set these values is globals.yml

Change-Id: I2801c84510b6e1d929f4a6a6334142ff16eefea0
Closes-Bug: 1746005
2018-01-29 14:28:59 +00:00
Dai Dang Van
d77930373e Support policy.yaml file [part 2]
- Keystone
- Glance
- Nova
- Cinder

This will copy only yaml or json policy file if they exist.

Change-Id: I4a9415d82322aed68c9b7650bdf346f58fa49e2a
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-29 13:35:59 +00:00
Zuul
a9e5836cde Merge "Support policy.yaml file [part 7]" 2018-01-29 08:09:21 +00:00
Zuul
ba8f376431 Merge "Add cpu_mode in vagrant/bootstrap.sh" 2018-01-29 05:25:22 +00:00
Jeffrey Zhang
377ece5774 Adding octavia required roles
Adding following role which is reuqired by octavia services

- load-balancer_observer
- load-balancer_global_observer
- load-balancer_member
- load-balancer_admin
- load-balancer_quota_admin

Change-Id: I6f351c96915b09cb9a6ef716515b45785d62cb90
Closes-Bug: #1745915
2018-01-29 12:49:35 +08:00
Dai Dang Van
de54518b34 Support policy.yaml file [part 7]
- Vitrage
- Watcher
- Zun

This will copy only yaml or json policy file if they exist.

Change-Id: I913b3b067237cc4694894cc00bcc363127dd3806
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-29 02:51:40 +00:00
James E. Blair
3526976985 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I8cdcf763538c806f3ac27826c19f2086caca6929
2018-01-28 03:01:15 -08:00
Zuul
49360f0c35 Merge "Add a precheck to ensure nscd is not running" 2018-01-28 07:30:00 +00:00
Zuul
118381973f Merge "Add container state check in kolla_docker" 2018-01-27 13:35:23 +00:00
Zuul
1b57246821 Merge "Support policy.yaml file [Final]" 2018-01-27 07:55:18 +00:00
Zuul
08eb5fd6bf Merge "Make ceph-nfs configurable" 2018-01-27 07:53:17 +00:00
Zuul
09dbb61133 Merge "Fix haproxy with memcached enabled" 2018-01-26 10:22:44 +00:00
Zuul
83ec76cbaf Merge "Support policy.yaml file [part 6]" 2018-01-26 09:06:33 +00:00
Zuul
91f7d1af87 Merge "XenAPI: fix two neutron configures" 2018-01-26 08:58:48 +00:00
Zuul
63d1ed29fb Merge "XenAPI: support provider networks" 2018-01-26 08:58:46 +00:00
Eduardo Gonzalez
448a10df6c Add container state check in kolla_docker
Missing container status check in recreate_or_restart_container,
this causes if the container is not running (kolla-ansible stop),
to not be started with deploy/reconfigure/upgrade if any other param
changes.

Change-Id: I5cff5f367e963ba8b1807ec46469da817e40e468
Closes-Bug: #1714015
2018-01-26 07:30:11 +00:00
Zuul
02fa35dc8e Merge "Use bool filter with enable_ironic_pxe_uefi" 6.0.0.0b3 2018-01-26 05:03:59 +00:00
Dai Dang Van
3d9fd47e96 Support policy.yaml file [Final]
- Ceilometer
- Gnocchi
- Rally

This will copy only yaml or json policy file if they exist.

Change-Id: I59f3376ab9fb6fb83577465a6c9096764b9f19c0
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-26 04:37:53 +00:00
Dai Dang Van
e846d48780 Support policy.yaml file [part 6]
- Sahara
- Searchlight
- Senlin
- Tacker

This will copy only yaml or json policy file if they exist.

Change-Id: I97c8bf300f14ae6d7c55c5f8962c5781cee2c40a
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-26 04:37:48 +00:00
Zuul
39d9327d29 Merge "Fixes ceph deploy gates" 2018-01-25 14:46:34 +00:00
Jianghua Wang
c8245edf91 XenAPI: fix two neutron configures
This commit contains two fixes:
1. ``of_listen_address``: We use the xenapi's facts directly, so
that we can avoid depending on facts gathered by setup for hosts;
This is useful when deploy on the role of neutron only (--tag neutron);
2. ``local_ip``: Get the proper IP for tunnel. It should be chosen
from dom0's IP which is in the same network where tunnel interface
is connected.

blueprint: xenserver-support

Change-Id: I61bbd6499323e3fddd6293a0df6baec34dbddf23
2018-01-25 11:10:04 +00:00
Zuul
a00e80c205 Merge "Only copy nfs_shares to cinder-volume groups" 2018-01-25 10:37:27 +00:00