2971 Commits

Author SHA1 Message Date
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
Jenkins
8103b90325 Merge "Add missing document start "---" to yaml files" 2017-09-18 07:05:24 +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
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
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
Jenkins
37fe6207b2 Merge "Fix typo in ironic prechecks" 2017-09-05 08:14:38 +00:00
Bertrand Lallau
792ab71471 Fluentd: Libvirt logs are missing
Libvirt logs are not managed by Fluentd. It can be very helpful to
debug 'booting' issue on KVM.

Change-Id: Ie04322adec0482f4d586d2f8564a1a77f2da2605
Closes-Bug: #1713429
2017-09-04 13:43:55 +00:00
Jenkins
0e50f147e0 Merge "Fluentd "progname" field not always generated" 2017-09-04 13:41:46 +00:00
Jenkins
5c59e82427 Merge "HyperV: fix FreeRDP console config" 2017-09-04 13:14:36 +00:00
Jenkins
ff7688c229 Merge "Fluentd: manage multiline log pattern" 2017-09-04 13:13:55 +00:00
Paul Bourke
e44a396f54 Perform bootstrap on Horizon upgrade
The value of horizon_backend_database defaults to the value of
'enable_murano'. If a user happens to have enabled/deployed Murano prior
to upgrading Horizon, Horizon will then get configured to use the
backend database, though the bootstrap will be missing and results in a
broken Horizon on upgrade.

Closes-Bug: #1714949
Change-Id: I37c99c93f2966915c38d4e1aeaa48152254d62ea
2017-09-04 12:54:23 +00:00
John Garbutt
d9a11a3a07 Fix typo in ironic prechecks
Before this change ironic prechecks failed with the error:
'tenant_network_types' is undefined

This problem appears to have been introduced in:
296ddbeb035c6f582b316f066fe2ddffece07aca

Closes-Bug: #1714946

Change-Id: I609ae20c4558370a0a8c4c316cd47cbd1d086331
2017-09-04 13:45:12 +01:00
Bertrand Lallau
61864637dc Fluentd "progname" field not always generated
'progname' is actually only fullfilled for Openstack services logs.
They are missing for MariaDB and RabbitMQ logs.
When using Kibana, "progname" field appears empty, hence it's difficult
to known where logs comes from.

Change-Id: Ifcbfd981a34a8d64ea69d37934c7f0fae10a90b5
Closes-Bug: #1713412
2017-09-04 11:02:47 +00:00
zhuzeyu
5f2d3214fe Modify the conf in skydive
The flowtable_expire, flowtable_update and flowtable_agent_ratio
are no longer use in skydive
Now it uses flow.expire and flow.update

Closes-Bug: #1714900
Change-Id: I4f7724be87997fe9e62e53e3141419709fd4efaf
2017-09-04 17:19:03 +08:00
Bertrand Lallau
38a6d30411 Fluentd: manage multiline log pattern
Actual Fluentd config doesn't manage multiline log pattern like:

2017-08-16 21:41:03.097 7 WARNING oslo_config.cfg [-] Option "firewall_driver" from group "DEFAULT" is deprecated for removal (
nova-network is deprecated, as are any related configuration options.
). Its value may be silently ignored in the future.

This log will generate 1 Fluentd event for each line (in previous
example 3 events).
This is really a wrong behaviour and made Kibana interface not friendly.
This patch uses a multiline parser.

Change-Id: Iee337645d1dc42876ec79be08ee3715f11a53d87
Closes-Bug: #1711399
2017-09-04 08:58:17 +00:00
Dan Ardelean
418d584693 HyperV: fix FreeRDP console config
Console access for HyperV VMs is now done via Kolla VIP.
The VIP will point to each HyperV compute node IP on which
FreeRDP-WebConnect is installed.

Closes-Bug: #1714249
Change-Id: I3a5d23425996a5c347ff21df3f99c3f63dd35173
2017-09-01 19:28:48 +03:00
Jenkins
8c30163853 Merge "Fluentd: rework and fix tail source config" 2017-09-01 14:18:13 +00:00
Jenkins
e71f53d405 Merge "Add WSGI support for cloudkitty-api" 2017-09-01 09:47:37 +00:00
Bertrand Lallau
41d4d7bcaf Clean Boolean condition check on exists check
"bool" filter is not required cause exists return Boolean

Change-Id: I5fa53ec1ebba14ebb8ed3d3d75ae4fb0c6666c44
2017-09-01 09:44:22 +02:00
Zhijiang Hu
42e146925e Create/delete kolla_keepalived_running only once
Currently, kolla_keepalived_running may be created and deleted in
parallel which causes prechecks failure. The solution is using
run_once = true.

Closes-Bug: #1714407

Change-Id: I2ec8fc2e867c87175157af8acc11f57313bfaabe
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-01 00:58:29 -04:00
Bertrand Lallau
191e268575 Fix warning on {failed|changed}_when statements
Ansible 2.3.0 does not like delimiters in when statement.

Related link: https://github.com/ansible/ansible/issues/22397

Closes-Bug: #1714349
Change-Id: I973cc6537c4c1374546b5cddb4ce713a553b92f4
2017-08-31 23:16:26 +02:00
Bertrand Lallau
8e20a550af Fix warning during Mongodb bootstrap task
[WARNING]: when statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found:
{{ (bootstrap_mongodb_cluster.stdout|from_json).ok != 1 }}

