aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/manila
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake19-623/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-12Fix placement of policy.jsonDuong Ha-Quang1-1/+6
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-03Merge "Add manila-data service"Jenkins7-0/+52
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-27Add manila-data serviceMauricio Lima7-0/+52
Change-Id: Ie82f1dd7773ef2cc2c6724ec0b5f78ebd79566ee Closes-Bug: #1635370
2016-10-19Merge "Deprecate auth_plugin option in manila"Jenkins1-1/+1
2016-10-19Merge "Fix memcache configuration of manila-share"Jenkins1-0/+9
2016-10-19Fix memcache configuration of manila-sharezhubingbing1-0/+9
TrivialFix Change-Id: I1e900ef3a13222eeeb7bad3b53c1c91f82d8a8fa
2016-10-19Deprecate auth_plugin option in manilaZhongShengping1-1/+1
Option "auth_plugin" from group "keystone_authtoken" is deprecated in Manila. Use option "auth_type" from group "keystone_authtoken" instead. Change-Id: Id0cfe82d72cc59a1695c70474344313f5c2f2250 Closes-Bug: #1634724
2016-10-17Merge "Fix stale namespace removal issue"Jenkins1-1/+1
2016-10-15Fix manila upgrade permission issuezhubingbing3-0/+21
Change-Id: I52e47aee0d373be102c855cc791c7f369468302a Partial-Bug: #1631503
2016-10-15Fix stale namespace removal issueJeffrey Zhang1-1/+1
When using both /run and /run/netns in docker container, mount propagation won't work when delete namespace after the containers are restarted. This PS makes /run mount as shared. Closes-Bug: #1616268 Change-Id: Ie16699e1b193b2bf1263d89ea634e89ea69add9e
2016-10-13Merge "Add HNAS as Manila backend"Jenkins2-21/+32
2016-10-13Merge "Remove do_reconfigure.yml file for all roles"Jenkins2-78/+73
2016-10-10Add HNAS as Manila backendMauricio Lima2-21/+32
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-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-27Update manila-share.confFrancisco Edigleison Barbosa1-4/+0
Remove unused variable https://github.com/openstack/manila/blob/a97983dd0e23d9ea8654db0d6a2565d2daada04b/manila/share/drivers/service_instance.py#L60-L64 TrivialFix Change-Id: I8f1ec970dfbbea27da566ad0f92fe087ac0aa582
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-12Merge "Fix manila_share container isn't up after deploy"Jenkins2-5/+2
2016-09-12Fix manila_share container isn't up after deployMauricio Lima2-5/+2
Change-Id: Ia5ece5f02841aebc1bdb0950b3f827e1cee359e5 Closes-Bug: #1620721 Closes-Bug: #1614033
2016-09-08Fix manila-api binds to ::Mauricio Lima1-0/+4
TrivialFix Change-Id: Id2db05033d5c9c7150117a5e91f5a75a3bce71e2
2016-09-02Merge "Move to transport_url for rabbitmq configuration"Jenkins1-6/+1
2016-08-29Chage with_ loop variables syntax to ansible 2Tin Lam1-4/+4
Migrate to full variable syntax in with_ loop for manila and tempest. TrivialFix Partial-Implements: bp ansible2 Change-Id: Ic68fd6123f0cd5bd0035e139e89f7b569574074c
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-06Fix inconsistencies in git urlRobin Naundorf1-1/+1
Github is just a mirror of the OpenStack git-repo. Changed from Github to OpenStack git url wherever possible. Change-Id: I7941ef86967de4efe7f23ff9fb11ec86c793901e
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-31Merge "Manila driver session is needed only in manila-share"Jenkins3-84/+100
2016-05-31Manila driver session is needed only in manila-shareMauricio Lima3-90/+106
Generic, cinder, nova and neutron session aren't needed in manila-api and manila-scheduler. It's only needed in manila-share container. Closes-Bug: #1576823 Change-Id: Iad3054e00621b5fe7273213e1d85b54bcca2ba4a
2016-05-26Merge "add support for non-default database_port in kolla/ansible"Jenkins2-1/+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-1/+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-04-05Fix manila keystone v3 issues for all clientsMauricio Lima1-15/+35
Change-Id: I58472bd429accb7f0efa0fcbc7e8e2d3b76de9c4 Closes-bug: #1563972
2016-03-19Move manila variableSamYaple2-4/+4
The user variable was incorrectly in passwords.yml The naming was inconsistent, it should be prefixed with manila_* Removed old unused variable TrivialFix Change-Id: I182797fcc6d62d35174403d78d71c8ad7ddcbc43
2016-03-19Add memcached_servers to keystone_auth sectionSamYaple1-0/+5
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-15Merge "Fix UnicodeEncodeError for Manila"Jenkins1-1/+1
2016-03-15Fix UnicodeEncodeError for ManilaMD NADEEM1-1/+1
TASK: [manila | Copying over manila.conf] fails while deploying Manila ubuntu binary image with the following error. UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 313: ordinal not in range(128) The reason was use of non-ascii character <``> in manila.conf.j2 which is replaced by <''> in this patch to fix the issue. Change-Id: Ic26a5829ed700179997c7c06836fd581a67a6777
2016-03-14Move neutron options from group "DEFAULT" to group "generic"Mauricio Lima1-6/+6
Change-Id: I0d62a7303e7336c3e4a43c4eec284605fda5d125 Closes-Bug:#1557037
2016-03-09Fix Manila v2 endpointMauricio Lima1-3/+3
Change-Id: Ice31dbf7f840818edab4eb2cb07b3a0e2d4c4020 Closes-Bug: #1555289
2016-03-04Merge "Playbook for Manila upgrade"Jenkins3-17/+26
2016-03-04Merge "Fix Keystone v3 for Manila"Jenkins1-8/+8
2016-03-04Fix Keystone v3 for ManilaMauricio Lima1-8/+8
TrivialFix Change-Id: I05bc0c95533372af11575f345e64d6f57ef9c157
2016-03-04Playbook for Manila upgradeMauricio Lima3-17/+26
Co-Authored-By: Michal Rostecki <mrostecki@mirantis.com> Change-Id: Iceed173c3c3abea93b954f8d3cb45641de2aaa0f Partially-Implements: blueprint upgrade-kolla Implements: blueprint upgrade-manila
2016-03-04Use use_forwarded_for in manila configÉric Lemoine1-0/+1
In https://review.openstack.org/#/c/286876 the use_forwarded_for option was removed from the Manila configuration. Manila does support that option so it should be kept for logs to include the appropriate clien IP address. TrivialFix Change-Id: I0279ad24a2331ce7e6e292549013b9553fe1a6f3 Related-Bug: #1548935
2016-03-03Merge "Manila upgrade stub"Jenkins1-0/+1
2016-03-03Merge "Make Heka collect Manila logs"Jenkins1-1/+0