Commit Graph

412 Commits

Author SHA1 Message Date
Jenkins
9c43de8955 Merge "Add Swift backend support to Glance" 2017-08-17 14:14:08 +00:00
guochao
d3e07342a5 Add Swift backend support to Glance
Support setting Swift as Glance storage backend.

Change-Id: Idddbf2ce741e0486d60e1de88c77a7f0332a5a2b
2017-08-17 05:43:05 +00:00
Jenkins
3393054f9b Merge "Add vSphere support to nova_compute" 2017-08-15 14:44:06 +00:00
Jenkins
d7a3d81d50 Merge "Fix a typo in globals.yml: replace mathcing with matching" 2017-08-11 06:21:50 +00:00
chao liu
921530b7e4 Fix a typo in globals.yml: replace mathcing with matching
Change-Id: I86c9e6de3b6aa3dd866c197a036dde728f2caf32
2017-08-10 00:25:15 -07:00
Sean Mooney
781d84658d introduce playbook to ovs with dpdk
- This change creates a new role to
  support deploying ovs with dpdk.
- This change introduces an enable_ovs_dpdk
  variable to enable ovs with dpdk as part of
  the deploy action.
- This change extends the ovs-dpdkctl.sh tool
  to correctly deploy ovs-dpdk on Ubuntu and CentOS
  hosts.
- This change extends the cleanup-host tool
  to correctly uninstall ovs-dpdkctl.sh tool and its
  systemd files if present on the host.
- This change automatically configures userspace
  kernel drivers.

partial-implementes: bp/ovs-dpdk
Change-Id: I55858d81df437e8258705b75426f61ab9b907c7d
2017-08-09 18:43:06 +00:00
guochao
c9eaf9158b Add vSphere support to nova_compute
Implements compute part of the blueprint.
Make virt_type of nova_compute configerable.

Change-Id: I0f37e49e09c4f14a64797506007bb55a6f534f0f
Partially-implements: blueprint kolla-ansible-support-vsphere
Co-Authored-By: shaofeng cheng <chengsf@winhong.com>
2017-08-04 17:15:57 +08:00
Marcus G K Williams
57496c4147 Add OpenDaylight role
Adds role for OpenDaylight deploy.

Change-Id: I1e697ea4d3f33aab4b0f55863a377b39eda8f609
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Co-Authored-By: Jiri Prokes <jirix.x.prokes@intel.com>
Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>
Partially-Implements: blueprint opendaylight-support
2017-08-03 07:39:38 -07:00
Jenkins
815dfe40f6 Merge "Add qdrouterd role for messaging infrastructure component" 2017-07-27 08:23:31 +00:00
Jenkins
fe0f9aa198 Merge "Add vmware DVS support to kolla-ansible" 2017-07-27 05:58:53 +00:00
Pavel Glushchak
0f70b3883d Make cinder-backup service optional
Introduced new option enable_cinder_backup, that controls
whether to deploy cinder-backup service.

Change-Id: Ibb0ca0a478748d4caba4df434456ead0df95ffca
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2017-07-25 11:04:39 +03:00
guochao
70ca560322 Add vmware DVS support to kolla-ansible
Openstack is able to simply manage VLAN network on VMware
Distributed Switch.
DHCP agent can provide dhcp offer with vlan tag provided
by OVS.
Both neutron external nic and physical nic of vCenter/
vSphere should be on a vlan trunk port and can communicate
with each other.

Depends-On: I4655086a3f058ec769d3d37ec6a19565b5ea0841
Change-Id: I6d1629e93f0efeddd2a9000f66cc6f714bebb07c
Partially-implements: blueprint kolla-ansible-support-vsphere
2017-07-24 05:42:14 +00:00
Eduardo Gonzalez
d4e7dfb376 Finish/fix neutron sfc service
Neutron-sfc-agent start its functions with openvswitch.
This change moves sfc configuration into neutron-openvswitch-agent.

Rework config files to use openvswitch when sfc or openvswitch
are used as network plugin.

Also adds sfc extension_driver to ml2

Change-Id: If1ebf9554f6d686cc6d064e698a48f8a6b6172b3
Closes-Bug: #1664493
Depends-On: I60ba1333231a4ae38a041d41e551f7d74fe15e3b
2017-07-19 09:06:24 +01:00
Jenkins
66ed21b991 Merge "Make ceph default cinder backup driver again" 2017-07-19 03:55:12 +00:00
Jenkins
5e04b31175 Merge "Remove ceilometer-api and ceilometer-collector services" 2017-07-18 14:20:58 +00:00
Eduardo Gonzalez
f2c54e6121 Make ceph default cinder backup driver again
Ceph was default backup driver in ceph.
Before this change [0] ceph backup was enabled
when ceph was enabled, but now uses
cinder_backup_driver which defaults to NFS.
This will cause users upgrading from ocata
loose their backup functionallity.

[0] a7c47a0539

Change-Id: I44ef59291c90289abfb8c05726540893ae029d23
2017-07-17 11:15:54 +02:00
Jenkins
8c92888657 Merge "Add VMware DataStore support to cinder" 2017-07-17 08:57:49 +00:00
Jeffrey Zhang
ddad15c07e Remove ceilometer-api and ceilometer-collector services
* remove ceilometer-api and ceilometer-collector service
* use ceilometer-notification to publish message to proper backend
* remove useless ceilometer_database_type and ceilometer_event_type
  variables
* sync event_definitions.yaml, event_pipeline.yaml and pipeline.yaml
  file with upstream

Change-Id: Ib39053cb5f70bd11ee61d3f26d5b28accecd7190
2017-07-17 11:03:44 +08:00
shaofeng_cheng
f12a4a6dad Add VMware DataStore support to cinder
Add VMware VMDK driver supports to cinder service.
The VMware driver for OpenStack Block Storage is recommended and
should be used for managing volumes based on vSphere data stores.
see
https://docs.openstack.org/ocata/config-reference/compute/hypervisor-vmware.html
https://docs.openstack.org/ocata/config-reference/block-storage/drivers/vmware-vmdk-driver.html#block-storage-vmdk-driver

Partially-implements: blueprint kolla-ansible-support-vsphere

Change-Id: Ic3eb7ae34c1e8584945b3d97f8b427ee67ea8fba
2017-07-13 09:44:12 +08:00
Andrew Smith
eeb535aa2e Add qdrouterd role for messaging infrastructure component
Adding the role needed to run the qdrouterd as an infrastructure
component which provides a messaging backend for the
oslo.messaging AMQP 1.0 driver. The qdrouterd will provide direct
messaging capabilities for the RPC messaging pattern in support
of hybrid messaging deployments.

Implements: blueprint qdrouterd-role
Change-Id: I74c654b3c70f61f81c2c7efa87f076a62a4a2dd8
2017-07-10 11:04:43 -04:00
Bertrand Lallau
8b5b3cef4e Clean some Boolean condition checks
* "bool" filter is removed when not required
* 'not' is used instead of '== False' check

Change-Id: I85a5bb9a5ea874ac1c397cbf8de416147d2424c3
2017-07-10 15:00:28 +00:00
Jenkins
7c789a662c Merge "Add VMware NSXV support to neutron" 2017-07-06 22:46:39 +00:00
Jenkins
c355b6feac Merge "Fixed vmware typos" 2017-07-06 13:08:58 +00:00
Eduardo Gonzalez
9170cda73e Add designate dashboard to horizon
This change [0] reverted designate dashboard change because
designate was not finished, we forgot to enable again.

[0] https://review.openstack.org/#/c/408714/

Change-Id: Ibaf7e5a5dc8cbef619d86a0f2b240d384984e8bd
2017-07-05 16:03:38 +01:00
jangseon ryu
89787a74f5 Removing deplicated option from global.yml file.
The external_ceph_cephx_enabled option is duplicated
in the global.yml. So one of them was deleted.

