2842 Commits

Author SHA1 Message Date
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
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
dfb115a047 Fix Telegraf container restarting issue
Telegraf always restart containers when doing reconfigure, due to
"pid_mode" attribut missing during compare_container.
Hence compare_container always evaluated to True.

Change-Id: I335816ebf99a218a5400b2baae5b55788459bfff
Closes-Bug: #1686349
2017-04-26 11:11:18 +02: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
Pavel Glushchak
87ce5cd603 kolla_toolbox: allow docker api version to be specified
When docker-py is newer than docker daemon following
APIError may be raised:

client is newer than server (client API version: 1.24, server API version: 1.22)

So it's better to pass api_version='auto' to docker client,
so client will discover suitable version if not specified.

Change-Id: Ib747ed91b315ca762936a6efa6b71a29b2d2ae1e
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2017-04-24 17:54:44 +03: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
shaofeng_cheng
3a67e5727b Add copy ceph keyring files conditions in cinder
If used external ceph for cinder,the ceph storage not enable cephx.
So ceph keyring file not does not exist.
Task throw warning of copy over ceph keyring files.

Change-Id: Ibb3cd536c982ad9dede3c2a0ecfc02cdf6e4c1b9
Closes-Bug: #1684461
2017-04-21 09:58:50 +08:00
Bertrand Lallau
df259788ba Fix Kibana checking free port interface
In "Checking free port for Kibana Server" task the storage interface is
used instead of the api interface one.
This patch fix it.

Change-Id: I0b38688aa3774ae4a629cce3161a730fff907a9c
2017-04-20 23:04:48 +02:00
Jenkins
7bee043bce Merge "Fix the path of firewall plugin in kolla-ansible." 2017-04-20 10:20:10 +00:00
leiyashuai
22e3235336 Fix the path of firewall plugin in kolla-ansible.
The path of firewall plugin in kolla-ansible is wrong.

Change-Id: I979af769d8bc31e3b6373a629e9e090b987d0058
Closes-Bug: #1684459
2017-04-20 00:42:19 -07:00
Jeffrey Zhang
13e5942a57 Mount /lib/modules folder for cinder-volume container
When using cinder lvm backend storage driver, lvcreate will load dm_*
linux modules when need. So /lib/modules is needed by cinder_volume
container.

Change-Id: I80985794d6aaa6b4ddc71680a97e0d07085dafa7
Closes-Bug: #1684378
2017-04-20 14:00:12 +08:00
Jenkins
1f4d70851a Merge "Allow different configuration of iSCSI helper" 2017-04-19 15:14:15 +00:00
Jenkins
8297596c81 Merge "Add panko.conf file in ceilometer container" 2017-04-19 15:08:54 +00:00
Vladislav Belogrudov
8263dafeb0 Allow different configuration of iSCSI helper
Currently Cinder configuration hard-codes tgtadm as the only
iSCSI management utility. tgtd and tgtadm are older tools to
manage iSCSI volumes. Newer versions of Linux distros use
targetcli and kernel based iSCSI facilities (LIO) and can be
a preferred way for some users.

Change-Id: I10c0a7d596994a9201218e58ca2ad184774a8ce2
Closes-Bug: #1684139
2017-04-19 17:33:51 +03:00
Jenkins
0c9f6ae36f Merge "Allow use of any backup backend for any volume backend" 2017-04-19 11:51:08 +00:00
Jenkins
ad75dad522 Merge "neutron_vpnaas_agent: kolla_docker parameter 'volumes' is wrong" 2017-04-19 03:57:42 +00:00
Jenkins
f96c2992d8 Merge "Add fwaas extension in l3 agent when neutron fwaas is enabled" 2017-04-18 16:30:55 +00:00
Jeffrey Zhang
0defa3b3ea Add panko.conf file in ceilometer container
When using panko event dispatcher and publisher in ceilometer, it
depends on panko.conf file.

Change-Id: Ie91c072b233597758955b70bd526b2603b86e995
Closes-Bug: #1672241
2017-04-19 00:17:02 +08:00