7583 Commits

Author SHA1 Message Date
jiangpch
7d79202c4d Remove image_driver_list in zun.conf
We should use the default value for image_driver_list to support
both glance and docker images.

Change-Id: I123fce57cdbd7d154d70aa8d171f946f74dd4e2f
2017-08-02 22:26:28 -04:00
Jenkins
7e6fb5e308 Merge "Remove unnecessary setUp function in testcase" 2017-08-02 14:59:59 +00:00
Jenkins
f21d954179 Merge "Add default volume_backend_name for rbd driver in cinder volume" 2017-08-02 07:15:38 +00:00
Jenkins
1ab6822d99 Merge "Stop and start container rather than use restart directly" 2017-07-31 13:12:38 +00:00
Jenkins
e3f1f1fa01 Merge "Assume the container is removed if it is not show in docker ps" 2017-07-31 09:37:44 +00:00
Jenkins
3b02e39f11 Merge "Quickstart guide add inventory in pull command" 2017-07-31 07:34:53 +00:00
Jenkins
c3a0156815 Merge "Updated from global requirements" 2017-07-31 01:49:51 +00:00
Jenkins
8f58211319 Merge "Fixes horizon reconfigure for adding custom *_policy.json files" 2017-07-30 02:25:09 +00:00
Sam Yaple
c18615efd5 Remove priviledged mode for nova-api
This only existed to add an iptables rule for nova-net related things.

Change-Id: I4e6c50d0908edde3b3cc68382f4466a828f377a5
Related-Bug: #1687187
2017-07-28 12:43:34 -04:00
Michal Nasiadka
141dbc8f14 Fixes horizon reconfigure for adding custom *_policy.json files
Change-Id: I2d9fca7d4272c69c75b106ac4cea244a371d3b5f
Closes-bug: #1707163
2017-07-28 13:09:19 +02:00
Jeffrey Zhang
ea1ae405ba Assume the container is removed if it is not show in docker ps
In some case, docker can not remove container and raise following error
message:

    Unable to remove filesystem for xxx remove
    /var/lib/docker/containers/xxx/shm: device or resource busy

But the container is removed. This patch assumes container is
removed if only container name is not shown in docker ps.

Closes-Bug: #1662598
Change-Id: I079d5ec6178018403ec7a49c975f137e27eb9ad4
2017-07-28 17:30:11 +08:00
Jeffrey Zhang
7f2ade5b5a Stop and start container rather than use restart directly
Docker has an issue[0] when restart container. But stop then start
works.

[0] https://github.com/moby/moby/issues/29704

Change-Id: If0a9c0c257cd72209be8e138a1f0b8871500e089
Closes-Bug: #1707097
2017-07-28 17:26:27 +08:00
OpenStack Proposal Bot
2cd9ae0fe4 Updated from global requirements
Change-Id: If20101daba52df4a41abe5e4606b317761bc936b
2017-07-27 19:11:23 +00:00
Jenkins
e9c4a5877d Merge "Use a separate user for ceph-rgw rather than keystone admin user" 5.0.0.0b3 2017-07-27 14:47:08 +00:00
Jenkins
6c144946fa Merge "Only start one glance_api when using file backend" 2017-07-27 09:41:44 +00:00
Jenkins
06046f3943 Merge "Unified Apache access log format" 2017-07-27 09:30:53 +00:00
Jeffrey Zhang
1cf116cd6c Use a separate user for ceph-rgw rather than keystone admin user
If not, change admin user password will break ceph rgw service.