Change-Id: I2eff2f1d00b3344f90488bfe0477fe800bcaa85f
Closes-Bug: #1702395
Signed-off-by: jangseon ryu <jangseon.ryu@navercorp.com>
2017-07-05 04:48:44 +00:00
Michel Rode
8795924eae Fixed vmware typos
Change-Id: Ia2afe54d37732ff33216738d7478ad98f6b84cc4
2017-07-04 22:59:12 +02:00
Jenkins
8f3f675b84 Merge "Enable zun ui when zun enabled" 2017-07-04 15:00:30 +00:00
Jenkins
0a343d1cf0 Merge "Comment designate options at globals.yml" 2017-06-30 09:37:50 +00:00
caoyuan
870836bb19 Enable zun ui when zun enabled
Depends-On: Ie0e02253bd706cad6a568e1574aa4c4bd83744e5

Change-Id: I10e64ea5a104109a7ced3712b29b3b526c55f7f1
Closes-Bug: #1677922
2017-06-29 15:39:27 +08: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
jimmygc
8d1b745f45 Add VMware NSXV support to neutron
Implements NSXV network part of  the blueprint.

Change-Id: I6b92b946667ebbbd2721a99fd299981cfc99693f
Partially-implements: blueprint kolla-ansible-support-vsphere
Co-Authored-By: shaofeng cheng <chengsf@winhong.com>
2017-06-12 09:51:23 +00:00
Jenkins
b62e1d9574 Merge "Add the ceph keyring files related task condition" 2017-06-12 09:32:10 +00:00
Mathieu Rohon
43900bc8b6 Add skydive service
This patch introduces the ansible materials to deploy
the skydive service, that can be used to monitor and
troubleshoot networking in an openstack deployment.

Implements: blueprint skydive-service

Co-Authored-By: Nicolas Bouron <nicolas.bouron@gmail.com>
Signed-off-by: Mathieu Rohon <mathieu.rohon@gmail.com>

Change-Id: I53051a1b0c85380416288e17040a398b6efb62c0
2017-06-06 09:09:10 +02:00
Eduardo Gonzalez
ab4b1ff785 Support OSprofile usage
OSprofile allows user/devs trace OpenStack requests.

Implements: blueprint enable-osprofiler
Co-Authored-By: Bertrand Lallau <bertrand.lallau@gmail.com>
Change-Id: I82ea85d726011ef6cbf99380f395452d6d7f8053
2017-06-02 22:41:33 +02:00
Jenkins
f1b7366e78 Merge "Add copy ceph keyring files conditions in cinder" 2017-05-23 11:23:15 +00:00
Jenkins
2286330829 Merge "Add VMware DataStore support to glance" 2017-05-23 10:57:03 +00:00
shaofeng_cheng
c6d2070511 Add VMware DataStore support to glance
Add configure the VMware Storage Backend in glance-api.
Because of the following document was not updated:
https://docs.openstack.org/developer/glance/configuring.html#configuring-the-vmware-storage-backend

So,see code:
https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/vmware_datastore.py
https://github.com/openstack/glance_store/blob/master/glance_store/backend.py

Partially-implements: blueprint kolla-ansible-support-vsphere

Change-Id: Icb73ec501aabd938eb23257518ce0650a329bef3
2017-05-22 16:55:14 +08:00
shaofeng_cheng
12621ef8f1 Add the ceph keyring files related task condition
If used external ceph for nova,the ceph storage not enable cephx.
So ceph keyring file not does not exist.
Task throw error of check ceph keyring files.

Change-Id: I6257c107b94abf4d363e854229aaab8301d1d694
Closes-Bug: #1684522
2017-04-21 10:06:04 +08: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
Eduardo Gonzalez
17b965356e Comment designate options at globals.yml
Designate options are uncommented in globals while in group_vars/all
are uncommented too.

This change comment designate options to maintain similar style
in globals.yml with other services.

TrivialFix

Change-Id: Iab36590e2eaa60580f438fe73dd5237b43b70ee9
2017-04-19 14:19:39 +01:00
Jenkins
5be2a8d6a0 Merge "Fix ceph role set target_max_bytes for cache pools" 2017-04-17 11:37:05 +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
f9e7e8e893 Merge "Split Openvswitch into own role" 2017-04-13 14:39:16 +00:00
Marcus G K Williams
9badc4de21 Split Openvswitch into own role
Creates Openvswitch role and splits
openvswitch from Neutron role to enable
third party networking solutions that use
Openvswitch or customize Openvswitch.
For example Openvswitch with dpdk or
OpenDaylight.

Change-Id: I5a41c42c5ec0a5e6999b2570ddac0f5efc3102ee
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Partially-Implements: blueprint opendaylight-support
2017-04-11 16:15:35 -07:00
Paul Bourke (pbourke)
93ff74e4d3 Revert "Remove useless variable glance_backend_file"
Turns out this variable is not so useless...! In
I2c167bae6f34a102cd7fe66401d7defe13bf2bf7 we need to determine if a file
based backend is in use in order to determine how many api servers to
start. Without this variable these kind of checks would all need to be
updated every time a new shared storage backend is added.

This reverts commit 867c3bda39.

Change-Id: I335acc12b68b577b33d6cb28675225c40e6231cd
2017-04-06 15:36:10 +01:00
Jenkins
bed0357931 Merge "Remove useless variable glance_backend_file" 2017-03-30 15:11:22 +00:00
jimmygc
867c3bda39 Remove useless variable glance_backend_file
When glance_backend_ceph is not enabled, glance uses file as
backend store by default. Since glance_backend_file is useless
and not overriding glance backend when glance_backend_ceph is
enabled. I think it is good to remove it.

Change-Id: I94cbd8661e43ab296478470ed57d0effc5622ee5
2017-03-30 16:16:47 +08:00
root
2364bee3cc Add zun ansible role
Change-Id: I13cf03d6a97fb94dd7cb309e99a417ad101dc21a
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>
Partially-implements: bp add-zun-ansible-role
2017-03-30 04:15:17 -04:00
Jenkins
e2d60f5264 Merge "Fix can't find /usr/lib/libCryptoki2_64.so in barbican" 2017-03-22 14:11:11 +00:00
zhubingbing
6d0e31f232
Fix can't find /usr/lib/libCryptoki2_64.so in barbican
Link https://docs.openstack.org/project-install-guide/key-manager/newton/barbican-backend.html#simple-crypto-plugin

Change-Id: I351738c2a98090c56ac69e477fbe5ddec4cc5b26
Closes-Bug: #1672001
2017-03-22 20:43:14 +08:00
Thomas O'Neill
94dec80705 Add neutron-bgp-dragent playbooks and sensible defaults.
Depends-On: If7f5c80eb10a1c418785d9c659ae18bfecfcfe33
Change-Id: I9c54f01193b4e12338e71cd1f0a4635dcbfa43fe
Implements: blueprint neutron-bgp-dragent
2017-03-16 10:03:17 +00:00
Paul Bourke
b03906dd8b Enable horizon_backend_database if murano is enabled
Change-Id: I0eed4024b4ca86e458d92bd9703fb4a02feee947
Closes-Bug: #1666618
2017-03-14 14:19:40 +00:00
Eduardo Gonzalez
34b3bcf89d Set empty openstack_release option
globals.yml have the highest var precedence in Ansible vars
as is added in kolla-ansible as -e @globals.yml
Setting openstack_release: "auto" causes error while
deploying/pulling as this var override the fact set in site.yml.

Value in globals.yml should be a real kolla version
(3.0.0, 4.0.0, etc)
Value in group_vars/all works fine with auto.

Change-Id: If99f7b4b1507909c6c2628b6d6fc6ce2519c9a24
Closes-Bug: #1671143
2017-03-08 18:58:35 +00:00
caoyuan
c734f53277 Add the missing option for gloabols.yml
- collectd
- remove the unnecessary space

