7349 Commits

Author SHA1 Message Date
Jenkins
322eb353a2 Merge "Fix "Enable influxdb datasource" random error" 2017-06-16 11:22:46 +00:00
Jenkins
10a67dfe9c Merge "Fix doc warning" 2017-06-16 10:51:51 +00:00
Jenkins
fca0b3702d Merge "Removing ovs bridge before destroying container" 2017-06-16 10:51:44 +00:00
Jenkins
a2b5b92208 Merge "Simplify condition check on standalone services" 2017-06-16 10:40:16 +00:00
Jenkins
17163fb5c3 Merge "Skydive: fix facts retrieved two times" 2017-06-16 10:37:44 +00:00
Jenkins
4556bab4ba Merge "Add Hyper-V role" 2017-06-16 10:32:51 +00:00
Eduardo Gonzalez
c3b72a7833 Add if enable_outward_rabbitmq in haproxy.cfg
Haproxy fails to deploy if outward group is not
in inventory.
This change adds an optional outward setting for
haproxy

Change-Id: I351578582b1057bb48ac69859583a5db13f0bfb8
2017-06-16 10:34:59 +01:00
Jenkins
31d8fb670b Merge "Updated from global requirements" 2017-06-16 08:01:27 +00:00
Jenkins
93bcf4b16a Merge "Replace always_run by check_mode" 2017-06-16 07:17:55 +00:00
OpenStack Proposal Bot
7c3b1c8668 Updated from global requirements
Change-Id: I18803a33abeb65b4725691e2e025fe65506ab98c
2017-06-15 16:24:59 +00:00
Bertrand Lallau
335a19f750 Skydive: fix facts retrieved two times
Facts are retrieved a second time if skydive is enabled.
This patch fix it.

Change-Id: I4fc15daf59b093e4b29ff9f1fc703c8b2a65b238
2017-06-15 17:50:12 +02:00
Bertrand Lallau
991695a272 Simplify condition check on standalone services
Condition check are already performed here:
https://github.com/openstack/kolla-ansible/blob/master/ansible/site.yml
In order to simplify codebase, these checks can be removed for
standalone services.

Change-Id: Ib9842cd5363a1c7e56234a5e91dc264f89e2838f
2017-06-15 17:15:17 +02:00
Paul Bourke
aff43f73e3 Add vhost to outward rabbitmq for Murano
Change-Id: I09654f29b59e0327ee1a7961e0990e4c6927e8fc
Closes-Bug: #1620374
2017-06-15 14:19:33 +01:00
Dan Ardelean
58ce2b54ea Add Hyper-V role
Implement an ansible role that adds Hyper-V as a compute node for
OpenStack using Kolla.

This will install and configure the Nova Compute service, the
Hyper-V Neutron agent and FreeRDP-WebConnect.
https://docs.openstack.org/ocata/config-reference/compute/hypervisor-hyper-v.html

Change-Id: I601835b0769c5ff173a980a05a752391ae8cc82f
Implements: blueprint hyperv-ansible-role
Co-Authored-By: Alessandro Pilotti <apilotti@cloudbasesolutions.com>
2017-06-15 16:12:31 +03:00
Paul Bourke
d8fe3ea780 Add a new 'outward' rabbitmq instance
Certain services such as Murano and trove require access to a rabbitmq
instance from tenant networks. [0]

Exposing the internal rabbitmq to end users is a security hole, hence
there are two options, 1) use vhosts in the existing rabbitmq, or two a
separate rabbitmq instances. Given the importance of rabbitmq to the
OpenStack deployment, we have decided to go with a separate instance.
Refer to [1] for more detail on the various options.

This change makes the rabbitmq role generic so that it can be reused, in
this case to start 'outward_rabbitmq'. It needs to be exposed via
haproxy both for network isolation and also because this is what Murano
configuration requires.

Follow on patches will be added to add a vhost in this outward instance
for Murano and other services which require access.

Based on the original work by bdaca[2]

[0] http://murano.readthedocs.io/en/stable-liberty/intro/architecture.html
[1] http://lists.openstack.org/pipermail/openstack-dev/2016-December/109091.html
[2] https://review.openstack.org/#/c/374525

Change-Id: Ib2bcc7ed4bf4f883a7cd1dfad3db89201e3cfd8d
Partial-Bug: #1620374
Depends-On: I020eb6219f89a310451becde41f6f1c7f54baadd
Co-Authored-By: Bartłomiej Daca <bartek.daca@gmail.com>
2017-06-15 11:12:22 +00:00
Duong Ha-Quang
41686edba9 Replace always_run by check_mode
always_run is deprecated and removed in Ansible 2.4
check_mode is introduced in Ansible 2.2 and Kolla-ansible bump Ansible to
2.2.0 so it's safe to replace always_run by check_mode now.

