3550 Commits

Author SHA1 Message Date
Jenkins
002addc6da Merge "Added open-iscsi to default removals" 2017-09-25 09:27:37 +00:00
Jenkins
6b38dc3e99 Merge "Add /lib/modules as volume to openvswitch_db container" 2017-09-25 09:23:37 +00:00
Jenkins
9e44fd2a53 Merge "Add ipc_mode=host for nova-compute conainer" 2017-09-25 08:52:58 +00:00
Bertrand Lallau
b649ae922f Fluentd: fix duplicate log level naming
Fluentd config actually used two keywords to named log level:
"log_level" and "severity_label".
This doesn't allow to search and sort ALL logs in Kibana using a unique
field (ex: log_level).
This fix standardize log level keyword naming.

Closes-Bug: #1713410
Change-Id: Ibb2eaf3b6aa21ce6f7945e768e6362c0d40f0507
2017-09-25 08:26:20 +00:00
caoyuan
6134de26e3 Optimize the yaml format for Barbican check.yml
1. Optimize the yaml format
2. Change the "shell" to "command" for task "fetch secret"
and "cleaning up"

refor to
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/nova/tasks/simple_cell_setup.yml#L3

Change-Id: Ia6c670ff1349888f6c8a350052e3b170693e12b1
2017-09-25 08:01:18 +00:00
Duong Ha-Quang
26b2c2d9e9 Specify 'become' to necessary tasks (general roles)
Add config_owner_user and config_owner_group to group_vars/all,
which is user and group of Kolla configuration files in /etc/kolla.

Add become to post-deploy playbook.

Add become to only neccesary tasks in roles:
- certificate
- common
- destroy
- haproxy
- mariadb
- memcached
- rabbitmq

Change-Id: I2aba745a6e3928c52642f64551470fd08cbfd058
Partial-Implements: blueprint ansible-specific-task-become
2017-09-25 06:52:04 +00:00
caoyuan
b3cb549af9 optimize the command format for murano start.yml
1. optimize the conmmand format
2. Update the "--os-auth-url", use the {{ keystone_admin_url }}
since it be defined in all.yml

Change-Id: I53278a7b1c43a021eafbd10842355a4c70c47116
2017-09-25 13:19:06 +08:00
Jeffrey Zhang
56693c3421 Enable neutron fwaas dashboard dynamically
neutron-fwaas-dashboard is split into standalone repo. Need enable it
dynamic.

Depends-On: Ic1ff58df2c23db77aace95fd6d4eabbd62227e3b
Change-Id: I37b3258a394a7722b0837d6b1707326d7e37c9ba
Closes-Bug: #1719147
2017-09-25 11:05:01 +08:00
Eduardo Gonzalez
ebd8d765f9 Fix rabbitmq tag not match in fluentd
infra.rabbitmq tag does not match in fluentd

Closes-Bug: #1718874
Change-Id: I92733a4f275baa93b0c3a6ddbdc6801aec534867
2017-09-25 02:40:33 +00:00
Jenkins
d6200ab131 Merge "Fix ci gate failure" 2017-09-25 02:36:43 +00:00
Eduardo Gonzalez
fa06dcd37b Fix ci gate failure
This patch includes three unrelated fixes.

Make qemu use nova user in centos
Libvirt 3.2.0 (latest version in centos) seems to
have changed behavior of dynamic_ownership.

Pin ansible to <2.4 to make ara work in gates
ARA does not work yet with ansible 2.4, this change
pins to lower version to make gates work.
Revert once ara works with 2.4

Disable selinux for oraclelinux and centos.

