7943 Commits

Author SHA1 Message Date
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
836377b201 Merge "Retrieve fluentd logs in gates" 2017-09-22 10:44:05 +00: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
Jenkins
c203aa4152 Merge "Add missing dot to help string in genpwd.py script" 2017-09-21 13:24:20 +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
33e567285a Merge "Fix to use . to source script files" 2017-09-20 16:33:03 +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
684194ff9d Add support for vault passwords
This change adds vault arguments to kolla-ansible
to allow usage of vault encrypted  files.

Change-Id: I1dbae6e949543585d11c21e67e82f559d343b4ad
2017-09-19 17:45:55 +02:00
Jenkins
f455674245 Merge "Cleanup sfc useless doc" 2017-09-19 15:43:47 +00:00
Jenkins
3e59bffff3 Merge "Disable firewall while setup of dev env" 2017-09-19 08:24:40 +00: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
Harsh Vardhan
7769c65670 Disable firewall while setup of dev env
Firewall managers in
Ubuntu  ufw
Centos  firewalld
Closes-bug: #1716912

Change-Id: I7556fcfe4947e73f4b7f4b37c2477d9694a36c26
2017-09-14 21:09:26 +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
Christian Berendt
bc0f52cdc7 Add missing dot to help string in genpwd.py script
Change-Id: I87df49939f600cfa1041193808ce6bdcf4620ffc
2017-09-14 00:16:19 +02: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
OpenStack Proposal Bot
9b5a01336f Updated from global requirements
Change-Id: Ia70a5296c557ec54cdb47a28b163c9365d03506e
2017-09-13 12:52:12 +00:00
Eduardo Gonzalez
fee1538c38 Retrieve fluentd logs in gates
Fluentd send logs to stdout,
this changes creates a file with fluentd logs
output to easy discover missing patterns during fluentd
changes.

Change-Id: I131f95089eac60ccb4c48cf5071c3b44c5ea42ca
2017-09-12 23:03:25 +02:00
Jenkins
26c8137cac Merge "Updated from global requirements" 2017-09-12 17:13:20 +00:00
Jenkins
fb8dac3b0e Merge "Remove validate-maintainer.sh script" 2017-09-12 16:04:52 +00:00
Eduardo Gonzalez
1ecd1afc3b Cleanup sfc useless doc
Showing the CLI installed does not verify SFC is working at all.
Refer to updated link with process to create a chain.

networking-sfc is already installed in neutron,not needed to
use custom  builds anymore.

Change-Id: Ib92482eba6e27ef1e856f0a54aeb4cdfc0495117
2017-09-12 16:00:25 +00:00
OpenStack Proposal Bot
0a1a6f2a1d Updated from global requirements
Change-Id: I8d097af4a75bdc4225e0df04bfbdc555d1529aae
2017-09-12 14:02:52 +00: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