7225 Commits

Author SHA1 Message Date
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
Eduardo Gonzalez
14776719e8 Fix folder creation at quickstart
mkdir to create /etc/kolla/config/nova fails if config
folder is not created.

This change adds `-p` to create both config and nova folders

Change-Id: Ibceaa437834cbba681b30c418da3c15d75d49945
2017-04-25 16:39:35 +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
118e1d8566 Merge "Add release note for versionless keystone endpoint" 2017-04-25 01:57:07 +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
Jenkins
60b5b495a2 Merge "Fix the remove mariadb volume failed" 2017-04-24 12:53:52 +00:00
Jenkins
e26f9f876d Merge "Add kolla-ansible to operating-kolla.rst document" 2017-04-24 11:50:22 +00:00
Jenkins
c3e274f21d Merge "Fix swift-ring-builder path for container" 2017-04-24 11:44:53 +00: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
8b58515e5d Merge "Development Environment With Vagrant link not working" 2017-04-24 01:39:09 +00:00
Surya Prakash Singh
8d12087a13 Development Environment With Vagrant link not working
In quick start added the correct link which can be used
to setup the development environment with vagrant

Change-Id: Id3eabe3da05264058fed3136acc4cd270b5134ae
Closes-Bug: #1681978
2017-04-24 01:25:51 +00:00
shaofeng_cheng
ae3310f4d4 Fix swift-ring-builder path for container
Change-Id: Ie080e64a0232ab2a3116003890c7b0550001db72
2017-04-22 17:52:50 +08: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
6340f06bb9 Merge "Remove image_format config section" 2017-04-20 14:13:37 +00:00
Jenkins
ad7c7f1bb2 Merge "Remove graphiz from test-requirements.txt" 2017-04-20 14:11:56 +00:00
Jenkins
d0cc2cc154 Merge "Remove python-barbicanclient from test-requirements.txt" 2017-04-20 14:09:38 +00:00
Jenkins
49d0b205d8 Merge "Remove python-swiftclient from test-requirements.txt" 2017-04-20 14:09:02 +00:00
Jenkins
3e6ae46a2d Merge "Remove python-heatclient from test-requirements.txt" 2017-04-20 14:07:53 +00:00
Jenkins
7bee043bce Merge "Fix the path of firewall plugin in kolla-ansible." 2017-04-20 10:20:10 +00:00
Jenkins
fd575d7932 Merge "Mount /lib/modules folder for cinder-volume container" 2017-04-20 10:13:29 +00:00
Jenkins
baa3669413 Merge "Fix troubleshooting guide debugging section" 2017-04-20 10:00:56 +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
shaofeng_cheng
cd31eaa249 Remove image_format config section
If the reference to the external-ceph-guide file configuration,
glance only supports raw image format.
I test can work normally of qcow2 image.
If enable ceph in kolla,the config section is not config.
see:
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/glance/templates/glance-api.conf.j2

Change-Id: Ie42be099692049b9f07e869e833b62000cff9dcc
2017-04-20 14:28:21 +08: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
Bertrand Lallau
6160f42fac Fix troubleshooting guide debugging section
Kibana index name prefix to create was wrong.
As describe in
'kolla-ansible/ansible/roles/common/templates/conf/output/01-es.conf.j2'
index prefix is "flog".

Change-Id: I6c2a38808258a8968024bcf8992353ff9672e0f9
2017-04-19 16:45:20 +02: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
Jenkins
679009348e Merge "Set fluentd output to elasticsearch to use elasticsearch_address" 2017-04-18 14:56:51 +00:00
Jenkins
570fcdf5a1 Merge "Use ironic-inspector user for ironic inspector" 2017-04-18 14:30:38 +00:00
zhangdongqi
e082217727 neutron_vpnaas_agent: kolla_docker parameter 'volumes' is wrong
In task "Running Neutron vpnaas bootstrap container",
parameter "volumes" of kolla_docker should be
"{{ neutron_vpnaas_agent.volumes }}"
NOT
"{{ neutron_vpnaas_agent.image }}"

Change-Id: Id7c95d4d6f53dfab384e387951eecf4d87459de
Closes-Bug: #1683669
2017-04-18 22:14:56 +08:00
Jeffrey Zhang
54c3cec0f1 Add fwaas extension in l3 agent when neutron fwaas is enabled
Change-Id: I3b3ad184dea6b93f21c8778386c04a93b38bc2af
Closes-Bug: #1683802
2017-04-18 21:19:59 +08:00
Eduardo Gonzalez
5dfb81efc8 Update simple_cell_setup to manual creation
Simple_cell_setup is not recomended to use.
Is better create map_cell0 manually, create base
cell for non cell deployments and run discover_hosts.

This PS migrate actual config to make use of described
workflow at [1]. We our actual workflow we're running
into the issue that services are not mapped until cells
are present, breaking deployment waiting for compute
services to appear.

[1] https://docs.openstack.org/developer/nova/cells.html#fresh-install

Change-Id: Id061e8039e72de77a04c51657705457193da2d0f
Closes-Bug: #1682060
2017-04-18 12:09:13 +01:00
Bertrand Lallau
0a096d909d Cleanup /lib/modules volume mounts in containers
"/lib/modules" volume mount has been introduced for the following
reason:
- "ebtables" in case of neutron-linuxbridge-agent container
- "ipsec" in case of neutron-vpnaas-agent container
- "openvswitch" in case of openvswitch-vswitchd container

For all other containers this is not required and must be removed.

Change-Id: I11610c060f05d2c993394adabd15aa080de3bc24
2017-04-18 10:45:31 +00:00
Vladislav Belogrudov
a7c47a0539 Allow use of any backup backend for any volume backend
Currently if Ceph is used for Cinder volumes the only choice of
backup driver is Ceph. It should be possible to use any backup
driver for any volume type, e.g. iSCSI volumes can go to Ceph
based backup storage.

Change-Id: Ifc8a767b9030391580de6a24383bb6b87053835d
Closes-Bug: #1683715
2017-04-18 13:15:02 +03:00
Jenkins
c88a7c4b5a Merge "Cleanup /run/netns host directory volume mount" 2017-04-18 09:32:26 +00:00
Bertrand Lallau
321a6e5484 Cleanup /run/netns host directory volume mount
"/run/:/run/:shared" is previously declare as "mounted" in container,
hence "/run/netns/:/run/netns/:shared" directory volume mount is not
required and must be removed.

Related-Bug: #1683584
Change-Id: Ia7032843c493e8a883edd2f4ec12e0fdefc823a3
2017-04-18 09:05:41 +02:00
Jenkins
93a220aaf9 Merge "Switch kolla_docker to rely on SHA256 for image changes" 2017-04-18 04:35:14 +00:00