Reason: Ansible 2.3.0 does not like delimiters in when statement.

Fix small typo

Change-Id: I69ea5f640b8e841e532eca97b7ed3959e9335967
Closes-Bug: #1714337
2017-08-31 20:01:19 +00:00
Bertrand Lallau
5b02908a9f Fix warning during Panko bootstrap task
[WARNING]: when statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found: {{ 'already' not in mongodb_panko_database.stdout }}

[WARNING]: when statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found: {{ mongodb_panko_database.stdout.split()[4] != 'connecting' }}

Reason: Ansible 2.3.0 does not like delimiters in when statement.

Change-Id: If34130ccf03c0fbadd17eb24fa8e71fbbf2bcd70
Closes-Bug: #1714340
2017-08-31 21:58:44 +02:00
Jenkins
5e7dd44bf3 Merge "let openvswitch_db listener localhost" 2017-08-31 11:20:33 +00:00
Jenkins
512d3527ac Merge "Fix freezer elasticsearch config" 2017-08-31 05:17:13 +00:00
ZhongShengping
2fca630cdb Add WSGI support for cloudkitty-api
They dropped the cloudkitty-api command line[0], so we should add wsgi
support for cloudkitty-api.

[0]https://review.openstack.org/#/c/366043/

Change-Id: Ie34d4f2d5c303bbd7ac09a8ab9e8d9bdc763c57b
Closes-Bug: #1713879
2017-08-31 08:50:42 +08:00
Bertrand Lallau
c751a4f780 Revert "Fix modify external ceph.conf not restart related containers"
This reverts commit 0ec2bf39ef90fa4192439a8b331603f99e0391c4.

Change-Id: I6e02b2bc15ccda8039850fc5827b3b5e4323e679
Closes-Bug: #1713926
2017-08-30 09:18:44 +02:00
Jenkins
de61c89014 Merge "Run registering keystone ceph_rgw user task only on one node" 2017-08-29 21:42:56 +00:00
Jenkins
f594e0e749 Merge "Mount host /tmp folder to horizon container" 2017-08-29 15:04:13 +00:00
Jenkins
0b5423e69b Merge "Update Nova to use Cinder v3" 2017-08-29 14:50:15 +00:00
Eduardo Gonzalez
5c9d10fa58 Fix freezer elasticsearch config
storage settings for elasticsearch are not correct.
Need a backend and expecific options for the backend.

Change-Id: I71e35644389b6f97a20daf0f1dec29a30c3c34e3
Closes-Bug: #1713693
2017-08-29 12:34:31 +02:00
Bertrand Lallau
eab91d4288 Fluentd: rework and fix tail source config
Actually a unique 'tail' source is used for all logs files in
kolla/*/*.log.

So log files from services like: chrony, elasticsearch, etcd, grafana,
influxdb, kibana, mongodb... are actually processed by our Fluentd
config, but should not cause all following config will failed to parse
them. It just uses CPU for nothing cause they will
never match the following filters:
* record_transformer => add Hostname, Logger, programname field
* rewrite_tag_filter => rewrite 'programname' TAG if needed

Hence these filters should only be applied to Openstack services logs to
avoid CPU usage.

Furthermore WGI and Apache logs files must be treated differently.

Change-Id: I425979160291e1123e3775e39243bca06ed22c2f
Closes-Bug: #1711390
2017-08-29 08:46:55 +00:00
Jeffrey Zhang
28bd9bf996 Run registering keystone ceph_rgw user task only on one node
Change-Id: If4d396750fd2bf5b5b0bbaab68b0f01f1a657262
Closes-Bug: #1713656
2017-08-29 16:21:01 +08:00
jiangpch
cbf2b30940 Ironic: disable pxe_ssh driver in the ironic.conf
*_ssh driver is not supported by ironic now,
see: https://review.openstack.org/#/c/481688

Closes-Bug: #1713624

Change-Id: I49c6975c79e172e7c85560e597fee6cfa6372328
2017-08-29 06:09:54 +00:00
Paul Bourke
182cea7820 Update Nova to use Cinder v3
v3 is marked at the "CURRENT" api for Cinder and should be default for
Nova
(https://docs.openstack.org/ocata/config-reference/compute/config-options.html)

Change-Id: I3280d28bbb11bfe5a957a1ccac63d3dee630748d
2017-08-28 14:49:18 +01:00
Jenkins
9750336885 Merge "vmtp: remove kolla_logs Docker mount" 2017-08-24 14:09:09 +00:00
Kuo-tung Kao
5d22ea34c0 let openvswitch_db listener localhost
Openvswitch_db is not necessary to listener api_address.
Just let openvswitch_db listener localhost to avoid security issues.

Change-Id: If4912d90abae933a1ed9e2d14336b89b7c7179dd
Closes-Bug: #1712767
2017-08-24 16:43:47 +08:00
Jenkins
7f3dec3123 Merge "Revert "Update Keystone haproxy config to balance based on source ip"" 2017-08-23 15:50:23 +00:00
Jenkins
4754ae80f6 Merge "Fix modify external ceph.conf not restart related containers" 2017-08-23 15:43:04 +00:00
Jenkins
9a1357e4bb Merge "Change mode after ceph and neutron log is rotated" 2017-08-23 04:35:26 +00:00