3905 Commits

Author SHA1 Message Date
caoyuan
37ef38b6a3 Fix the warning when reload the docker
use systemd module to reload the docker service, rather than
command

Change-Id: I2e3b2299365701a08de4025d6ad34cb492b33fda
Closes-Bug: #1751690
2018-02-26 03:24:24 +00:00
Zuul
28d5e07869 Merge "Use rpc_transport_url in blazar" 2018-02-25 08:45:44 +00:00
caoyuan
442631b5ba Add the missing ceph_mon host groups for Manila
when Manila use ceph as backend, Manila will pull keyring
from ceph mon node [0], but the site.yml missing it.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/manila/tasks/ceph.yml#L18

Change-Id: If8f0b9f186a27d9a86227cd5e5ce2405bf57749e
Closes-Bug: #1751534
2018-02-25 11:55:40 +08:00
zhubingbing
c887c93a36 Use rpc_transport_url in blazar
Change-Id: Ifc0f1e356dd6a5c194d00ab20f3122d17c7223cc
2018-02-24 19:48:22 +08:00
Zuul
1886cff420 Merge "Fix fernet deploy on gate" 2018-02-24 06:42:45 +00:00
Clint Byrum
42f7e25125 Retry glance API sanity checks
Apparently this API takes a little while to get started and working.

Change-Id: I328929d596765d3597f4f868cbbe288b63130bca
2018-02-23 12:53:33 -08:00
zhubingbing
72b84b01cf Use rpc_transport_url in vitrage.conf
Change-Id: I1d24d4a90a6ab4abc6a3b24c0334b380d53e896a
2018-02-23 23:12:27 +08:00
Jeffrey Zhang
2bbd5399de Fix fernet deploy on gate
keystone-ssh is required by keystone-fernet. So start keystone-ssh
container before keystone-fernet.

Closes-Bug: #1751224
Change-Id: Ie1c8ae185549acc3dd87a2c5f0356443ea7924a5
2018-02-23 08:51:53 +00:00
Zuul
5f28067d36 Merge "Support configuring grafana local admin username" 2018-02-22 15:20:54 +00:00
Zuul
56671184ed Merge "Remove mariadb settings from freezer defaults/main.yml" 2018-02-21 14:18:14 +00:00
caoyuan
1e445ec1ca Remove mariadb settings from freezer defaults/main.yml
freezer use elasticsearch as database storage, and do
not support mariadb for pike release [0][1]. this PS
to remove the useless mariadb setting.

[0]: https://docs.openstack.org/freezer/pike/install/db-install.html
[1]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/freezer/templates/freezer-api.conf.j2#L34

Change-Id: I85124a556b809b916e760415a9605c3c6724215c
Closes-Bug: #1750816
2018-02-21 21:29:43 +08:00
Zuul
e1813f9f60 Merge "Fix odl custom config" 2018-02-21 11:45:37 +00:00
Zuul
b3a8632d5e Merge "Add policy.yaml support for blazar role" 2018-02-21 09:16:25 +00:00
Zuul
b48b0943d5 Merge "Add permission to notify dns server from worker" 2018-02-20 08:29:06 +00:00
Doug Szumski
b8979c2083 Support configuring grafana local admin username
The grafana local admin username can be configured by overriding
the admin user field in the grafana.ini file. However, this will
fail when kolla-ansible attempts to configure any enabled
datasources for grafana because the local admin password is
hardcoded to 'admin'. This change allows the grafana local admin
password to be configured via group vars so that the correct
username is used when configuring datasources.

Closes-Bug: #1750408
Change-Id: I0962200894f7a0452da1c249a68f9230b6fab13f
2018-02-19 16:58:50 +00:00
Vladislav Belogrudov
78b8927874 Fix murano authentication configuration options
Murano failed to deploy due to outdated options - it tried to
issue v2.0 Keystone requests instead of v3. With new options that
are similar to other projects deployment succeeds.

Change-Id: I1970641e47fa6f94c2c6427ef49b3160d64c33ed
Closes-Bug: #1750373
2018-02-19 16:57:00 +03:00
Zuul
96ede1eb55 Merge "Don't check api_interface for 'deployment' group" 2018-02-18 08:41:34 +00:00
Zuul
589c5dec4c Merge "Workaround for Bifrost being unable to write to /etc/hosts" 2018-02-15 12:13:03 +00:00
Kevin TIBI
7892826743 Add permission to notify dns server from worker
Change-Id: I67ea2b1a91dfd61341ae2e5bcd82d1cf0597fe9c
Closes-Bug: #1745957
2018-02-14 16:04:38 +01:00
Zuul
e720e10fee Merge "Fix the Prechecks failed while checking docker version" 2018-02-14 14:13:38 +00:00
Zuul
bf2d59274b Merge "Support configuration of custom fluentd filters" 2018-02-14 14:13:36 +00:00
Vladislav Belogrudov
722185a424 Don't check api_interface for 'deployment' group
'deployment' hosts don't need api interface. Previous fix checked
if hosts belong global groups like [compute] or [control] which
is not correct because uses can create own groups and the check
won't work there at all. Here the logic is reversed - we blacklist
groups that don't need api_interface.