Change-Id: I98c60d29f50bb105ca52cc0060bfcd2b3701e6db
2017-02-15 15:49:14 +08:00
zhuzeyu
84ff7c2a18 Fix the path error in globals.yml
Change-Id: I963ac5512c711f639dc7ad6c7b1f217589373b0a
2017-02-10 12:04:02 +08:00
caowei
d467161399 Load freezer dashboard
Change-Id: Ib7354920de24dbab9481553bad6521e2f5e93fae
Depends-On: I8a70c7e95cdd6517816060e148d3fdc4857182f4
Closes-Bug: #1661953
2017-02-05 21:24:34 +08:00
Jenkins
4938e80b81 Merge "Enable tacker_horizon when enable_tacker is yes" 2017-02-05 12:57:50 +00:00
qiankun.zhang
138ff1656d Enable tacker_horizon when enable_tacker is yes
Depends-On: Ic63c88436b03c14ef767ee102625e697250c00e0
Change-Id: I0220cdb13686deda8b7a3a622530cd72fbe80dad
Closes-Bug: #1647894
2017-02-04 01:54:36 +00:00
Eduardo Gonzalez
e516ea5099 Integrate designate with neutron
Integrate designate service with neutron to allow instances
and floatingip resolve designate dns.
MDNS service need to be reachable from nova instances
in order to resolve DNS queries.
Added new dns_interface to make this configurable.
Add designate guide.

Closes-Bug: #1661330

Change-Id: I5a2ac5cf2a9aa0977ae42d53dd64699623ddf3ed
2017-02-03 11:06:59 +00:00
Jenkins
2157d9787a Merge "Add freezer ansible role" 2017-01-27 12:12:52 +00:00
caowei
9c82ed8071 Add freezer ansible role
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: I419f7ceb219ea9643cfd225c130018f967ddd860
Partially-implements: bp freezer-ansible-role
2017-01-27 11:19:13 +00:00
Jenkins
7ee53a563a Merge "Add chrony ansible role" 2017-01-26 12:03:27 +00:00
Jenkins
f2f30b4a5e Merge "Ansible config for nova-serialproxy console" 2017-01-24 16:40:40 +00:00
Jenkins
1da30ce395 Merge "Allow cinder-volume to be configured to use HNAS nfs" 2017-01-24 13:08:38 +00:00
caoyuan
fdca838b6d Add the missing option into globals.yml
- panko
- vmtp

Change-Id: Ibc6c1806304c490f10c8465dd041ee7c414dc665
2017-01-24 09:11:39 +00:00
Jenkins
7f3d7a30d9 Merge "Load murano dashboard dynamic" 2017-01-23 19:42:17 +00:00
Jenkins
4a872573d2 Merge "Remove hardcoded designate backend" 2017-01-23 16:26:56 +00:00
caoyuan
165bc18fa3 Add the missing "enable_trove" into globals.yml
TrivialFix

Change-Id: Ic89cdbb346f5119112ec7fb7aec8cc87bdae2b8c
2017-01-23 17:23:57 +08:00
Jeffrey Zhang
093d2828fc Add chrony ansible role
Change-Id: I49503275a8b3700185ee0395d9beee7397f5fccf
Implements: blueprint add-chrony-service
2017-01-22 22:15:21 +08:00
caowei
27b1fde0de Load karbor dashboard
Depends-On: I12d9bc5263b5efbe2ef0277f152eb13e19bb5558
Change-Id: I5cfc0d4d9110b5b5081fa5d6ae14adfd627f5f59
Closes-Bug: #1658122
2017-01-22 16:40:51 +08:00
Jeffrey Zhang
f3ea03d88f Load murano dashboard dynamic
* Add ENABLE_MURANO environment in horizon
* Add murano related setting in local_settings.j2 file

Change-Id: I172b6d07536210623b2e2066ba4f1cc768479e33
Closes-Bug: #1640679
2017-01-21 09:33:51 +08:00
Eduardo Gonzalez
89447107b5 Remove hardcoded designate backend
Add conditionals to deploy bind9 as backend
for designate, this way will easy third parties
to deploy or develop custom backends.

Change-Id: Ie61a3927ecb9366476cf3fbe0a866f8ea843d100
2017-01-20 12:01:53 +00:00
Jeffrey Zhang
2d32083a27 Detect openstack_release variable when it auto
Get openstack_release variable from kolla-ansible version number when it
is auto.

Change-Id: Ibd0d8f85aed9d8198218c0dc85c367b331815100
2017-01-20 04:34:21 +00:00
Mauricio Lima
8b93e9d69d Allow cinder-volume to be configured to use HNAS nfs
Change-Id: I5910da875eba9f9b9a18d27fcb69bb38ad67bad0
2017-01-18 11:06:45 -03:00
Eduardo Gonzalez
3d03a50864 Ansible config for nova-serialproxy console
Change-Id: Ifd40ca95c82fafacaf91291511f7048351d1bf42
Partially-Implements: blueprint nova-proxies
2017-01-12 10:27:47 +00:00
Jenkins
8fdfc403ea Merge "add panko role" 2017-01-06 19:33:28 +00:00
Jeffrey Zhang
2c241b9c15 Add enable_horizon_* parameter for dashboard
We can enable the service without enable the dashboard in this way.

Change-Id: I97b9281c7f6976b75b19c49222faee3ae2a0db66
2017-01-06 22:15:36 +08:00
Ross Krumbeck
a9ade20bee Ansible-ize OpenStack Designate
Implement ansible role to deploy designate
and dependencies. The backend used is bind9.

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>

Depends-On: 6d0dc3e0f931c7c50b64a4659900cc50b0d860a2
Implements: blueprint ansible-designate
Change-Id: I34d8126e0cd8d71d5ced9b62f3776cc354fbb549
2017-01-05 14:34:15 +00:00
Jenkins
7e462d0acc Merge "Allow cinder-volume to be configured to use HNAS iscsi" 2017-01-05 14:18:20 +00:00
zhuzeyu
657fd6de1f Modify the openstack_release in globals.yml
TrivialFix

Change-Id: Ieadd694e583456dabaab178685ffd225b930a62d
2016-12-23 16:36:42 +08:00
Jenkins
515cbc1e29 Merge "Move the "enable_destroy_images" into configure file" 2016-12-22 16:44:25 +00:00
caowei
4c2da9e6d1 Add karbor ansible role
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: zhangshuai <446077695@qq.com>
Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com>

Change-Id: I7aebe544e3495767d6389dbf220d633a98c137da
Partially-implements: bp karbor-ansible-role
2016-12-21 01:53:20 +08:00
Francisco Edigleison Barbosa
0ea2095560 Allow cinder-volume to be configured to use HNAS iscsi
Change-Id: I6ca1957c1518d8dfe6a15b22e76c0b9a52e2f1c2
2016-12-15 13:22:17 -03:00
Jenkins
627719e66c Merge "Integrate ceph-rgw with keystone" 2016-12-15 14:02:31 +00:00
junbo
d4f4134e35 Integrate ceph-rgw with keystone
this patch change ceph-rgw configuration and add object-store endpoint.

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: I3ae4171c69bec52846c92a5e5618c12cf36d4409
Implements: blueprint radosgw-keystone-integration
2016-12-15 08:05:11 +00:00
zhubingbing
3e7ed2c42c add panko role
Change-Id: I515fdcdf6093e9e59dbbdc97221d23ed7f4e0a3d
Partially-Implements: blueprint add-panko-ansible-role
2016-12-15 08:01:50 +00:00
Jenkins
7deee0485e Merge "Allow neutron-fwaas to be enabled in Neutron" 2016-12-15 04:03:43 +00:00
Jeffrey Zhang
eaa1af8f73 Add lost roles field in octavia
* the roles field is lost when implementing. This patch adds the field
* add enable_octavia example in globas.yml file