Change-Id: Id1028d38b7bde30a6afe17b319dcdc77907914ab
Closes-Bug: #1643633
Implements: blueprint migrate-to-ansible-2-2-0
2017-06-15 08:10:33 +00:00
Jeffrey Zhang
50803ee803 Revert "Enable port_security in gate to fix the neutron broken"
This reverts commit 94a882babe7210cdec0029f4796f2e1b83df116b.

Upstream has fix this issue by Ice89ad9dd486ad5fcac534ef5f7d8aae3b6b0f97

Change-Id: Ib17f93e4030c6f7da4e32ee84fcc5f7139e57895
Closes-Bug: #1694420
2017-06-15 09:25:48 +08:00
Jenkins
eefa4f6522 Merge "Change Solum keystone v2 to v3" 2017-06-14 15:11:35 +00:00
Jenkins
51891c17c0 Merge "Add /lib/modules to neutron_openvswitch_agent" 2017-06-14 13:40:27 +00:00
Bertrand Lallau
fdeffed03e Add Skydive startup guide documentation
Just a simple startup guide for Skydive

Change-Id: I79c175c592fba9d078cee9b1b948597ec60bc68c
2017-06-14 13:07:32 +00:00
Jenkins
d7da159487 Merge "Fix cron restarting issue" 2017-06-14 12:45:49 +00:00
Jenkins
167d795ee9 Merge "Update loopback instructions in cinder docs" 2017-06-14 12:20:40 +00:00
Paul Bourke
89922b60f2 Update loopback instructions in cinder docs
losetup/fallocate are better and match what we have for Swift.

Change-Id: I1147374017e4f1cb3f3e970e048ba565388cd86f
2017-06-14 13:04:23 +01:00
Vladislav Belogrudov
91789c4dfd Add /lib/modules to neutron_openvswitch_agent
On many systems IPv6 related modules are not loaded by default.
Usually when one runs ip6tables-* commands required modules are
probed. In neutron_openvswitch_agent container /lib/modules
does not exist. The commands fail to process ip6 firewall
rules as consequence.

Change-Id: Ic4e72eb4f5304f013b7a09ddd31794cfafa67e0b
Closes-Bug: #1615715
2017-06-14 14:37:37 +03:00
Jenkins
e804bf5cc6 Merge "Support for increasing thread cache size in TCMalloc." 2017-06-14 11:31:39 +00:00
Jenkins
a671320788 Merge "Bump min Ansible version to 2.2.0" 2017-06-14 08:08:27 +00:00
Jenkins
ca95e2c4e4 Merge "Add a Kolla 'devstack' mode" 2017-06-14 00:02:42 +00:00
Jeffrey Zhang
00a42b8cbe Bump min Ansible version to 2.2.0
Different Y stream version in Ansible is not compatible. Since ansible
2.2.0 is released for a while. It is time for kolla-ansible to bump the
min Ansible version. Then we can remove the annoying WARNING message
in deploying logs and use the new features.

Change-Id: I99f3c5678f6d2d1f93d61c660fbd166184ff6422
2017-06-14 06:57:04 +08:00
Jenkins
c59714ccff Merge "Remove keystone-paste.ini file in kolla" 2017-06-13 14:58:04 +00:00
Eduardo Gonzalez
7ac53ec342 Fix cron restarting issue
Cron is always restarting due dummy environment
variable is None.
This change adds a useless env value.

Change-Id: Iad435bb0671a25bc12c6a6d0d988d555faba76c3
Closes-Bug: #1697706
2017-06-13 16:37:59 +02:00
Eduardo Gonzalez
da49b49b5c Use kuryr for zun network
Zun made mandatory to use kuryr for networking.
This change update zun config to use kuryr.
Also updates documentation.

Change-Id: I9a55e390709b7e21d3efbd4be17a36db85cd8521
2017-06-13 14:39:26 +02:00
Eduardo Gonzalez
f2fd735d51 Fix kuryr ansible deployment
Missing config options in kuryr.conf
Missing kuryr logging
Remove useless bootstrap task, justs create a directory
Wrong user permissions in config.json file.
Missing volumes
Missing container capabilities