Change-Id: Ia872f6f1aa2d9917d3f5851e0edcffed61e71355
Closes-Bug: #1705929
2017-07-27 16:41:41 +08:00
Jenkins
d44d5d0b48 Merge "Support multi local chrony servers" 2017-07-27 08:25:31 +00:00
Jenkins
815dfe40f6 Merge "Add qdrouterd role for messaging infrastructure component" 2017-07-27 08:23:31 +00:00
Jenkins
2f809c15b0 Merge "ntpd behind proxy fails" 2017-07-27 08:00:20 +00:00
Jenkins
960c8de70b Merge "Updated from global requirements" 2017-07-27 07:57:30 +00:00
Jenkins
fe0f9aa198 Merge "Add vmware DVS support to kolla-ansible" 2017-07-27 05:58:53 +00:00
OpenStack Proposal Bot
96e8ab2042 Updated from global requirements
Change-Id: Ic043dcac9d9483374fbdac7287d686ba4a72fc6b
2017-07-27 05:23:28 +00:00
Jenkins
71133abce7 Merge "Fix logging collection in gates" 2017-07-27 03:23:02 +00:00
Jenkins
54d87795d8 Merge "Fix zun command in zun-guide" 2017-07-27 03:13:59 +00:00
Jenkins
d3b481cc7d Merge "Fix configuration for nova_compute_ironic" 2017-07-26 21:04:46 +00:00
Jenkins
5c78a82ec5 Merge "Add Elasticsearch to Grafana" 2017-07-26 20:43:06 +00:00
Jenkins
d4b0c28bb6 Merge "Make cinder-backup service optional" 2017-07-26 20:22:23 +00:00
Eduardo Gonzalez
afe16ceadd Fix zun command in zun-guide
Zun command is invalid, double colons are not
valid.
More info about this in bug report.

Change-Id: I367aec97775dcefb2c45fe55a311c5451d33e703
Closes-bug: #1706569
2017-07-26 17:41:10 +02:00
Jenkins
5e9697d2fd Merge "Wait keystone_fernet running before init tokens" 2017-07-26 14:41:01 +00:00
Jenkins
f3956ee93b Merge "Fix zun transport_url" 2017-07-26 14:40:54 +00:00
Eduardo Gonzalez
ca82b29858 Wait keystone_fernet running before init tokens
Init fernet task fails if keystone_fernet container
is not running and ssh port bind.
This change add a check to ensure all keystone_fernet containers
are running before init fernet tokens.

Change-Id: Ib95bb5a47a9174f1a00b82cc8b697c0dc19c848e
Closes-Bug: #1704758
2017-07-26 10:52:59 +00:00
Jenkins
59309f74ff Merge "Remove Kafka from Infrastructure components list" 2017-07-26 10:49:02 +00:00
Yotaro Konishi
c1ed80fe84 Fix configuration for nova_compute_ironic
Currently nova.conf.j2 generates two compute_driver options for
nova_compute_ironic container like this:

compute_driver = ironic.IronicDriver
compute_driver = libvirt.LibvirtDriver

nova_compute_ironic container fails to start because the latter value
overrides the former one.

This patch fixes the issue recently introduced in [1].

[1] 63314ad6dd181a0e975438de2e99409238f1b775

Change-Id: Ibb661a5a594120be4195d331c38883c3b2886361
Closes-Bug: #1706534
2017-07-26 16:31:25 +09:00
Tatsuma Matsuki
db0f469614 Unified Apache access log format
Apache access log formats are modified to be consistent with
the format defined in wsgi-keystone.conf, which includes
the response time (%D) and X-forwarder-For fields.

Change-Id: I02aa5eb106fb894196dfb6e22daf2968e27ed3cb
Closes-Bug: #1703571
2017-07-26 04:11:54 +00:00
Jeffrey Zhang
72ee7dac7c Support multi local chrony servers
In the old implementation, if there is no external ntp server, only one
local chrony server is supported. If multi chrony-server is configured,
chrony client can not sync with them.

In the new implementation
* use VIP to connect chrony-server, which ensure multi local chrony
  servers are supported.
* chrony servers depend on VIP. So chrony-server group should be
  the same with haproxy group.
* prevent chrony client sync from itself.
* Change owner to chrony:kolla for chrony log folder
* fix keysfile path
* use chrony user for centos and ubuntu image
* fix permission issue for /var/lib/chrony folder

