2701 Commits

Author SHA1 Message Date
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
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
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
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
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
Jenkins
42ef7ddffb Merge "Fix 'node_config_directory' variable bad usage" 2017-04-18 04:02:53 +00:00
Jenkins
0fe024df04 Merge "Fix panko mongo idempotency" 2017-04-17 14:33:30 +00:00
Jenkins
5be2a8d6a0 Merge "Fix ceph role set target_max_bytes for cache pools" 2017-04-17 11:37:05 +00:00
Mark Goddard
07453f3460 Use ironic-inspector user for ironic inspector
This change updates the ironic_inspector container deployment tasks
to use the new kolla ironic-inspector image (see kolla change
Ibdc5ba35db61f4974d4282aff34bcb5ccd952d45). The new image uses the
ironic-inspector user rather than the ironic user to execute the
ironic inspector service as this more closely aligns with what is
typically done by downstream packagers (specifically, Ubuntu and
RDO).

This change sets the owner and group to ironic-inspector when
copying configuration files into place, and uses the log directory
/var/log/kolla/ironic-inspector.

Change-Id: I8579d5c2d741636406ff60bececc74b50743b83e
Depends-On: Ibdc5ba35db61f4974d4282aff34bcb5ccd952d45
Closes-Bug: #1624457
2017-04-17 09:00:00 +01:00
Jenkins
63d729be88 Merge "Remove neutron_metadata_socket volume from agents" 2017-04-17 03:27:15 +00:00
shaofeng_cheng
cd103b187b Fix ceph role set target_max_bytes for cache pools
Ceph is not able to determine the size of a cache pool automatically,
so the configuration on the absolute size is required here
otherwise the flush/evict will not work.
see
http://docs.ceph.com/docs/master/rados/operations/cache-tiering/

Change-Id: I4d4abb50787093a292e1ee6eb790c10ecf5ccb94
Closes-Bug: #1654375
2017-04-14 18:11:33 +08:00
Jenkins
55b51c2a3e Merge "Fix the "Creating the Zun service and endpoint" failed" 2017-04-14 05:37:28 +00:00
Jenkins
62c5ba1e94 Merge "Remove the variable redefined in deploy-servers.yml" 2017-04-13 15:39:25 +00:00
Bertrand Lallau
3170b6c2a7 Fix 'node_config_directory' variable bad usage
Some roles made a bad usage of the 'node_config_directory' variable.

As described here:
https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L16

'node_config_directory' is the directory to store the config files on
the destination node.

This variable MUST be changed to 'node_custom_config'.
Futhermore this will unified all roles.

Closes-Bug: #1682445
Change-Id: Id8d8a1268c79befac8938c1e0396267314b40301
2017-04-13 17:15:24 +02:00
Jenkins
f9e7e8e893 Merge "Split Openvswitch into own role" 2017-04-13 14:39:16 +00:00
Bertrand Lallau
a6a76a7b74 Fix Freezer service config override issue
Freezer service configuration can't be override has describe here:
https://github.com/openstack/kolla-ansible/blob/master/doc/advanced-configuration.rst#L161

Kolla-ansible should look for files in /etc/kolla/config/ but it doesn't
take config files into account. This patch fix it.

Change-Id: Ia7d8d0892d13ba9785951a7b1291abb868fc714b
Closes-Bug: #1682404
2017-04-13 14:00:21 +02:00
Jenkins
d559f8096f Merge "Add gnocchi backend precheckes for ceilometer" 2017-04-12 12:24:13 +00:00
Jenkins
06040e5443 Merge "Congress: remove oslo_messaging_notifications config" 2017-04-12 12:22:00 +00:00
Jenkins
30ca34bc1a Merge "Fix outdated InfluxDB configuration" 2017-04-12 12:18:09 +00:00
Jenkins
ba81fc8b5e Merge "Revert "Fix Fluentd warn on dnsmasq.log file parsing"" 2017-04-12 12:15:55 +00:00
Jenkins
682ed1c9da Merge "Temporaly fix deploy gate" 2017-04-12 09:31:30 +00:00
zhuzeyu
a308a2c409 Remove the variable redefined in deploy-servers.yml
The 'ansible_python_interpreter' has already defined in /etc/bifrost/bifrost.yml
we should remove the redundant variable

Change-Id: Ie799170d3318a731d31e1f39bcf940a1b220bd53
2017-04-12 15:53:36 +08:00