Change-Id: Ibaa94004016ba41a2ae5700c48522e254c6ee239
Closes-Bug: #1732846
2018-02-14 11:53:52 +00:00
Zuul
262a676c41 Merge "Catch an error when pool creation failed for ceph" 2018-02-13 15:20:17 +00:00
Zuul
151d7fff55 Merge "Update task about selinux set." 2018-02-13 07:24:52 +00:00
Zuul
e8d541d885 Merge "Use apt Ansible module instead of apt-get to update cache" 2018-02-13 07:20:17 +00:00
Zuul
d1b1fd488c Merge "Deploy of keystone fails if api_interface names differ" 2018-02-12 08:04:46 +00:00
Zuul
e6175d9e14 Merge "Add the missing permission setting for external-ceph" 2018-02-11 17:34:18 +00:00
Vladislav Belogrudov
d79b213302 Deploy of keystone fails if api_interface names differ
If control hosts have different names of interfaces one can set
api_interface variables per host. Deployment of keystone fails
because rpc_transport_url and notify_transport_url variables
use bare api_interface instead of one from hostvars.

Change-Id: I8bb4aa2953cf4ba63ef6815f2504d35e5aa0a07b
Closes-Bug: #1748473
2018-02-09 19:40:18 +03:00
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
Gaetan Trellu
c5b3037323 Missing configuration for Trove single tenant
The nova_proxy_* options are not needed when Trove single tenant
functionnality is not used.

The current way how Kolla configure trove-taskmanager.conf is to use the
user tenant so the nova_proxy_* options are not required by default.

I added the "enable_trove_singletenant" option to enable the single tenant
functionnality if required and complete the configuration to make it works.

When enable_trove_singletenant is true, the below configuration will be
applied to trove-task-manager.conf configuration file:

nova_proxy_admin_pass = {{ trove_keystone_password }}
nova_proxy_admin_tenant_name = services
nova_proxy_admin_user = trove
remote_nova_client = \
    trove.common.single_tenant_remote.nova_client_trove_admin
remote_cinder_client = \
    trove.common.single_tenant_remote.cinder_client_trove_admin
remote_neutron_client = \
    trove.common.single_tenant_remote.neutron_client_trove_admin

Change-Id: I9858acd9486a3f6a07c1edad14fde12f49df772b
Closes-Bug: #1743394
2018-02-07 10:00:04 -05:00
Zuul
5110b81b22 Merge "Add v3 to tacker's keystone endpoints" 2018-02-07 13:12:24 +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
David Rabel
12e0c5ae8e Use apt Ansible module instead of apt-get to update cache
Ansible recommends to use apt module instead of apt-get.
This patch fixes install.yml and pre-install.yml accordingly.

Change-Id: I3241ce332e7cf522786e78280643440a30a23875
Closes-Bug: #1747436
2018-02-05 15:38:17 +01:00
hyun-ha
59d33d3988 Catch an error when pool creation failed for ceph
Ceph mon have a configure about "mon_max_pg_per_osd"
and default value is 300.
When pgs per osd is exceeded, pool creation will be failed.
But kolla-ansible ignoring this, so user may difficult to find
a main reason for the failure.
We need to catch an error when pool creation is failed.

Change-Id: I92493584faad9bc550fdeeb96b827537daafd0b8
Closes-Bug: #1747414
2018-02-05 21:39:19 +09:00
Duong Ha-Quang
b37a30a760 Add policy.yaml support for blazar role
Follow up of https://review.openstack.org/#/c/454752

Change-Id: I20a3677b30ef6133fc3456b0449464a6a88d1581
Closes-Bug: #1747375
2018-02-05 16:31:47 +07:00
Zuul
70a5099376 Merge "Implement blazar ansible role" 2018-02-05 08:36:12 +00:00
pengdake
4f98f08ffa Update task about selinux set.
1.Fix the invalid value about selinux policy
2.Update description of task about selinux.The permissive mode
need enable selinux.The parameter named "disable_selinux" is not good.
In order to customize selinux modes, we need a new
parameter named "selinux_state".

Closes-Bug: #1749046
Change-Id: I20c084cf2e46cc0de149afbd34c6dcb77a1051f4
2018-02-03 22:30:24 +08: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
caoyuan
eddaa31aba Add the missing serial for roll upgrade
Change-Id: Id5cebf9df86beb02ad85c4e287e7bda2c6d25a35
2018-01-31 23:23:40 +08:00
Zuul
437d232dc4 Merge "Rework mariadb recovery tasks" 2018-01-31 11:55:23 +00:00