Change-Id: I94c33f78afafc903779c9f3bdb051fca39206211
Implements: blueprint octavia-ansible-role
2016-12-13 14:16:06 +00:00
Andrew Widdersheim
2c9cf12cb9 Add enable_cinder_backend_nfs option example
TrivialFix

Change-Id: I7a451d247f643c668d62c77da36dd1c7e66a9183
(cherry picked from commit 5833cd6be19ee96ce4cc11c9c9b9f728c4cd3b6c)
2016-12-12 16:29:51 +08:00
Jenkins
c93cc27643 Merge "Tacker NFV Ansible support" 2016-12-06 13:04:01 +00:00
Jenkins
44e11dd10b Merge "Add more options for cinder-backup." 2016-11-30 17:35:40 +00:00
Eduardo Gonzalez
79df5d84f8 Tacker NFV Ansible support
Add Ansible configuration for Tacker NFV service

Change-Id: I472d96e13a5270d1ee219c2f72f57d9c361f87a6
Partially-Implements: blueprint tacker-support
2016-11-29 17:19:21 +00:00
James McCarthy
c0a07b697e Add more options for cinder-backup.
This commit brings necessary configuration and container start-up
options to use two popular backends for backup - nfs and swift.
Both drivers support incremental backups and should work with any
cinder volume backend.

Change-Id: Ieed29a895dc1b9faad196e160a88ea9d293f9c75
2016-11-29 13:31:44 +00:00
caowei
90f2b7cd06 Add solum ansible role
Change-Id: I07f2df405574b55daa44fa381625e8be0c352607
Partially-implements: bp solum-ansible-role
2016-11-25 06:14:51 +08:00
caoyuan
74fb520b4a Move the "enable_destroy_images" into configure file
TrivialFix

Change-Id: I179e8bf99d406e612b6a0db096892654d1228b9f
2016-11-24 22:46:31 +08:00
Paul Bourke
75fbca3cfe Allow neutron-fwaas to be enabled in Neutron
This patch adds optional support for neutron-fwaas. To enable,
set:

enable_neutron_fwaas: yes

Change-Id: I2d434586807d7a008d2ee1d3ef8d7dc7fab47ca7
Implements: kolla-neutron-fwaas
Depends-On: I9ca36012cff2e17ea877a775e8e1ca5837a2bcb1
2016-11-18 21:06:14 +08:00
Christian Berendt
5cd30d4914 Remove Fedora support
Closes-bug: #1616387
Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-11-03 10:50:22 +01:00
Jenkins
464b8fdc39 Merge "Support searchlight ansible role" 2016-10-19 18:25:45 +00:00
Jenkins
5a08b48c5f Merge "Update globals.yml Docker registry example notes" 2016-10-19 15:53:18 +00:00
liyingjun
ec57f589c4 Support searchlight ansible role
Searchlight is an Openstack search and index service, this patch
implements the ansible role for searchlight.

Implement blueprint: support-searchlight-deployment

Change-Id: Ibf42d5b259a6740d6596041f896e1009657b7388
2016-10-19 05:57:53 +00:00
Andrew Widdersheim
4ea452edb5 Update globals.yml Docker registry example notes
Note that the 'docker_registry_password' can also be set in
passwords.yml since most people may want to use Ansible's vault to
secure their password files.

TrivialFix
Change-Id: I8980aaaf7af97c1751012de427d20ba09cda1252
2016-10-18 15:05:34 -04:00
Andrew Widdersheim
05700da26e Add node_custom_config example to globals.yml
TrivialFix
Change-Id: Ie128567bc1f8457f798f90a9c00c51746e86df31
2016-10-18 15:04:39 -04:00
Mauricio Lima
fb109d23b2 Update OpenStack service names
http://docs.openstack.org/contributor-guide/writing-style/openstack-components.html

TrivialFix
Change-Id: I36eef6a16517efa36cd9c81b139aa717f75706fb
2016-10-17 08:53:14 -03:00
Mauricio Lima
44f5f5bec8 Add HNAS as Manila backend
Co-Authored-By: Denis Cavalcante <dencaval@gmail.com>
Co-Authored-By: Francisco Edigleison Barbosa <barbosaedigleison@gmail.com>
Change-Id: I986623a2753140acad0e2b7f1838356f00ae36b0
Implements: bp add-hnas-as-manila-backend
2016-10-10 13:23:13 -03:00
Jeffrey Zhang
18fa72c901 integrate gnocchi with ceilometer
Closes-Bug: #1626364
Change-Id: I9d586b950b7099a9b160f7b32c9ff00b189a0287
2016-10-09 03:04:07 +00:00
Jeffrey Zhang
96318fed5a Integrate gnocchi with ceph
Gnocchi previously lacked high availability. We consider a lack of HA
in our a vast majority of operator oriented services to be a defective
design choice. this change integrates gnocchi with ceph to resolve the
the lack of HA.

Closes-Bug: #1626623
Change-Id: I71c5137842cb48bc4af0e50a2952df5631d0d6df
2016-09-29 12:13:04 +00:00
caowei
7155305824 Revert "Add enable_elasticsearch option"
enable_elasticsearch option is already added,in https://github.com/openstack/kolla/blob/master/ansible/group_vars/all.yml#L303
elastic search enable or disable depends on "enable_central_logging" not on "enable_elasticsearch" in globals.yml file.
So remove enable_elasticsearch option from global.yml

This reverts commit f581c81ec6.
Change-Id: I1ceff747d7b978dc82efc55fda72b9b98c272f0d
2016-09-25 11:31:59 +08:00
caowei
f581c81ec6 Add enable_elasticsearch option
TrivialFix

Change-Id: Id3bbe547637386216a1001c729b277439fbe114f
2016-09-22 23:09:01 +08:00
Jenkins
ce3abeb0eb Merge "Allow use of database for Horizon sessions" 2016-09-22 04:00:28 +00:00
Vladislav Belogrudov
b1f986c349 Cinder cannot use external non-LVM iSCSI storage
Currently Cinder enables iscsid service only when LVM is choosen as
backend. This fix will allow to specify external iSCSI storage via
configuration add-on and to run iscsid independently of LVM settings.

Change-Id: Iaae0f8025534e5ab1c5f9d5e812a7d41129915ef
Closes-Bug: 1614125
2016-09-21 12:28:07 +00:00
MD NADEEM
aa5f743a8c Added enable_option for some services
TrivialFix

Change-Id: I0f881ea50378bea491bf9721359edc6b5428c28a
2016-09-19 16:06:14 +05:30
Hui Kang
0d28b311eb Add Kuryr ansible role
Change-Id: I7134bffab940ee780e5f5010d639af56f97b41d6
Co-authored-by: Mohammad Banikazemi <mb@us.ibm.com>
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Co-Authored-By: Antoni Segura Puimedon <antonisp@celebdor.com>
Partially-implements: bp kuryr-docker-plugin
2016-09-15 23:47:22 +00:00
Christian Berendt
be0fcb5b99 Integrate neutron-vpnaas-agent into the neutron Ansible role
Implements: blueprint neutron-vpnaas-agent
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>
Change-Id: I1fae21f48d5beef47934aef7c23910536955f2b8
2016-09-15 05:07:46 +00:00
Jenkins
d438e1ca13 Merge "Added grafana role" 2016-09-14 18:14:58 +00:00
Jenkins
ad2d6567a6 Merge "Added telegraf role" 2016-09-14 17:14:26 +00:00
Jenkins
a063ecb692 Merge "Allow Neutron to be run in DVR mode" 2016-09-14 16:05:36 +00:00
Mathias Ewald
56af4ef202 Added telegraf role
Added ansible role to deploy telegraf

