7762 Commits

Author SHA1 Message Date
Jenkins
e7eb1f2716 Merge "Make outward_rabbit pre-checks idempotent" 2017-09-06 02:13:25 +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
6155ea595a Update reno for stable/pike
Change-Id: I92fed4875a5a93c46a3e58c62e5df58180d0f0d1
2017-09-05 13:11:17 +00: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
Jenkins
0e50f147e0 Merge "Fluentd "progname" field not always generated" 2017-09-04 13:41:46 +00:00
Jenkins
e65d140b5b Merge "Add warning interface names with dashes" 2017-09-04 13:14:43 +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
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
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
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
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
9a520e0906 Merge "Fix gates out of disk space" 2017-08-31 13:52:26 +00:00
Jenkins
9a531aebb4 Merge "Enable use of --limit when using bootstrap-servers" 2017-08-31 13:45:28 +00:00
Jenkins
8de9083bc4 Merge "add ovs-dpdk docs" 2017-08-31 13:39:37 +00:00
Jenkins
5e7dd44bf3 Merge "let openvswitch_db listener localhost" 2017-08-31 11:20:33 +00:00
Jenkins
06d7bb95db Merge "Note about networks in zun guide" 2017-08-31 11:13:31 +00:00
Jenkins
512d3527ac Merge "Fix freezer elasticsearch config" 2017-08-31 05:17:13 +00:00
Jenkins
4f626d867f Merge "Revert "Fix modify external ceph.conf not restart related containers"" 2017-08-31 03:28:09 +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
Sean Mooney
05b4ac1a59 add ovs-dpdk docs
- This change extends the networking-guide to describe
  how to enable the newly added support for deploying ovs-dpdk.

Change-Id: I43405760ff315497f9396bfb0b36d6aa7fc5462a
Partially-Implements: blueprint ovs-dpdk
2017-08-30 19:29:46 +00:00
Jenkins
0a1e7f6d86 Merge "Changed as per the standard convention set to use "."" 2017-08-30 14:18:29 +00: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
caowei
ae1d9343e0 Update designate-sink custom configuration folder
Change-Id: I974a3717c10d1174ff62a39372375cf4edc439a6
2017-08-30 10:14:20 +08: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
0e807a4810 Merge "Add a note to help user avoid docker start failure" 2017-08-29 15:02:39 +00:00
Jenkins
0b5423e69b Merge "Update Nova to use Cinder v3" 2017-08-29 14:50:15 +00:00
Soeren Becker
c24afe6d68 Enable use of --limit when using bootstrap-servers
The ansible/kolla-host.yml playbook failed when called with a --limit
flag.

This was due to the fact that only the facts of the subset of hosts
were gathered but the "Generate /etc/hosts for all of the nodes" task
is using the ansible_<IFACE>.ipv4.address variable of all hosts.

The code for this fix is copied from the site.yml playbook
where it was used for the same reason.

Change-Id: I7e70caf750506ad8ab36ec024bd9647dd733fbd0
Closes-Bug: #1713725
2017-08-29 15:13:48 +02:00
Jenkins
1506194013 Merge "Fix typo in cinder guide for starting nfs" 2017-08-29 11:02:34 +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
Eduardo Gonzalez
894e73146c Fix gates out of disk space
Sometimes gates fails due lack of disk space,

This change mounts a second disk in opt and moves
registry data to opt.
Disk format commands are excepts from devstack-gate:
dc49f9e6eb/functions.sh (L306)

Change-Id: I606aa491b8cbf678e83281bad1a0ff39d3920ff2
Closes-Bug: #1713652
2017-08-29 09:11:56 +01:00
Jenkins
81de1420e6 Merge "Ironic: disable pxe_ssh driver in the ironic.conf" 2017-08-29 08:03:31 +00:00
Jenkins
39e6c55e93 Merge "Correct a grammar mistake" 2017-08-29 07:04:40 +00: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
Eduardo Gonzalez
937ccf77c2 Add warning interface names with dashes
Change-Id: Ie86849fbfbdef0e20a89f0fc3c6c617bc4ae23ff
Closes-Bug: #1711757
2017-08-28 14:22:37 +01:00
Jenkins
912c799085 Merge "Add missing ifaces and groups in prod guide" 2017-08-28 13:16:13 +00:00
Paul Bourke
0033f77eb7 Fix typo in cinder guide for starting nfs
Change-Id: I9b0ad600ab44cc6c056964554b7bab6c849ede22
2017-08-28 12:01:28 +01:00
Surya Prakash Singh
7aec5a2823 Changed as per the standard convention set to use "."
When we have to source a script file use . instead of source
For Reference follow below link:
https://docs.openstack.org/contributor-guide/writing-style/code-conventions

Change-Id: Ia170ccf245131463e3179dd75ccc66142521bc5f
2017-08-28 16:15:13 +05:30