2869 Commits

Author SHA1 Message Date
caoyuan
f80959df39 Move the "notify_on_state_change" into group “notifications"
Option "notify_on_state_change" from group "DEFAULT" is deprecated. Use
option "notify_on_state_change" from group “notifications".

refer to
https://docs.openstack.org/ocata/config-reference/compute/config-options.html

Change-Id: I18e80ccd5981b81bfd597b94717ed77b13c05222
Closes-Bug: #1690494
2017-05-13 12:27:02 +08:00
Pavel Glushchak
7aeb8a2af5 Fixed libvirt package removal
On RedHat libvirt is just a metapackage and it does
nothing with libvirt daemon itself if we remove it.
On Ubuntu the correct package name with libvirt daemon
is libvirt-bin.

Closes-Bug: #1690356
Change-Id: Ief8dfd8c038b10878621aefcc8f559aa20dc498b
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2017-05-12 14:23:56 +03:00
Eduardo Gonzalez
ba78082e0c Fix cinder-api ubuntu binary deploy
This changes moves cinder-api to make use of apache to
launch its processes.
Ubuntu binary removed support in Ocata for cinder-api
system services [1]. At this moment cinder in Ocata branch
is not working at all due this issue.

This changes aims to fix cinder in master only for ubuntu
binary with the purpose of make a clean backport to stable/ocata
without do any other change on the backport process.
A follow up change will migrate other OS/install_type to make use
of Apache but only changing master branch.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-January/111069.html

Change-Id: I9885d6acadbac1da46844f583e7cd37785505ae0
Closes-Bug: #1676751
2017-05-12 12:00:21 +01:00
Jeffrey Zhang
ec635f8830 Remove verbose log in memcached container
Closes-Bug: #1690302
Change-Id: Ice9e6ece862c4102883c6a5f3bbfe2d291077c8d
2017-05-12 14:16:15 +08:00
Jenkins
e93ca5c0b6 Merge "Fix Telegraf container restarting issue" 2017-05-11 16:24:20 +00:00
Jenkins
6db0c9292b Merge "Remove /etc/fstab Swift references during cleanup-host" 2017-05-11 07:59:04 +00:00
Jenkins
d3db4d4cfe Merge "Fix log rotation issue on services" 2017-05-10 10:55:28 +00:00
Jenkins
08f50d5e64 Merge "Configure Kibana default index pattern" 2017-05-10 10:54:11 +00:00
Jenkins
2474ccd0aa Merge "Fix ceilometer meters for swift service" 2017-05-10 10:49:05 +00:00
Jenkins
a8257a19ee Merge "Fix neutron-openvswitch-agent crash on multinode" 2017-05-10 09:13:50 +00:00
Jenkins
a8433495dd Merge "Add graceful_timeout argument to kolla_docker" 2017-05-10 08:40:36 +00:00
caoyuan
583f0b6f2e Remove the unnecessary delimiters
when statements should not include jinja2 templating delimiters such as
{{ }} or {% %}. Found: {{ ceph_enable_cache | bool }}
Closes-Bug: #1689550

Change-Id: I2ca039b80260cd753026f8fb077c7d25e46c8b13
2017-05-09 20:57:23 +08:00
Jenkins
25e23c3850 Merge "Modify the permission of directory" 2017-05-09 10:07:49 +00:00
Jenkins
3b945400bc Merge "Fix panko source and dest file path in ceilometer config" 2017-05-09 03:53:32 +00:00
Jenkins
8f0dc05660 Merge "Add local directive for chrony" 2017-05-09 03:53:25 +00:00
jeckxie
4bb722b440 Remove /etc/fstab Swift references during cleanup-host
During cleanup-host, we need remove swift references from fstab.

Change-Id: I18e9a84b0664eb834cf397bcf6d2406abcab47a7
Closes-Bug: #1689285
2017-05-08 19:24:23 +08:00
jimmygc
0fca39dd03 Fix wrong variable used in trove role
There is no swift_api_port.
swift_proxy_server_port should be the correct one.

