aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/heat
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake18-552/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-12Fix placement of policy.jsonDuong Ha-Quang1-1/+5
Currently, policy.json is put in "{{ node_config_directory }}/{{ service_name }}" in target nodes. Relocation policy.json to "{{ node_config_directory }}/{{ item }}" with item is corresponding service compoment config directory. Currently, the policy.json is copied to all services, but it should be reviewed and left only in neccesary service (at many cases, only API service needs that). Redundant files will be removed in follow up patchset. Change-Id: I0e997dccf4ec438c9c0436db71ec2fd06650f50d Closes-Bug: #1639686
2016-11-04Merge "Custom policy files"Jenkins1-0/+11
2016-11-03Move precheck into its own roleJeffrey Zhang1-0/+1
* Merge prechecks.yml and site.yml playbook * Create empty precheck.yml into all roles. Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd Implements: blueprint condition-pre-check
2016-10-28Custom policy filesEduardo Gonzalez1-0/+11
Allow operators to use their custom policy files. Avoid maintain policy files in kolla repos, only copying the files when an operator add their custom config. Implements: blueprint custom-policies Change-Id: Icf3c961b87cbc7a1f1dd2ffbfffcf271d151d862
2016-10-20Merge "Use option auth_type in group trustee in heat configuration"Jenkins1-1/+1
2016-10-15Fix heat upgrade permission issuezhubingbing3-1/+22
Change-Id: I666368dcb2dd900234b373bfd433ab918233c601 Partial-Bug: #1631503
2016-10-13Merge "Remove do_reconfigure.yml file for all roles"Jenkins2-78/+73
2016-10-10Use option auth_type in group trustee in heat configurationChristian Berendt1-1/+1
This will solve the following issue: WARNING oslo_config.cfg [-] Option "auth_plugin" from group "trustee" is deprecated. Use option "auth_type" from group "trustee". Change-Id: I7343a4a28555495d22a7960bf4d585152505a79c Closes-bug: #1632064
2016-09-27Fix wrong heat trustee configurationMartin Matyáš1-2/+0
"project_domain_id" and "project_name" cannot be specified [trustee] section or keystone will throw a "cannot be scoped to multiple targets" error when we attempt to get a token scoped to a trust. Change-Id: I167c0e31835d05b8069fd931ef76fb337dd99207 Closes-Bug: #1628353
2016-09-27Remove do_reconfigure.yml file for all rolesJeffrey Zhang2-78/+73
do_reconfigure.yml is introduced to use serial directive. But we use it in wrong. Now serial has moved to playbook file. So it is time to remove the do_reconfigure.yml file Closes-Bug: #1628152 Change-Id: I8d42d27e6bc302a0e575b0353956eaef9b2ca9fd
2016-09-23Fix heat role creationEduardo Gonzalez1-6/+6
Change-Id: Ic2a14659f90e5b6060eb695e1f3592db3ae5b907 Closes-Bug: #1626863
2016-09-22Merge "Create the heat_stack_user/owner role in the heat role"Jenkins3-0/+30
2016-09-21Add "---" into some files of yamlcaoyuan1-0/+1
TrivialFix Change-Id: Id2cd736f136068514f26977b434b15a8b1ffc8be
2016-09-19Create the heat_stack_user/owner role in the heat roleChristian Berendt3-0/+30
Change-Id: I78ce0071474fc693aa2a05397b2a9b5974266cd9 Partial-bug: #1609814
2016-09-13Added serial option to site.yml.Mick Thompson2-2/+0
Useful for upgrade etc., which is preferablly done serially. Example usage: tools/kolla-ansible deploy OR tools/kolla-ansible upgrade Closes-Bug: #1576708 DocImpact Change-Id: I34b2e16f8ce53e472a4682a4738c4ac0f5abf00c
2016-09-12Adding required check for Orchestration KubernetesSerguei Bezverkhi1-5/+18
Thgis PS add missing check for Kubernetes orchestration engine, without these changes, running kolla-ansible genconfig fails for Kubernetes environment. TrivialFix Change-Id: I25eeb7ae3ddba7c924f6d48aa24afdbe74227170
2016-08-25Move to transport_url for rabbitmq configurationJeffrey Zhang1-6/+1
rabbit_hosts, rabbit_userid and rabbit_password are deprecated for removal.[0] rpc_backend is deprecated for removal.[1] rabbit_ha_queues is deprecated. it is useless when using RabbitMQ >= 3.0 [2] [0] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L112,#L134 [1] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/transport.py#L46 [2] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L163,L174 Closes-Bug: #1614082 Change-Id: I05d318ba6c11c5dbfa9fbf67d088a43ab465be30
2016-08-09Port with_ loop variable syntax to Ansbile 2Duong Ha-Quang1-4/+4
Migrate to full variable syntax in with_ loop instead of bare variables for: - ceph - ceilometer - glance - heat - horizon - keystone - mariadb - memcached - neutron - nova - rabbitmq Change-Id: Ib925b4ecea47ac758a77739c9c7e140f06933b08 Partial-Implements: blueprint ansible2
2016-07-27Use a lower number of the workersJeffrey Zhang1-0/+2
Use a lower number of workers rather than the default value, which is equal to the number of the cpu. Otherwise, in a multi cpu environment, the number of the processes will very high. In this PS, we use min(5, << number of cpu >>) as the default worker count. Closes-Bug: #1582254 Change-Id: I1c32cf0db794b43b8fb8be18f39190422ca5846f
2016-07-18Fix 'reconfigure' command of kollaBartłomiej Daca1-2/+2
Changed the order of the 'when' statements in "remove/restart containers" tasks. It will fix the reconfiguration problem when deploying different components on different hosts. Change-Id: Ibee9dd56b6128b664144deb1d9eb7ec32e39fd5c Closes-Bug: #1603943
2016-05-26Merge "add support for non-default database_port in kolla/ansible"Jenkins2-2/+3
2016-05-23Make configurable the location where config files are mergedRyan Hallisey1-6/+6
An operator may want to specify the location of custom config files so that kolla can detect their location and merge them with the default configs generated. Partially implements: blueprint multi-project-config Change-Id: Ibfb38d07a36dfa7fe25381adc34cc1d3cbe7d1e1
2016-05-13add support for non-default database_port in kolla/ansibleWaldemar Znoinski2-2/+3
This change makes each step of the kolla deployment aware of the port database was configured to listen on. It defaults mariadb_port to database_port. Change-Id: I8e85d5732015afc0a5481cb33e0b629fdfa84a1b Closes-Bug: #1576151 DocImpact
2016-05-03map the host localtime to the containerJeffrey Zhang2-0/+4
Closes-Bug: #1577148 Change-Id: I636cefc63cf532434a41af3898b63dffa711e280
2016-04-11Set db connection retry to infinityRyan Hallisey1-0/+1
Make sure that all the sevices will attempt to connect to the database an infinite about of times. If the database ever disappears for some reason we want the services to try and reconnect more than just 10 times. Closes-bug: #1505636 Change-Id: I77abbf72ce5bfd68faa451bb9a72bd2544963f4b
2016-03-24Revert "Make heat work"Sam Yaple1-1/+1
This reverts commit 7524b3770fedd730bf2c49d26a94135c5357781b. Liberty uses heat_user_domain and works and this should too. The bootstrap process itself must have changed or another part of the config. Either way that needs to be fixed so we can do proper upgrades. Basically, dont change the heat domain out from under the user). Change-Id: I32ae3ef90d340a83b09c09860af8f3635c1a07a5
2016-03-23Make heat workSteven Dake1-1/+1
Fix the domain user to point at heat instead of some nonsensenical value. Now stack-create works properly. Change-Id: If2bc57c2516ffe724999515bb6aa3eeb31a0c980 Co-Authored-By: Angus Salkeld <asalkeld@mirantis.com> Closes-Bug: #1553565
2016-03-22Disable deprecated heat plugins.Angus Salkeld3-0/+17
Note: you will get the following logs: WARNING heat.engine.environment [] OS::Heat::HARestarter is DEPRECATED. WARNING heat.engine.environment [] Removing OS::Heat::HARestarter from OS::Heat::HARestarter Change-Id: I071e4689110ad03da14b02ba9f0a1fd8463b8b55 Closes-bug: 1559828
2016-03-21Merge "Fix heat endpoint registration"Jenkins1-8/+8
2016-03-21Fix heat endpoint registrationSamYaple1-8/+8
This got lost in the keystone v3 switchover. Change-Id: I014c28e71335672153df79be2110e7585d7a21c0 Related-Bug: 1553565
2016-03-19Change deprecated options throughout KollaSamYaple1-1/+0
These options have all be deprecated/removed. This switches all options to thier proper mitaka values. TrivialFix Change-Id: Ica8d5ea0d48da01ee11672a32890431acd6a306d
2016-03-19Add memcached_servers to keystone_auth sectionSamYaple1-0/+11
The in-process cache for keystone tokens has been deprecated due to "incosistent results and high memory usage" with the expectation we switch to memcached_servers if we want to stay performant. Add memcache_servers [cache] section to the appropriate servers as the [DEFAULT]\memcache_servers options was deprecated. TrivialFix Related-Id: Ied2b88c8cefe5655a88d0c2f334de04e588fa75a Change-Id: Ic971bdddc0be3338b15924f7cc0f97d4a3ad2440
2016-03-17Allow per node configuration with augmentsSamYaple1-0/+1
This type of per node configuration is required to support things like availability zones for nova. As always, if this file doesnt exist it doesnt get used so this change is safe. TrivialFix Change-Id: Iff8172af522c2c96e5f2c173b24a5dfd4d522ed2
2016-03-11Use variables for auth_uri and auth_url protocolsMartin André1-2/+2
Change-Id: Icf5de0684b10c32cc6e29b62d183705d423b4333 Closes-Bug: #1555989
2016-03-09Upgrade HeatSteven Dake3-23/+32
This could possibly use gold plating in how bootstrapping operates to use shade rather than the shell in the container. It is unclear why stack create failed prior to this patch, but that fact hasn't changed. I think the heat domains are not setup properly in the configuration files, meaning that the domain ID must be created outside of Heat and registered in the configuration file. This is covered in Bug #1553565. Change-Id: I490d4dd68a101f388c0ecb4acab54d5eaa6e314e Partially-Implements: blueprint kolla-upgrade Implements: blueprint upgrade-heat
2016-03-07Use internalURL for internal communicationDave McCowan1-0/+3
When using separate networks for external APIs and internal APIs, services need to be configured to use the internal APIs. The default is typically publicURL. TrivialFix Change-Id: I24da63220a65e210c37d9f24b6d76a0031d66f3d
2016-03-03Merge "Reconfigure for Heat"Jenkins2-0/+79
2016-03-03Fix Keystone v3 and HorizonSamYaple2-27/+16
After our switch to keystone-manage bootstrap Horizon is not happy due to v3 not being setup correctly. This patch fixes that This also includes removal of unused variables (transforms them into endpoint url variables) TrivialFix Change-Id: I1e04db8c24049f80e974c063f03068a2ab32a563
2016-03-02Reconfigure for HeatSteven Dake2-0/+79
Add reconfiguration for heat-api, heat-engine, heat-api-cfn. Change-Id: I60d538d08eaf1db38876cccbb0db530b52d302b8 Partially-Implements: blueprint kolla-reconfig
2016-02-28Merge "Modify a hard-code keystone username in neutron and heat."Jenkins1-2/+2
2016-02-26Change kolla_internal_address variableSamYaple3-19/+19
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-26Modify a hard-code keystone username in neutron and heat.wangtianfa1-2/+2
Changed hard-code keystone username for neutron and heat in the neutron.conf template and heat.conf template. TrivialFix Change-Id: Ibdd1422bd4cae5011f9fc5f4de7dfc58601dca1d
2016-02-25Add the default empty reconfigure.yml file to all rolesJeffrey Zhang1-0/+1
DocImpact Partially-implements: bp kolla-reconfig Change-Id: I9738e80960bcfbef18d1ef1b7942f81c45684e85
2016-02-19Make Heka collect Heat logsÉric Lemoine3-7/+8
Partially implements: blueprint heka Change-Id: Ie22c4326c6ec2a3426b0c3b8fda4554b1b2541b0
2016-02-17Merge "Move socket binding to named_volume"Jenkins1-3/+3
2016-02-16Merge "Use variables to specify http or https when constructing URLs"Jenkins2-13/+13
2016-02-16Merge "Use trusts in heat.conf"Jenkins1-1/+13
2016-02-16Move socket binding to named_volumeSamYaple1-3/+3
The extend_start.sh script for rsyslog is removed as it is no longer needed. Docker no longer binds to /dev/log or /run/kolla/log Closes-Bug: #1544545 Change-Id: Ic0a323a26ee4e9e15baf4598285844a8a4955f23
2016-02-15Merge "Use uppercase 'S' in word "OpenStack""Jenkins1-1/+1