2485 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Bertrand Lallau
5fe11a8fcb Fix neutron agents restarted on ml2 config change
The following Neutron agents:
- neutron-metadata
- neutron-dhcp-agent
- neutron-l3-agent
- neutron-lbaasv2-agent
- neutron-vpn-agent
doesn't require ml2_conf.ini file.
ml2_conf.ini file is used to managed L2 network configuration.
This config doesn't have to be in DHCP, L3, metadata agents...

We should remove it to avoid restarting these agents in case of
ml2_conf.ini file modification.
Only neutron-server, neutron-openvswitch-agent,
neutron-linuxbridge-agent must be restarted.

Closes-Bug: #1677163
Change-Id: I0876b8a3845d1c2bccd996426a65df1a3a6f7085
2017-04-26 14:26:21 +00:00
Eduardo Gonzalez
fee4eee0be Add compute inventory precheck
With nova cells_v2 at least one compute node is required in
inventory to deploy nova.

This change add prechecks to ensure at least 1 compute is present.

Change-Id: I242518ad3bd149ad245515299301777f6b3bdd08
Closes-Bug: #1686410
2017-04-26 16:18:15 +02:00
Jenkins
0181d88e21 Merge "Grafana: automatically set InfuxDB datasource" 2017-04-26 12:18:34 +00:00
Bertrand Lallau
56b185c3dd Cleanup privileged attribut usage in containers
Rally and Tempest containers doesn't required "privileged" attribut.
This must be cleanup.

Change-Id: Ic8de5162523314dd78dad7d25b36145350749bcc
2017-04-26 10:55:40 +02:00
Bertrand Lallau
29844253c1 Grafana: automatically set InfuxDB datasource
In order to automate Grafana configuration, this fix automatically
set the InfluxDB datasource. This avoid doing a annoying manual
configuration after Kolla-ansible deployment.

Change-Id: I2b1a63fd371966192f1df0a82cee4711c6324710
2017-04-25 22:20:32 +02:00
Jenkins
3aba9c8e36 Merge "Add YAML missing dashes at start of file" 2017-04-25 17:54:43 +00:00
Bertrand Lallau
1d003a54ca Add YAML missing dashes at start of file
YAML files are supposed to start with three dashes to indicate the
beginning of the document.
Nota: Ansible won’t complain if they are missing.

Change-Id: I5cd417971f7af2977e7527b7b454a999718cfcda
2017-04-25 17:14:33 +02:00
Sam Betts
9ba235f0ce Ensure that /tftpboot/pxelinux.cfg is owned by Ironic
The pxelinux.cfg directory gets created but isn't owned by the correct
user. This patch ensures that the permissions are correctly updated.

Change-Id: Ifcb80018b72d40c5d4eccf059d1c3442b71be6f8
2017-04-25 14:00:51 +01:00
Jenkins
21e8948839 Merge "Fix senlin workers and events" 2017-04-25 10:09:33 +00:00
Jenkins
79fcc4a411 Merge "Fix Haproxy reconfigure" 2017-04-25 01:43:23 +00:00
shaofeng_cheng
24beec2e47 Add OS_REGION_NAME to admin-openrc.sh.j2
Change-Id: I6c769e5231e9d0e327ef6b9928666369d694f5fe
Closes-Bug: #1685692
2017-04-25 09:29:50 +08:00
Bertrand Lallau
e6e48c30e3 Tempest: remove all oslo.policy related stuff
The OpenStack Integration Test Suite (Tempest) doesn't use oslo.policy
library.
oslo.policy is not used in codebase and not set in requirements.txt:
https://github.com/openstack/tempest/blob/master/requirements.txt#L14

All policy.json related stuff must be removed.

Change-Id: I0d8ee710979a7eebba1e8fc176450e4c0bcbe757
2017-04-24 10:18:11 +02:00
Jenkins
0b2fb2f9a5 Merge "Optimize reconfigure action for vmtp" 2017-04-21 08:48:55 +00:00