Closes-Bug: #1689260
Change-Id: I63e0edb76603374b479eabf0199c4024ad3e2dbd
2017-05-08 17:25:04 +08:00
Jenkins
b077f6e7bb Merge "Add timeout parameter for precheck tasks" 2017-05-07 15:04:24 +00:00
Jenkins
3ba11be4a3 Merge "Fix glance Upload large image haproxy timeout" 2017-05-07 02:02:14 +00:00
Jeffrey Zhang
7b05bb7322 Add local directive for chrony
The local keyword is used to allow chronyd to appear synchronised to
real time (from the viewpoint of clients polling it), even if it has no
current synchronisation source.

Change-Id: I27d945abb87a37d2fdf972a58c51e2f0994e3de8
Closes-Bug: #1688682
2017-05-06 10:06:17 +08:00
Jeffrey Zhang
e05b3ac0e1 Fix panko source and dest file path in ceilometer config
* Use absolute path for panko.conf.j2
* Fix the destination path.

Change-Id: I3abc0bf000be8af3a0cde1f43901245e027bb469
Closes-Bug: #1688681
2017-05-06 09:48:36 +08:00
Bertrand Lallau
5c62baac66 Fix log rotation issue on services
This patch fix log rotation issue on the following services/program:
- ceph
- chrony
- collectd
- congress
- etcd
- influxdb
- ironic
- kibana
- kuryr
- mongodb
- rally
- tempest
- trove

Change-Id: I1246c071b7340b3267226cefb64a04da1cce9f26
Closes-Bug: #1688649
2017-05-05 22:37:25 +02:00
Eduardo Gonzalez
dbab46ee8b Fix haproxy restart while genconfig
At this moment haproxy  config.yml notifies
handlers that are not skipped when running
genconfig

Change-Id: I2eab18e3ba709075f21f8dce323fcb2acef43de5
Closes-Bug: #1664674
2017-05-05 19:56:27 +01:00
Eduardo Gonzalez
2eeca32dae Fix neutron-openvswitch-agent crash on multinode
neutron-openvswitch-agent enter in restarting status in multinode
deployments because br-ex is no longer created on compute nodes
unless DVR is enabled.

This change add a conditional to only add bridge_mappings when
the node is in network or in compute when dvr is enabled.

Change-Id: I9d49158127af7fd78ecbc3d64a7509d1e4ae5672
Closes-Bug: #1688571
2017-05-05 15:56:51 +02:00
Vladislav Belogrudov
97a5b1ecc3 Fix iSCSI mounts for Cinder backup container
Cinder backup requires iSCSI volume and host mount for backing
any iSCSI volume, not only from LVM backend. 'enable_iscsid' is
a catch-all setting for all iSCSI backends that also runs
necessary iSCSI client on the same host.

Change-Id: Ic486a9f72820df2e0a48a18166f043e5ddb5bd0a
Closes-Bug: #1688519
2017-05-05 13:48:27 +03:00
Eduardo Gonzalez
de31cdc77b Fix heat ec2 keystone auth
Heat-api-cfn need to point to keystone v3 version.
Otherwise heat fail while authenticating for scaling policies.

``AWS authentication failure.``

Change-Id: I1950cd7359d8ad589feced870de76f02ef2c8a76
Closes-Bug: #1672431
2017-05-05 08:05:33 +00:00
Mark Goddard
033308c475 Advertise public heat endpoint for wait conditions
Wait conditions are commonly used by instances to signal various events
back to heat. These instances are unlikely to have access to the
internal API endpoints. OpenStack-Ansible had a similar issue[1] back in
juno and changed to use the public endpoint[2]. The code has now moved
but the default is still in place[3].

This change configures heat to advertise the public API as the endpoint
for wait conditions.

[1] https://bugs.launchpad.net/openstack-ansible/+bug/1459414
[2] https://review.openstack.org/#/c/186221/
[3] b1721a7460/defaults/main.yml (L48)

Change-Id: Id1d66aaa298efa8407db579a899a5aacebe1e6c7
Closes-Bug: #1688331
2017-05-04 18:54:34 +01:00
Paul Bourke
6f9ab26f68 Fix permission on chrony.conf
Chrony drops root to user 'chrony' on startup, so it's config file
should be owned by user this user.