Roll out telegraf to all nodes

Introduce parameter to toggle deployment of performance monitoring

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: Ia09b20ce65bf557c1a1030eda99df5cc88debd01
Partially-Implements: Blueprint performance-monitoring
2016-09-14 15:43:04 +00:00
Paul Bourke
95c916aa5e Allow Neutron to be run in DVR mode
Introduces a new property "enable_neutron_dvr", along with the
appropriate service and template changes to allow DVR.

Closes-Bug: #1623463
DocImpact: dvr changes network data paths and adds requirements for NICs
Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com>
Change-Id: I87a26e9258228ae2ccb76be1e5f0bb44fac128df
2016-09-14 12:58:47 +01:00
Mathias Ewald
fe61591a7c Added grafana role
Added ansible role to deploy grafana

Added host group for grafana deployment

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: I3dec4e8586b6f65fa7de66a48506d1c79de2fe1e
Partially-Implements: Blueprint performance-monitoring
2016-09-14 09:36:34 +00:00
Eduardo Gonzalez
abf83650a1 Add Senlin Ansible role
Change-Id: Ic941a396b5cd9abfb5e9941218e91b784f8bba0a
Implements: bp senlin-container
2016-09-14 07:20:22 +02:00
Paul Bourke
233090300e Check volume group exists for Cinder in prechecks
Add a service check for Cinder when using iscsi/LVM, that the
appropriate volume group exists.

TrivialFix

Change-Id: I54e01911709db73549334760498b4246fe6271d7
Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com>
2016-09-13 16:39:56 +01:00
Jenkins
6b3456bf36 Merge "Add Barbican ansible role" 2016-09-13 05:14:32 +00:00
zhubingbing
e0537385d0 Add Barbican ansible role
Partially-Implements: blueprint barbican-ansible

Change-Id: Id6be35b1d0527d5c38d4ea8576b233ebcc404718
2016-09-13 02:56:27 +00:00
Jenkins
a9c41a3821 Merge "Fix manila_share container isn't up after deploy" 2016-09-12 20:11:05 +00:00
Jenkins
7ad4249ead Merge "Allow mysql to be used as a database for Ceilometer" 2016-09-12 18:18:08 +00:00
Mauricio Lima
3091f94a07 Fix manila_share container isn't up after deploy
Change-Id: Ia5ece5f02841aebc1bdb0950b3f827e1cee359e5
Closes-Bug: #1620721
Closes-Bug: #1614033
2016-09-12 13:42:12 -04:00
Paul Bourke
82f6d3f44b Allow mysql to be used as a database for Ceilometer
MongoDB is still default.

Refer to
http://docs.openstack.org/developer/ceilometer/install/dbreco.html for
more info on Ceilometer database backends.

Closes-Bug: #1622532

Change-Id: Iaf84f9efe0537f42797f4bb7ba2a3611835cc84e
2016-09-12 11:41:35 +00:00
Jenkins
15228232e1 Merge "Added influxdb role" 2016-09-08 14:06:16 +00:00
Paul Bourke
d3f65a812f Allow use of database for Horizon sessions
Database-backed sessions are scalable (using an appropriate database
strategy), persistent, and can be made high-concurrency and
highly-available [0]

Default is off.

[0] http://docs.openstack.org/developer/horizon/topics/deployment.html#database

Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com>
Closes-Bug: 1618781

Change-Id: Ib68a21397dc020d20e07dcc51d3d0fdc1de102ff
2016-09-08 12:49:02 +01:00
Jenkins
2da0aa8ffc Merge "Fix keytone options in all.yml/globals.yml" 2016-09-08 07:09:37 +00:00
Christian Berendt
77f565e527 Fix keytone options in all.yml/globals.yml
* merge keystone sections in all.yml
* move keystone parameters in globals.yml into its own section

TrivialFix

Change-Id: I72893a44dabd515243175098d5c4da3f8191597b
2016-09-07 15:33:25 +00:00
Jenkins
5d8878de6d Merge "Add cloudkitty ansible role" 2016-09-07 15:21:44 +00:00
Christian Berendt
5f62c22959 Add cloudkitty ansible role
Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: Id83c852e32c3dd583e6128e888ac511634e8eabb
Partially-Implements: blueprint cloudkitty
2016-09-07 14:10:06 +00:00
Jenkins
00ffed3872 Merge "Implement Ansible rally role" 2016-09-07 07:26:38 +00:00
zhubingbing
d3d3472326 Implement Ansible rally role
Change-Id: I647c38adbfd00c70874cf51c0bfcb68d243e26cc
Partially-Implements: blueprint rally-role
2016-09-07 02:07:04 +00:00
Mauricio Lima
9e8f7ef3e5 Comment some lines in globals.yml
TrivialFix

Change-Id: Ibd3c18d37833b8abc50a48a258783f2629ef8e83
2016-09-06 08:10:27 -04:00
Mathias Ewald
49f7359b0c Added influxdb role
Added ansible role for influxdb

Introduced host groups for monitoring and influxdb and assign role

Monitoring is deployed on a separate node called monitoring01 by
default

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: If2465a14b18c6c3fd657af587a0b85f6b7a0191a
Partially-Implements: Blueprint performance-monitoring
2016-09-02 05:30:08 +00:00
mail2nadeem92
4b39d056ad Added Ansible playbook for congress deploy
Change-Id: Id04fe7a8f30ed0dae292933662036f4775e394a2
Partially-Implements: blueprint enable-congress-container
2016-09-01 10:43:03 +05:30
Jenkins
730086bfd1 Merge "Add option to support dhcp/l3 agent ha" 2016-08-31 13:44:13 +00:00
liyingjun
c5668bd50a Add option to support dhcp/l3 agent ha
New option enable_neutron_agent_ha added to enable/disable dhcp/l3 agent
high availability, dhcp_agents_per_network is default to 2 and it's
configurable.

Implement blueprint: support-network-ha

Change-Id: Id4742aa67c80584634b923195545bf2b654172f3
2016-08-31 16:31:07 +08:00
Jenkins
b17027564c Merge "Add defaults for interfaces to all.yml" 2016-08-30 22:26:10 +00:00
Shaun Smekel
1c68ae389b Add full support for fernet
This addresses the ansible aspects of fernet key bootstrapping as
well as distributed key rotation.

- Bootstrapping is handled in the same way as keystone bootstrap.
- A new keystone-fernet and keystone-ssh container is created to allow
  the nodes to communicate with each other (taken from nova-ssh).
- The keystone-fernet is a keystone container with crontab installed.
  This will handle key rotations through keystone-manage and trigger
  an rsync to push new tokens to other nodes.
- Key rotation is setup to be balanced across the keystone nodes using
  a round-robbin style. This ensures that any node failures will not
  stop the keys from rotating. This is configured by a desired token
  expiration time which then determines the cron scheduling for each
  node as well as the number of fernet tokens in rotation.
- Ability for recovered node to resync with the cluster. When a node
  starts it will run sanity checks to ensure that its fernet tokens
  are not stale. If they are it will rsync with other nodes to ensure
  its tokens are up to date.

The Docker component is implemented in:
  https://review.openstack.org/#/c/349366