Co-Authored-By: wanghongxu <wang19930902@gmail.com>
Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Change-Id: Iac8bec19437192cd198d58f71c6ed0a65a76f820
Closes-bug: #1718541
2017-09-23 09:03:52 +08:00
Jenkins
5b2dd73cdc Merge "Remove unused configuration items from tacker role" 2017-09-22 10:39:29 +00:00
caoyuan
8fed5e2e62 Make the pg and pgp value configurable
Change-Id: I99cca8c3830077736f71a7ab1abd3818688f9bb1
2017-09-22 03:21:52 +00:00
ZhongShengping
b745d0a6dd bind_host and bind_port are coming under `api_setting
Option 'bind_host' from group 'DEFAULT' is deprecated for removal[0],
please use option 'bind_host' from group 'api_settings' instead. bind_port
option are the same.
The default value of api_handler is queue_producer, we did not configure
it. So delete api_handler option.

[0]https://github.com/openstack/octavia/blob/master/octavia/common/config.py#L45

Change-Id: I4e9c1d40bcb497f147ea38d4f3c6d78c181fa20b
Closes-Bug: #1717190
2017-09-22 09:45:46 +08:00
goldyfruit
c20cf01872 filesystem_store_datadir should not be set when external Ceph is used
When an external Ceph cluster is used, the "filesystem_store_datadir"
option is set in the "glance-api.conf" configuration file.

It should not, it's because of this condition:

  {% elif enable_ceph | bool and glance_backend_ceph | bool %}

When external Ceph cluster is used "enable_ceph" is false and
"glance_backend_ceph" is true.

glance_backend_ceph variable should be enought for this condition.

Change-Id: I2a2ab420727888cfd9fcbc4bd30a08410163b36e
Closes-Bug: #1718728
2017-09-21 12:40:23 -04:00
Vladislav Belogrudov
73225d285c Allow Cinder to use ZFSSA iSCSI volume service
Added configuration to enable Oracle ZFS Storage Appliance:
https://docs.openstack.org/cinder/pike/configuration/block-storage/drivers/zfssa-iscsi-driver.html

Change-Id: Id5807f0d4567e16a68283cace7e126eddc4dea20
Implements: blueprint zfssa-cinder-support
2017-09-21 15:34:26 +00:00
Jenkins
e9626f1f07 Merge "WSGI configuration missing directive" 2017-09-21 13:30:44 +00:00
Jenkins
d8fea156fa Merge "Fluentd: progname field is missing with Rsyslog" 2017-09-21 13:30:20 +00:00
Jenkins
85164c1bcb Merge "Update designate to allow use of external bind9 dns servers." 2017-09-21 13:26:56 +00:00
Jenkins
b64ef7aa2d Merge "Fix Pike nova.conf for HyperV" 2017-09-21 13:24:54 +00:00
Bertrand Lallau
0af7178d3d Fluentd: progname field is missing with Rsyslog
progname is actually only fullfilled for Openstack logs and infra logs.
They are missing for program logging in RSYSLOG: HAPROXY and SWIFT.
When using Kibana, "progname" field appears empty, hence it's difficult
to know where logs come from.

Change-Id: Iae98af083cfb79d2a64fa0b70c86b0a01f7a336f
Closes-Bug: #1716051
2017-09-21 09:54:13 +00:00
Jenkins
c61d4e7ef9 Merge "Support configuration of custom fluentd outputs" 2017-09-21 08:07:30 +00:00
Jenkins
641a7f2790 Merge "Fix prechecks fail with docker not in deployment host" 2017-09-20 16:33:43 +00:00
Jenkins
12c6b8bb85 Merge "Remove deprecated oslo_messaging_rabbit options" 2017-09-20 14:55:47 +00:00
Pierre Hanselmann
8298afef01 WSGI configuration missing directive
WSGI configuration is missing the directive
"WSGIApplicationGroup %{GLOBAL}" after
WSGIProcessGroup" in the horizon template.
Of all WSGI configuration templates it is
the only one that does not have the
"WSGIApplicationGroup" line.

Change-Id: I3001901abbaae842f49179b6febf844337431afc
Closes-Bug: #1717922
2017-09-20 11:40:35 +02:00
yong sheng gong
8c4862cf35 Remove unused configuration items from tacker role
New tacker has removed nova heat configure items,
but the tacker role is still using it.

In addition, the ceilometer and aodh are backend OpenStack
components, the configuration of feature in tacker does not depend
on them directly.

Change-Id: I475ff763475ed699a1e7498cc9898bd71d00ae7c
Closes-bug: 1718113
2017-09-20 00:56:05 +00:00
Eduardo Gonzalez
aa0209c9a4 Unify global syntax in baremetal role
Baremetal roles does not keep common sytax used
in rest of the roles, even it baremetal role some
tasks differs in syntax with each others.

Change-Id: Ib04fe123501e2a3e829176953f20719a253999d3
2017-09-19 11:23:20 +02:00
James McCarthy
d4f8b413a8 Update designate to allow use of external bind9 dns servers.
kolla designate DNSaaS makes use of containerised bind9 servers
as it's default designate_backend. These can be disabled by
setting designate_backend to "no". default: "bind9"

This commit adds two new properties:
1) designate_backend_external
 which can be enabled by setting it to 'bind9'. default: "no"
and
2) designate_backend_external_bind9_nameservers, which can
 accept a csv list of all the external server addresses.
 (default: "")

The following attributes should either be set:
'internal' (the default)
 designate_backend: "bind9"
 designate_backend_external: "no"
 (designate_backend_external_bind9_nameservers is ignored)
or
 'external'
 designate_backend: "no"
 designate_backend_external: "bind9"
 (designate_backend_external_bind9_nameservers must be populated)

Configuration override files to align with external bind9
dns servers must be supplied manually,
 /etc/kolla/config/designate/rndc.key
 /etc/kolla/config/designate/rndc.conf

Change-Id: I8dbe6fd4fe7820b9143604d89e8399b07e07c3fd
2017-09-18 13:51:39 +01:00
Bertrand Lallau
498dab2437 Fluentd: reduce CPU and I/O consumption
Disable the additional watch timer (enable_watch_timer).
Setting this parameter to false will significantly reduce CPU and I/O
consumption when tailing a large number of files on systems with inotify
support.

Change-Id: Ib432e6cdece01dbb94b3d2f3d7fbdd04b81d25fa
2017-09-18 09:11:47 +00:00
Jenkins
8103b90325 Merge "Add missing document start "---" to yaml files" 2017-09-18 07:05:24 +00:00
ZhongShengping
8bff46454e Remove deprecated oslo_messaging_rabbit options
It's supposed to be working now https://review.openstack.org/475273

Change-Id: I5ae4f5f8ca977f7343cb135e41eb2d0703c37024
Closes-Bug: #1713609
2017-09-14 16:04:33 +08:00
Mark Goddard
fb4651461b Support configuration of custom fluentd outputs
In some scenarios it may be useful to configure custom fluentd outputs
to forward logs to a logging service other than elasticsearch.

This change supports configuration of fluentd outputs by placing
output configuration files in /etc/kolla/config/fluentd/output/*.conf.

Change-Id: I3c0b271d88dbb307ba3a23546e29c72e8baeca55
Implements: blueprint fluentd-custom-outputs
2017-09-13 17:25:12 +01:00
Bertrand Lallau
a3dfdfc085 Simplify Openstack services configuration possibilities
Actually Openstack services configuration can be overriden using many
files:
- /etc/kolla/config/<< service name >>/<< config file >>
- /etc/kolla/config/<< service name >>/<<host>>/<< config file >>
- /etc/kolla/config/global.conf
- /etc/kolla/config/database.conf
- /etc/kolla/config/messaging.conf

Only per-service configuration is actually documented here:
https://github.com/openstack/kolla-ansible/blob/master/doc/advanced-configuration.rst#L164

Allowing to globally modify service configuration can be perform too,
but it can be done in 3 different manners, all not documented:
- /etc/kolla/config/global.conf
- /etc/kolla/config/database.conf
- /etc/kolla/config/messaging.conf

database.conf and messaging.conf seems redundant with global.conf.
In order to simplify codebase it seems logical to remove them.

Documentation has been added for overriding configuration globally and
release note has been added too.

Closes-Bug: #1682479
Change-Id: I5d922dfc0d938173bad34ac64e490b78db1b7e31
2017-09-13 17:47:36 +02:00
Dan Ardelean
58562fc0b2 Fix Pike nova.conf for HyperV
HyperV Nova needs some nova.conf changes to work properly.
More precisely: 'auth_plugin' becomes 'auth_type'.

Closes-Bug: #1716956
Change-Id: Ic2342e2303b780398f81b3024fe5b11111e34a6e
2017-09-13 18:39:30 +03:00
Vladislav Belogrudov
36681821f8 Remove too many inventory levels for iscsid
This fix removes unnecessary deep nesting of host groups
for iscsid service in case of Ironic hosts.
Before: iscsid -> ironic-conductor -> ironic -> control
After:  iscsid -> ironic -> control

Change-Id: Ie5393368ecbd3830f0ca01233d7b4a8ba782619a
Closes-Bug: #1716935
2017-09-13 17:47:53 +03:00
Jenkins
b20182266a Merge "Fix barbican-api log filter in fluentd" 2017-09-12 08:31:01 +00:00
Jenkins
3d41e49887 Merge "Fluentd: Libvirt logs are missing" 2017-09-12 08:20:17 +00:00
Christian Berendt
06befa3c3b Add missing document start "---" to yaml files
Change-Id: I366c2124a778c5b0b22a8fe369d603adad75ebbe
2017-09-12 09:44:27 +02:00
Eduardo Gonzalez
1d1fbcfbeb Fix barbican-api log filter in fluentd
Barbican-api log is a uswsgi process and fluentd expects as
openstack service process.
This change moves log type to uswgi group.

Change-Id: Ifaf5645d0d19e133e41de0c55a55321fccfc391f
Closes-Bug: #1716513
2017-09-11 16:29:24 -06:00
Christian Berendt
6625e84863 Fix "key_repository is world readable: /etc/keystone/fernet-keys/" warning
TrivialFix

Change-Id: Ia54ee5cae2ffcdcca24cb162699e09b0808a1037
Depends-on: Ida2ed62eaba8908fb0bd50bb0be00fb5f9b1adc3
2017-09-11 11:28:16 +00:00
Christian Berendt
e0e71dc5c7 Add /lib/modules as volume to openvswitch_db container
Change-Id: I1267e9d49f8190e4998d6a8164b1e68c613de2bc
Closes-bug: #1712780
2017-09-11 09:25:31 +00:00
Jeffrey Zhang
0163162b65 Revert "Remove priviledged mode for nova-api"
This reverts commit c18615efd54d57f89d1a81729099285ea1fca3a7.

This patch fixs nova-api failure on ubuntu binary.

Change-Id: Ie411399eccb0ef7ee004f77a9b1adceca3aa0cc5
Related-Bug: #1715404
2017-09-06 22:33:26 +08:00
Jenkins
018ae69691 Merge "Modify the conf in skydive" 2017-09-06 03:23:44 +00:00
Jenkins
d9b9fd938b Merge "Perform bootstrap on Horizon upgrade" 2017-09-06 03:23:30 +00:00
Jenkins
a070f18ca3 Merge "Clean Boolean condition check on exists check" 2017-09-06 02:23:30 +00:00
Jenkins
92295235f3 Merge "Fix warning on {failed|changed}_when statements" 2017-09-06 02:20:39 +00:00
John Garbutt
7e9fa0cd41 Make outward_rabbit pre-checks idempotent
Copy the patterns from the rabbit checks, skip some pre-checks when the
container has already been started. Without this change the pre-checks
fail when you re-run the deploy, i.e. the port is not free because
rabbit is already running on that port.

This bug was triggered because murano is enabled, and this change has
been added to add the extra rabbitmq instance by default:
d8fe3ea780c188b6e937ab6f08a8475d2330a9fa

Closes-Bug: #1715135

Change-Id: I0eb8785e7cd4eadfa792ea14a27f54a891b2bf02
2017-09-05 15:48:13 +01:00
Jenkins
cf00aa6997 Merge "Fix warning during Mongodb bootstrap task" 2017-09-05 08:39:10 +00:00
Jenkins
43ca7d287b Merge "Create/delete kolla_keepalived_running only once" 2017-09-05 08:37:53 +00:00
Jenkins
c6df479027 Merge "Fix warning during Panko bootstrap task" 2017-09-05 08:15:18 +00:00