Closes-Bug: #1705200
Change-Id: I6e85fda9824b5ddc7a96895425c5932a3566c27e
2017-07-26 03:38:05 +00:00
Eduardo Gonzalez
6e8ff22515 Fix zun transport_url
Double dots were removed by mistake in previous changes.
This causes incorrect transport url.

Change-Id: Id3b28574d7f06cecc97ddfb26815a4758f6f065a
2017-07-26 00:18:08 +01:00
Jenkins
24c4e910e4 Merge "Fix zun-api logging and state_path" 2017-07-25 13:07:44 +00:00
Eduardo Gonzalez
8a4de2c5a3 Quickstart guide add inventory in pull command
Quickstart guide can be confusing when pulling images if not using
all-in-one deployment.
Ansible will try to pull images in localhost rather than target nodes.
Issue: https://ask.openstack.org/en/question/109026/kolla-ansible-pull-error/

Change-Id: Ib7e767ee814041d1939c49731092695485dd2870
2017-07-25 14:39:13 +02:00
Paul Bourke
4fde486dc8 Only start one glance_api when using file backend
The default backend storage for Glance in Kolla is file, as this is the
easiest to deploy. However, this leads to frustration in a multinode
scenario as the volumes aren't shared.

This change sets glance_api to only start on one control node when using
the file backend.

DocImpact
Closes-Bug: #1681301
Change-Id: I2c167bae6f34a102cd7fe66401d7defe13bf2bf7
2017-07-25 11:17:58 +01:00
Mathias Ewald
f4e7b3af7f Add Elasticsearch to Grafana
This patch adds Elasticsearch to Grafana as a data source

Change-Id: I7c6452bba47274f9d971b8000e9d3e911617874d
2017-07-25 09:18:12 +00:00
Pavel Glushchak
0f70b3883d Make cinder-backup service optional
Introduced new option enable_cinder_backup, that controls
whether to deploy cinder-backup service.

Change-Id: Ibb0ca0a478748d4caba4df434456ead0df95ffca
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2017-07-25 11:04:39 +03:00
Jenkins
98ec9eb724 Merge "Remove an unnecessary endif" 2017-07-25 03:11:13 +00:00
Jenkins
d215bfecf8 Merge "Added note" 2017-07-25 03:08:11 +00:00
Yotaro Konishi
133423a3fc Remove an unnecessary endif
This patch fixes Jinja2 syntax error in ironic.conf.j2.

All kolla-kubernetes configurations was recently removed by [1], but the
commit overlooked to remove a '{% endif %}' statement in ironic.conf.j2.

[1] cacf08f0a6d009301f28c6723f399fb8c1daf267

Change-Id: I115fedfd026f14409b62f9552ff401956909f8a8
Closes-Bug: #1706230
2017-07-25 09:59:10 +09:00
Jenkins
3e747309bd Merge "Improve Swift ring setup sample script" 2017-07-24 21:25:54 +00:00
James Benson
52bbb65ed3 Added note
Closes-Bug: #1705116

Change-Id: I973b31c9fdba3158810481385ada1be5543144b2
2017-07-24 14:57:48 +00:00
Eduardo Gonzalez
52f73f4061 Fix logging collection in gates
Log retrieval was out of sync since repo split
and from multinode gates.

Many useful information retrieved before like
ps, df, docker info, etc is not in kolla-ansible
gates.

Also, his change fix logs visualization to have
colored view, allowing to easily identify errors.

Change-Id: I948233e26ceb6efc58b962bcb4b710b3f006232b
2017-07-24 14:32:09 +00:00
Jenkins
ca5c48bd2f Merge "Fix grafana post-config check" 2017-07-24 12:19:30 +00:00
Mathias Ewald
fa52fb3514 Fix grafana post-config check
Check grafana's /login url for status code 200 instead of root url since the
latter does not return an http 200 code

Change-Id: Ide7da26c0e217a4a60ad3d2ac693d6f7ac7bb722
Closes-Bug: #1705911
2017-07-24 11:13:22 +00:00