Change-Id: I8ba976cc685d2e50e09211f67507487a1e0e3c5f
2017-05-04 10:40:52 +01:00
shaofeng_cheng
5f197ed496 Update docker_py_version_min version
Update docker_py_version_min version to 1.8.1.

see:
https://github.com/openstack/kolla-ansible/blob/master/requirements.txt

Change-Id: I0780de04826d50e1bfe749f66ab8fb6dae2a359f
2017-05-04 17:14:36 +08:00
Jenkins
b6d370ca43 Merge "mount /run in sahara-engine container" 2017-05-04 06:40:27 +00:00
Jenkins
e299f1e063 Merge "Fix saraha-engine authencation issue" 2017-05-04 06:38:34 +00:00
Jeffrey Zhang
b1f015616c Add timeout parameter for precheck tasks
wait_for module waits 300 seconds for the port started or stopped.  This
is meaningless and useless in precheck. This patch change timeout to 1
seconds.

Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
Closes-Bug: #1688152
2017-05-04 09:02:25 +08:00
Jenkins
e8bb3d4e83 Merge "Add sudo command for non-root account to mount osd" 2017-05-03 15:21:35 +00:00
Jenkins
abd86ecd13 Merge "Fix Grafana config file template to use variables" 2017-05-03 13:33:26 +00:00
Jenkins
58a5e17dcc Merge "Remove kolla_logs_volume unused variable" 2017-05-03 13:30:59 +00:00
Jenkins
067fb6829f Merge "Magnum: add oslo_messaging_notifications config" 2017-05-03 13:25:10 +00:00
Jenkins
1284a1b7c7 Merge "Don't configure external bridge on computes if DVR is disabled" 2017-05-03 12:24:12 +00:00
Vladislav Belogrudov
198ecb7411 Don't configure external bridge on computes if DVR is disabled
Change-Id: I9978cb714e423863afd5b892419f4176b6d73d92
Closes-Bug: #1686761
2017-05-03 11:47:50 +00:00
Jenkins
5dedf0d05e Merge "Update Keystone haproxy config to balance based on source ip" 2017-05-03 09:42:41 +00:00
junbo
73740ff670 mount /run in sahara-engine container
sahara-engine service need to run ip netns command in container
when set use_namespaces=true in saraha.conf

Change-Id: I8b10cdd0127e1895ae40dfeed1a5910e6bcd701c
Related-Bug: #1687602
Closes-Bug: #1687624
2017-05-03 08:23:39 +08:00
junbo
0bb72638db Fix saraha-engine authencation issue
Change-Id: Ieb6ad24bf76efaafa0f8e7391ad671ce094a8ece
Closes-Bug: #1687635
2017-05-03 08:20:59 +08:00
Bertrand Lallau
2afc869d0f Configure Kibana default index pattern
When Kibana interface is opened for the first time, it requires creating
a default index pattern. To view, analyse and search logs, at least one
index pattern has to be created.
This patch automate "flog-*" default index pattern creation and set it
has default config.

Partially-implements: blueprint default-kibana-dashboard
Change-Id: Ie36696f9ad38ba7e49e65e0793a3b98d9f03ee8d
2017-05-02 22:30:47 +02:00
Jenkins
73a8459ad0 Merge "Fix Kibana checking free port interface" 2017-05-02 16:47:49 +00:00
Jenkins
5bf62c937c Merge "Cleanup /lib/modules volume mounts in containers" 2017-05-02 12:15:41 +00:00
Jenkins
defc49448b Merge "Add compute inventory precheck" 2017-05-02 08:05:17 +00:00
Jenkins
407457bbf8 Merge "kolla_toolbox: allow docker api version to be specified" 2017-05-01 13:13:39 +00:00
Jenkins
fdaee18e81 Merge "Fix neutron agents restarted on ml2 config change" 2017-04-27 15:56:07 +00:00
Jenkins
233f2b6de4 Merge "Update simple_cell_setup to manual creation" 2017-04-27 11:33:39 +00:00
Jenkins
141f19baf6 Merge "Add OS_REGION_NAME to admin-openrc.sh.j2" 2017-04-26 14:44:34 +00:00
Jenkins
6cddf8dc5a Merge "Cleanup privileged attribut usage in containers" 2017-04-26 14:43:52 +00:00