Depends-On: I4c08a21df263fdefe1fe991cb7ad41cfee65019d
Change-Id: Id4577a78ebf3f1cda5ee36d14e2cc017f38e0f07
Closes-bug: #1697480
2017-06-13 13:47:29 +02:00
Jeffrey Zhang
6ce222af3e Remove keystone-paste.ini file in kolla
keystone-paste.ini file is introduced by
I3a3ca2e74c0ae341105d3481f97956c6da473046 for a security risk of
admin_token_auth middleware. Now this middleware is removed by
I57586ccfa0ad1309cc806d95377dc1ecad015914. So it is safe to use upstream
keystone-paste.ini file.

This patch also keep custom paste file feature. Just put the file to
/etc/kolla/config/keystone/keyston-paste.ini path.

Closes-Bug: #1695023
Partially-Implements: blueprint custom-paste
Change-Id: Ieb983b6a9edb6a156928f6b56a4bd2dbed4281e2
2017-06-13 01:38:29 +00:00
Michal (inc0) Jastrzebski
8530bc10a2 Enable deploying ceph on loopback devices
Since whole issue was related to check whether user wants to wipe
device, loopbacks can be opt out from this warnings

Change-Id: Idd823b282e3055457ed041a98c848deb8509cc30
Closes-Bug: #1667074
2017-06-12 11:19:13 -07:00
Christian Berendt
20df814528 Use templates for keystone domain specific configurations
Change-Id: Idb40cbed763382bef9965c6b090e71156b671590
2017-06-12 16:42:02 +02:00
zhubingbing
8818e33e86 Change Solum keystone v2 to v3
Solum default use keystone v3
https://github.com/openstack/solum/blob/master/solum/common/solum_keystoneclient.py#L40

Change-Id: I85f73e495ad800f614850cd27fa0e7153dcfc685
2017-06-12 20:19:13 +08:00
Jenkins
381c18975c Merge "Change zun rewrite rule number in fluentd" 2017-06-12 12:12:42 +00:00
Jenkins
0435c6d99e Merge "Update Vagrant dev environment" 2017-06-12 10:59:13 +00:00
Bertrand Lallau
49c083f555 Fix "Enable influxdb datasource" random error
Sometimes the "Enable influxdb datasource" task failed with "503 Service
Unavailable" error. Waiting for grafana port UP seems not always enough,
it requires to wait for application ready.

Change-Id: I3a27b3086698b89a80a3f585beb810831289ae7a
Closes-Bug: #1697213
2017-06-12 10:56:44 +00:00
Jenkins
a5dfa415a9 Merge "Remove deprecated options designate" 2017-06-12 09:57:24 +00:00
Jenkins
eed4579ea7 Merge "Add default_boot_option configuration" 2017-06-12 09:55:06 +00:00
Eduardo Gonzalez
f3a294da38 Change zun rewrite rule number in fluentd
Zun rule number causes conflict with rule 24,
it should be updated to the next free number.

Change-Id: Idbe346bda4ca5dc50f6b5e63818b12af33d532a3
2017-06-12 10:43:34 +01:00
Jenkins
2359d75a9e Merge "Remove symlink from fluentd global conf" 2017-06-12 09:32:26 +00:00
Jenkins
b62e1d9574 Merge "Add the ceph keyring files related task condition" 2017-06-12 09:32:10 +00:00
Jenkins
c272b8ec16 Merge "Fix sed replacement command in Ubuntu's install_docker" 2017-06-12 09:00:08 +00:00
Juan J. Martinez
056ecc55ea Update Vagrant dev environment
- Updated Ubuntu image to use 16.04.
 - VirtualBox provider to use centos/7 image + vagrant-vbguest plugin.
 - Improved docs so it is clear that vagrant-vbguest plugin is only
   required with VirtualBox.
 - Clarified comment and made it independent of the release.
 - Refactored the kolla and kolla-ansible paths to be based on the
   username used by Vagrant, that can change depending on the image.

Change-Id: I23d84dcc3297c43eb12eff9c443d282281fc6c82
2017-06-12 07:33:40 +00:00
Jenkins
53a4f23469 Merge "Neutron oslo_messaging_notifications config error" 2017-06-12 07:07:12 +00:00
Jenkins
cd762e8efb Merge "Nova oslo_messaging_notifications config error" 2017-06-12 07:07:05 +00:00
Yotaro Konishi
36a3994ac1 Fix service_type of Octavia
Currently service_type value of Octavia is 'application-catalog', which is obviously wrong.
It must be 'load-balancer'.

See https://developer.openstack.org/api-ref/load-balancer/v2/index.html

Change-Id: Ic457e6d06adb9541273dd3bf191d60cb4421e1c9
Closes-Bug: #1697337
2017-06-12 11:40:41 +09:00
Jenkins
8e6340ae8a Merge "Revert "Avoid facts gathered twice when deploying with --limit"" 2017-06-11 20:39:41 +00:00