Change-Id: I15052c25a1d1149d364236f10ced2e2346119738
Implements: blueprint keystone-fernet-token
2016-08-25 20:08:22 +10:00
Paul Bourke
158a852998 Add defaults for interfaces to all.yml
The values for 'network_interface' and 'neutron_external_interface' are
missing from all.yml, meaning it is impossible to override them on a per
node / per group basis. (globals.yml get's top precedence).

Make these consistent with the rest of the variables and move the
defaults into all.yml. Operators can still override / update these in
globals.yml as before, but those wanting more flexibility now have it
via host / group variables.

Change-Id: I2575921f76a8e245106da765757c70353bd6762c
Closes-Bug: #1604129
2016-08-24 14:45:14 +00:00
Jenkins
06c93471ae Merge "Simplify the Cinder LVM backend" 2016-08-06 18:18:19 +00:00
Jenkins
306bc101d1 Merge "Add Watcher default settings" 2016-08-05 18:36:11 +00:00
Dave Walker (Daviey)
bb2397d26d Add Watcher default settings
This adds:
  - AIO and multinode inventory samples
  - Password (blank) fields for default password.yml
  - Default to not enabled, in globals.yml

This is the last changeset in the series to add basic
Watcher functionality to Kolla.

Change-Id: I9daec0eadc8dad3d37e03e7d69783af003af0916
Closes-bug: #1598929
Partially-implements: blueprint watcher
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-08-05 09:17:28 +00:00
Jenkins
63d448fe2e Merge "External Ceph - Implementation Nova" 2016-08-03 15:29:36 +00:00
Mathias Ewald
ffafebf87c External Ceph - Implementation Nova
Introduced nova backend selection flag for Ceph and priority if
multiple backends are configured

Add mechanism to deploy arbitrary ceph.conf and keyring files into
nova-compute and nova-libvirt containers

Added documentation

Change-Id: Id010ca9cc2d914e5358ef79edeb600a28220dd4b
Implements: blueprint external-ceph
2016-07-27 20:25:00 +00:00
Jeffrey Zhang
1b0e701402 Simplify the Cinder LVM backend
Remove the unnecessary option in the  group_vars/all.yml file.

* removed some cinder.conf options like volume_backend_name,
  iscsi_helper, iscsi_protocol etc. these value can be configured by
  custom cinder.conf file, no need export as global variables.
* remove meaningless iscsi_ip_addess, which is not used in LVM driver
* force start iscsi relate when enable_cinder_backend_lvm is yes

TrivialFix
Change-Id: Ifcbfdad15e4d68bc5f20fc77e0315a09983ef022
2016-07-25 09:50:12 +08:00
Jenkins
d79ca609c5 Merge "implement Ansible Tempest role" 2016-07-22 09:34:08 +00:00
Jeffrey Zhang
2102631110 implement Ansible Tempest role
DocImpact

Implments: blueprint ansible-tempest
Change-Id: Iadd86d9d91438f056c433b9a2016f32587c92878
2016-07-20 09:43:10 +08:00
Mathias Ewald
3894883871 External Ceph - Implementation Cinder
This patch adds support for external Ceph clusters for Cinder.

For clean integration the backend configuration mechanism had to be
slightly adjusted.

We now have the option to enable multiple backends for Cinder
independently.

Currently, the flags cinder_backend_iscsi and cinder_backend_ceph are
used to toggle backends.

Documentation on how to use external ceph was added.

Change-Id: I7e0267b90d62d6d881f24f063cdb894422ec8618
Partially-Implements: Blueprint: external-ceph
2016-07-19 12:45:48 +00:00
Jenkins
ef0d8da2cb Merge "TrivialFix:modify the spelling mistakes" 2016-07-15 11:24:10 +00:00
Jing Sun
9aa385a72a TrivialFix:modify the spelling mistakes
Change-Id: Ida7742920051db7120f953a04243e3b03629b975
2016-07-15 16:46:23 +08:00
Mathias Ewald
f16a45180c External Ceph support - Implementation Glance
Most simple implementation of external ceph support.

We use INI merge to configure RBD backend for Glance and copy
ceph.conf and keyring provided by the user into the container.

Set_configs.py had to be extended to support globbing (wildcards) in
order to copy ceph keyring file which is named depending on the cephx
user name.

Partially-Implements Blueprint: external-ceph
Partially-Implements Blueprint: selectable-ceph

Change-Id: Iacadbd8ec9956e9f075206ea03b28f044cb6ffb8
2016-07-14 14:05:34 +00:00
Carlos Cesario
115c55e1fe Add multipathing support to docker container
Due some cinder drivers need multipathing support like this one
http://docs.openstack.org/mitaka/config-reference/block-storage/drivers/ibm-storwize-svc-driver.html

This PS will allow to run these additional drivers when using Kolla.

Implements: blueprint multipath-support
Change-Id: Id6cf29f984c92773bbfc2f95daea573a74701648
2016-07-11 09:07:21 -03:00
Takeaki Matsumoto
138c6426bd Add enable_iscsi option to etc/kolla/globals.yml
To use Cinder LVM2 backend with iSCSI,
add enable_iscsi option and fix document.

Change-Id: I286733508b5582c311c313c172b3c3a774be993c
Closes-Bug: #1599088
2016-07-07 22:18:02 +09:00
Jenkins
7f447eb354 Merge "Make Neutron QoS service plugin configurable" 2016-06-20 10:55:01 +00:00
Christian Berendt
a7f93b09bb Make Neutron QoS service plugin configurable
This introduces a new configuration parameter neutron_enable_qos to
be able to enable the Neutron QoS service plugin.

More details about the Neutron QoS service plugin are available at:

http://docs.openstack.org/liberty/networking-guide/adv-config-qos.html

Change-Id: I8525bf4dce5f1e225f72a4e1c3760b64a36b17f6
Closes-bug: #1593183
Implements: bp netowrking-qos
2016-06-18 15:53:12 +00:00
Jenkins
e48f68c82a Merge "Implement ceilometer ansible role" 2016-06-18 04:05:52 +00:00
hanchao
4aa0951053 TrivialFix: A typo fix in the globals.yml
Correct `container` to `contain` in the comment.

Change-Id: Ia156676406fac8745e1c7873bae6a5884d6ce27e
2016-06-17 15:46:09 +08:00
Hui Kang
4108c6c6ec Implement ceilometer ansible role
Change-Id: I13c50a78b2dc7c98b720a4b2e7161104213bd295
Implements: bp ansible-ceilometer
2016-06-16 22:05:56 -04:00
Daneyon Hansen
ba30579b3b Adds Neutron LBaaS Support
Previously, kolla did not support neutron lbaas functionality.
Only Lbaasv2 is supported in Mitaka. Additional information can
be found here:
http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html
Magnum uses Neutron Lbaas to provide high availability to COE API
and Etcd endpoints within a bay. Therefore, Neutron Lbaas is required
for Kolla to support Magnum.

Co-Authored-By: Serguei Bezverkhi <sbezverk@cisco.com>
Partial-Bug: #1551992

Change-Id: I05360b7c447c601fcb3c2b6b2a913ef5cc0f3a1b
2016-05-27 11:41:25 -04:00
Jenkins
fef79059b7 Merge "Adding variables for Cinder iSCSI backend configuration" 2016-05-23 09:52:48 +00:00
weiyu
b071bb22c9 Add a cluster_network interface when we use ceph
Because of the consideration of security and performance, ceph community
recommend the use of two separate network public networks and cluster
networks. refer:
http://docs.ceph.com/docs/master/rados/configuration/network-config-ref/

DocImpact
Closes-Bug: #1582095
Change-Id: I8cb0e14f86c859820fbbb8af8f94ac8155338e13
2016-05-17 14:09:36 +08:00
Serguei Bezverkhi
4150df42e2 Adding variables for Cinder iSCSI backend configuration
This fix adds several variables required for Cinder iSCSI backend
configutation.

Change-Id: I2f709f8589fdbf62e3d0b265452fd58f413bee65
Closes-Bug: #1579800
2016-05-09 11:15:32 -04:00
Serguei Bezverkhi
2e396fec98 Restoring openstack_release option
This patch restores openstack_release option in globals.yml

Closes-Bug: 1565353

Change-Id: I00342d1f52360e7d2c38b4467dc0b4049b7191dd
2016-04-02 17:17:43 -04:00
Carlos Cesario
676998a124 Make keepalived virtual_router_id param configurable
To be kolla deploy multiple clouds, we need to be able to configure
virtual_router_id other wise haproxy will fail setup the VIP for the
second cloud.

Partially-Implements: blueprint multiple-cloud
Closes-Bug: #1564547
Change-Id: I9eb27dd6fba61205841eadafc96601e235d2fe6d
2016-04-01 17:35:35 -03:00
Mauricio Lima
47a6d1039d Update swift name
TrivialFix

Change-Id: I852acea531c9c9ed68e83fbf98860453da1ce98f
2016-03-30 11:39:35 -04:00
MD NADEEM
e1b9b8e7f5 Add optional services option in globals.yml
Closes-Bug: #1563642
Change-Id: Id047dbcd438edc748fbe928cabbdbc1060c7c3de
2016-03-30 03:05:38 +00:00
MD NADEEM
de695f04db Fix inconsistancy in globals.yml
The parameter values in global.yml were inconsist,
for some variable default values are shown while for
others it's not.

From user point of view it is important to know
the default values of the parameters and the globals.yml is
the file where user is supposed to look for config variable,
for sure a user do not want to look kolla/ansible/group_var/all.yml
file just for checking default values. So it is better to show all
default values in global.yml

This patch will solve this issue.

TrivialFix

Change-Id: I991fc5e1d4ed48d106da002a0f18a2b31525a482
2016-03-18 15:17:10 +00:00
MD NADEEM
bb342b074b Correct var name in globals.yml
Change variable name ceph_use_cache to ceph_enable_cache

TrivialFix

Change-Id: Ifeabf2a7212a78a81703f3e867c2566652b1aebc
2016-03-18 09:42:53 +05:30
Serguei Bezverkhi
c2f2be4d5e Changing Swift option section in globals.yml
This patch adds some explanations for different options available
in /etc/kolla/globals.yml for customizing swift configuration.

Trivial fix

Change-Id: Iaf03f5293804d63c87d8881ac4282909a81b0bfe
2016-03-17 14:26:00 -04:00
Gerard Braad — 吉拉德
5dcee1ae80 Changed port of docker_registry in globals.yml
Changed docker_registry placeholder for consistency with
documentation; port 4000 is used instead of Docker's default port
5000 to avoid conflicts.

TrivialFix

Change-Id: I539547ce573642022ccdf1fbb47b4adc2f852ff2
2016-03-17 02:57:54 +00:00
Thiago Gomes
2ea890a77d Fix default value on globals for config_strategy
In kolla/ansible/group_vars/all.yml config_strategy is COPY_ALWAYS
In kolla/etc/kolla/globals.yml the default value shown is COPY_ONCE

TrivialFix

Change-Id: If7000b811715c6cb84af3539cb522c22d31dc03b
2016-03-08 10:37:36 -05:00
SamYaple
dd8e1cb2ee Fix horizon with ssl
Ubuntu did not have mod_headers enabled by default

Remove unused variable and adjust 'when' conditional positioning

TrivialFix

Change-Id: I82b8724526c24f4481a80165520d624f6a02c336
2016-03-04 14:51:50 +00:00
Dave McCowan
3daded6242 Add TLS protection on external API endpoints
TLS can be used to encrypt and authenticate the connection with
OpenStack endpoints.  This patch provides the necessary
parameters and changes the resulting service configurations to
enable TLS for the Kolla deployed OpenStack cloud.

The new input parameters are:

kolla_enable_tls_external: "yes" or "no" (default is "no")
kolla_external_fqdn_cert: "/etc/kolla/certificates/haproxy.pem"
kolla_external_fqdn_cacert: "/etc/kolla/certificates/haproxy-ca.crt"

Implements: blueprint kolla-ssl

Change-Id: I48ef8a781c3035d58817f9bf6f36d59a488bab41
2016-03-03 14:44:37 -05:00
Mauricio Lima
9786fd646f Add ansible support for Manila
Co-Authored-By: Marc Koderer <marc@koderer.com>
Change-Id: I16bab281f2eca341b7a649f766bae5f2cf18a117
Partially-Implements: blueprint enable-manila-containers
2016-03-01 10:55:47 -05:00
SamYaple
d3cfb2052a Change kolla_internal_address variable
Due to poor planning on our variable names we have a situation where
we have "internal_address" which must be a VIP, but "external_address"
which should be a DNS name. Now with two vips "external_vip_address"
is a new variable.

This corrects that issue by deprecating kolla_internal_address and
replacing it with 4 nicely named variables.

kolla_internal_vip_address
kolla_internal_fqdn
kolla_external_vip_address
kolla_external_fqdn

The default behaviour will remain the same, and the way the variable
inheritance is setup the kolla_internal_address variable can still be
set in globals.yml and propogate out to these 4 new variables like it
normally would, but all reference to kolla_internal_address has been
completely removed.

Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5
Partially-Implements: blueprint ssl-kolla
2016-02-26 20:00:09 +00:00
Dave McCowan
34c2cb8e64 Implement Option for Two VIPs to separate API traffic
To improve security, operators have asked for two VIPs for
their cloud.

VIP 1 is the internal VIP that can reach internal and admin endpoints.
In addition, the internal VIP can also reach other internal services,
such as the database and message services.
VIP 2 is the external VIP that can only reach public endpoints.

With one VIP only, all services are reached at the same address.

To add a second VIP, this patch adds two new configuration parameters.

kolla_external_vip_address: is an IPv4 address to use for created VIP
kolla_external_vip_interface: is the network interface to use for VIP
In this scenario, the first VIP (the internal VIP), is defined by
the original parameters (kolla_internal address and network_interface).

When using two VIPs, the existing kolla_external_address parameter
should be/point to/resolve to the kolla_external_vip_address.

Closes-bug: 1535333

Change-Id: I5bfcefaf7899298455cdade8209c34324aebfecb
2016-02-24 09:18:06 -05:00
Jenkins
84f43146dc Merge "Use uppercase 'S' in word "OpenStack"" 2016-02-15 16:23:37 +00:00
venkatamahesh
70de590a11 Use uppercase 'S' in word "OpenStack"
Change-Id: I27ca0ea75f3d6a4371c91b3cb2c7a999ec90fbc4
2016-02-15 12:37:30 +00:00
Jeffrey Zhang
10172ec311 Remove the openstack_release option in the globals.yml file
Normally, the end user should not change this.

TrivialFix

Change-Id: Ida74ed0e5ae3ff689e2acbafb9d491341bbbcf91
2016-02-12 16:21:00 +08:00
Mauricio Lima
d7ffd1971c Add double quotes in ceph_cache_mode
TrivialFix

Change-Id: I73f780d72fc30ff3adf3e70ed03361dcb76b451d
2016-02-03 12:50:12 -05:00
Mathias Ewald
a66f0076ea Consistent external Ceph configuration for Glance
Made glance follow the <service>_backend_ceph configuration pattern.

Change-Id: I7bc2b3b35d96bd297d520750dccd7333fa68d941
Closes-Bug: #1605962
2016-07-24 07:04:05 +00:00
Ice Yao
e1ff26612f remove option verbose define in defaults/main.yml
References: https://review.openstack.org/#/c/269042/

TrivialFix

Change-Id: Ief08781342a06f956fc4cf00ba4383759da8c897
2016-01-20 16:17:05 +08:00
malei
bdda9e40ea Fix typos in docstrings:
Change 'formating' to 'formatting'
change 'seperate' to 'separate'

Change-Id: I3093461c91cc71654c3ba86d7d662259262c09f5
2015-10-20 17:23:05 +08:00
SamYaple
f1821ae63a Remove unused params for kolla_docker
Update the group_vars and globals docuementation as well.

Change-Id: I3ffd49b8d99667425596a2753845767a62e05bf1
Partially-Implements: blueprint kolla-docker-module
2016-01-03 16:48:30 +00:00
Michal Jastrzebski
3f2a4f2c06 Record version on container build
This changes default behaviour of build.py to instad of putting latest
tag on it, it puts current kolla version as found in setup.cfg

Change-Id: I4d6e9a0159c6a5598abd58072594df4204427308
Partially-Implements: blueprint upgrade-nova
Partially-Implements: blueprint record-version
2015-12-11 11:02:46 -06:00
Michal Rostecki
2cd5d9ed74 Add Ansible support for Magnum
Change-Id: Idb25ac4d3148c9b9400cf675ac2e47d35cce6224
Implements: blueprint ansible-magnum
2015-11-13 11:31:34 +01:00
Sam Yaple
cd3c089978 Ansible config for Spice console
Change-Id: Id6ccf169c8ce07c78df150de21ab2d36eec3949f
Partially-Implements: blueprint nova-proxies
2015-11-03 06:32:52 +00:00
Sam Yaple
b27880aa77 Automate setting up a cache tier
Introduces a new flag to bootstrap cache devices

DocImpact
Partially-Implements: blueprint ceph-improvements

Change-Id: I09b5a0d5c61b3465237e5f01dc10120725561cd3
2015-10-22 10:51:44 +00:00
Sam Yaple
6932ca48b8 Allow specifying erasure as the pool type
Change-Id: I581efd7c0d138cb78ab3afd755521f3fb375c0ee
Partially-Implements: blueprint ceph-improvements
2015-10-22 10:51:44 +00:00
Jenkins
4da40a0ab9 Merge "Display neutron plugin options in globals.yml" 2015-08-27 16:59:31 +00:00
Sam Yaple
bcc5c62dd8 Display neutron plugin options in globals.yml
Change-Id: I86244e68fac162b70f68356175e4550bd508b85c
Partially-Implements: blueprint update-configs
2015-08-27 15:57:55 +00:00
Sam Yaple
9f5edb4afc Remove CONFIG_STRATEGY prefix
We no longer have CONFIG_INTERNAL and moving forward CONFIG_STRATEGY
infront of COPY_ALWAYS or COPY_ONCE will just lead to confusion.

Change-Id: Ie0d71637e25cbd79d46e1cdca62df714c10b85d2
Implements: blueprint update-configs
2015-08-27 13:26:02 +00:00
Sam Yaple
faff29d66d Move lots of global.yml options
This moves the remaining global.yml options into the all.yml file

Change-Id: I9795b924e3e1882d20ba8f16ef3c5fe5c0193ef3
Partially-Implements: blueprint update-configs
2015-08-19 03:18:16 +00:00
Sam Yaple
8d65921bc3 Move defaults.yml to group_vars/all.yml
The purpose for having defaults.yml on the command line was originally
for variable inheritance. Over the past month we have slowly changed
how things are inherited (like ports) allowing us to place these
'defaults' into the group_vars/all.yml location as they should be
values that go unchanged (but can be overridden).

Change-Id: I2becec66bf431bfc9d88fc825b5380c1e173ca70
Partially-Implements: blueprint update-configs
2015-08-19 03:18:16 +00:00
Jeff Peeler
11bb78e673 Change default install type to binary
Currently set to "rdo", however rdo is merely a symlink in the tree and
the default in build.py is "binary".

67ce01fc62/tools/build.py (L147)

Change-Id: Ic17a4f83064173fa9297bc0f92deda11a143a1be
Closes-Bug: #1485739
2015-08-17 15:30:38 -04:00
Swapnil Kulkarni
18f0e536f6 Add ansible support for Cinder
Change-Id: I0694e5ad95aa7f924ebd3a29dff1f85e6307b7ae
Partially-implements: blueprint ansible-cinder
Partially-Implements: blueprint remove-abstraction-ansible
Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
2015-08-12 03:41:48 +00:00
Ryan Hallisey
5408dd330f Change ansible to search for latest tag
In master, ansible should look for the latest tag
by default.  For releases, it will look for that
specific release tag.

Closes-bug: #1482294
Change-Id: Iccaab6b70d7fb386b5bd1ce21f1afa379a76dd81
2015-08-06 12:44:56 -04:00
Jenkins
3097d3e48d Merge "Add linuxbridge as option to ansible" 2015-08-02 17:55:31 +00:00
Sam Yaple
b401a90254 Add linuxbridge as option to ansible
Allows the user to configure neutron_plugin_agent value for Ansible.
Current allowed values are openvswitch and linuxbridge.

Implements: blueprint ansible-neutron-linuxbridge

Change-Id: I0572464a5459d2f9da09b6da22db16e240511f99
2015-08-02 11:48:21 +00:00
Sam Yaple
6040ccb646 Updated all tags for Liberty2
Bump the tags for liberty2

Change-Id: Id8c22ea4db70dccdc66168fd0a953f8e2ca743e5
2015-08-01 15:18:40 +00:00
Sam Yaple
77f71b9f59 Adds the appropriate tools to addin the ovs bridge
Ansible will exec a script in the OVS container to ensure the bridge and
ports are properly setup. The script is idempotent.

Change-Id: I5adca595a4d2ef4edf26c9635cfa5ceb30ca4a59
Closes-Bug: #1466375
2015-07-23 12:15:31 +00:00
Sam Yaple
7da0b2a80c Ansible Nova w/ libvirt support
Initial support for Nova in Ansible

Partially-Implements: blueprint ansible-service

Change-Id: I4b0a74bd3e5daa5664f5e1e622bfb40c3285949e
2015-07-12 12:44:14 +00:00
Sam Yaple
05a6640a0f Add temporary Ansible keystone modules
Due to the licensing issues and the modules not existing in upstream
Ansible yet, I have written a simple module to fill the gaps.

This also uses Keystone v2.0 for all create of users, roles and
endpoints. The implementation of Keystone v3 must be discussed after the
new modules arrive.

Partially-Implements: blueprint ansible-service

Change-Id: I389edd56741360dd26fbbc0a982f365ca27ff446
2015-07-12 03:14:49 +00:00
Sam Yaple
e7a7cc9017 Ansible Glance support
Adds support for glance in ansible

Partially-Implements: blueprint ansible-service
Change-Id: I2d162e79f85877116b0e33b1843de6ccb62a445a
2015-07-09 15:29:55 +00:00
Jenkins
de98d9ddb3 Merge "Have bootstrap script create the initial endpoint" 2015-07-07 12:34:35 +00:00
Paul Bourke
0ad2f666c0 Fix incorrect database_address variable in globals.yml
A typo exists here which results in the following error:

TASK: [database | Creating haproxy mysql user] ********************************
fatal: [localhost] => One or more undefined variables:
'keystone_internal_address' is undefined

FATAL: all hosts have already failed -- aborting

Change-Id: Ib8e88ca5d755d388a80f06b45e8ea80891f70eb3
Closes-Bug: #1471825
2015-07-06 18:31:04 +00:00
Sam Yaple
c80a8c282b Have bootstrap script create the initial endpoint
Due to a few issue that exist between keystone v3 and v2.0 the endpoint
needs to be created as v2.0. If it is created as v3, v2.0 queries will not
see the endpoint.

https://bugs.launchpad.net/keystone/+bug/1470635

Change-Id: Ie7ff88b8cbb23b3ca149cb6e8d5a18a427d22038
Partially-Implements: blueprint ansible-service
2015-07-05 15:36:22 +00:00
Sam Yaple
3ac7da64d1 Add initial config function and keystone support
Add set_configs function that implements the flow from the proposed
ansible-multi spec. Move start.sh to config-internal.sh to preserve existing
behaviour.

config-externall.sh copies the appropriate configs in from the bind'd
location and sets permissions and ownership appropriately.

Partially Implements: blueprint ansible-multi

Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
2015-06-30 17:26:23 +00:00