aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/ironic
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake18-524/+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-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-20Fix invalid json in ironic serviceJeffrey Zhang2-2/+2
Change-Id: Idbf10404606dd17be334056c95b6e5f9ae800495 Partial-Bug: #1631503
2016-10-18Merge "Fix ironic upgrade permission issue"Jenkins2-0/+24
2016-10-17Fix ironic upgrade permission issueJeffrey Zhang2-0/+24
Change-Id: I8af7c842e9b0afdc035bb64d3350f6ad65682377 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 "Remove do_reconfigure.yml file for all roles"Jenkins2-81/+75
2016-10-03Fix ironic failedJeffrey Zhang2-5/+15
* Mount system folder in ironic-conductor * Add package need in ironic-conductor * Fix the log path issue * Add ironic sudoer in ironic-base * Fix credential issue * Do not start nova-compute when enable ironic Closes-Bug: #1629334 Change-Id: If9d478c6513de37465403d458a88cf0da7ebd8a6
2016-09-27Remove do_reconfigure.yml file for all rolesJeffrey Zhang2-81/+75
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-25fix ironic-inspector setupWaldemar Znoinski1-2/+2
* add ironic-inspector(-archive) source to docker image * pip install from above source code * move in-container config files to /etc/ironic-inspector * add sudoers file to allow ironic-rootwrap * copy rootwrap conf and filters from source repo Change-Id: Ie3cce19810b9940d06bb636b28015160fea6ddfb Closes-bug: #1624457 Closes-bug: #1624833 Closes-bug: #1624845
2016-09-21Add "---" into some files of yamlcaoyuan1-0/+1
TrivialFix Change-Id: Id2cd736f136068514f26977b434b15a8b1ffc8be
2016-09-19Merge "fix config file permission to ironic instead of root"Jenkins1-1/+1
2016-09-18fix config file permission to ironic instead of rootWaldemar Znoinski1-1/+1
Change-Id: I1ce97d18e45de19f88874894bdac588874aa6320 Closes-bug: #1613292
2016-09-16Merge "Correct Ironic keystone_authtoken option name"Jenkins1-3/+3
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-08Correct Ironic keystone_authtoken option nameMD NADEEM1-3/+3
Change below parameters name right <-- wrong admin_tenant_name <-- project_name admin_user <-- username admin_password <-- passowrd Change-Id: Iac6a9e949df2ae952abd7a2a3a571e569db7c0ab Closes-Bug: #1621432
2016-08-25Move to transport_url for rabbitmq configurationJeffrey Zhang1-6/+2
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-24Merge "ironic.conf file missing enabled_drivers info"Jenkins1-0/+2
2016-08-18Port with_ loop variable syntax to Ansbile 2 (finish)Duong Ha-Quang1-4/+4
Migrate to full variable syntax in with_ loop instead of bare variables for: - cinder - haproxy - ironic - magnum - mistral - mongodb - murano - swift - watcher TrivialFix Change-Id: I3ef2e79053cf609aaa710e43ffd0adbc5a97565b
2016-08-17ironic.conf file missing enabled_drivers infoZhongShengping1-0/+2
When ironic is deployed using kolla, in ironic.conf file there is no configuration option of enabled_drivers present. Change-Id: I5c9e7533e8ca139addee8cf4cc4084e856ae0306 Closes-Bug: 1610272
2016-08-04Merge "Volume specification for ironic-api was invalid."Jenkins1-1/+2
2016-08-05Volume specification for ironic-api was invalid.Will Rouesnel1-1/+2
This prevented deploying ironic-api using kolla. Changing to a single entry list fixes the problem and allows the deploy to succeed. Closes-Bug: #1606702 Change-Id: I98c2b06ab08e3b8afcaeb712be377cb363220283
2016-05-26Merge "add support for non-default database_port in kolla/ansible"Jenkins2-3/+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-3/+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 Zhang3-2/+9
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-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-09Fixed typo in variable "ironic_public_endpoint"Rodolfo Alonso1-1/+1
Changed from ironic_admin_endpoint to ironic_public_endpoint. Change-Id: Ie33ef93a15573380ff013c0444510586afa6c914 Closes-Bug: #1555219
2016-03-04Merge "Playbook for Ironic upgrade"Jenkins3-16/+23
2016-03-04Merge "Reconfigure Ironic"Jenkins2-0/+82
2016-03-04Playbook for Ironic upgradeMD NADEEM3-16/+23
Change-Id: Ib2917567934c4bc37c79883f114ca56055394314 Partially-Implements: blueprint upgrade-kolla
2016-03-03Fix Keystone v3 and HorizonSamYaple2-7/+10
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-03Reconfigure IronicRyan Hallisey2-0/+82
Change-Id: I2e77398a18a8c04a20c835a3780b7c761344dd0c Partially-implements: bp kolla-reconfig
2016-03-01Merge "Move ironic-discoverd to ironic-inspector"Jenkins8-28/+29
2016-03-01Remove keystone admin tokenSamYaple1-1/+2
Admin token has been deprecated upstream. It will be removed in O. We switch over to the new `keystone-manage bootstrap` method for creating the initial admin user, role, and project. Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I6ca90e8d4c3b71009e24b049b2efbc08c05ebfbf
2016-02-29Move ironic-discoverd to ironic-inspectorAllen Gao8-28/+29
Closes-Bug: #1551052 Change-Id: Ic226287bbf1f1e8d5cc2e1d80ce2975448b1f95c
2016-02-26Change kolla_internal_address variableSamYaple3-10/+10
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-25Add the default empty reconfigure.yml file to all rolesJeffrey Zhang1-0/+1
DocImpact Partially-implements: bp kolla-reconfig Change-Id: I9738e80960bcfbef18d1ef1b7942f81c45684e85
2016-02-19Keep consistent with others for ironic containersAllen Gao2-7/+7
Make the containers and volumes names of ironic to be consistent with others. Partially-implements: blueprint ironic-container Change-Id: If78b020c81157a948c5c3283f1410bcb6e5c1e61
2016-02-16Merge "Use variables to specify http or https when constructing URLs"Jenkins3-8/+8
2016-02-15Merge "Use uppercase 'S' in word "OpenStack""Jenkins1-1/+1
2016-02-15Use variables to specify http or https when constructing URLsDave McCowan3-8/+8
To allow for TLS to protect the service endpoints, the protocol in the URLs for the endpoints will be either http or https. This patch removes the hardcoded values of http and replaces them with variables that can be adjusted accordingly in future patches. Change-Id: Ibca6f8aac09c65115d1ac9957410e7f81ac7671e Partially-implements: blueprint ssl-kolla
2016-02-15Use uppercase 'S' in word "OpenStack"venkatamahesh1-1/+1
Change-Id: I27ca0ea75f3d6a4371c91b3cb2c7a999ec90fbc4
2016-02-02Rename kolla_ansible to kolla_toolboxSamYaple2-4/+4
This change is needed for clarity. We have a kolla-ansible script. We have a kolla-mesos repo. We plan to have a kolla-ansible repo. Already we have had far too much confusion about whether we are talking about the container or the project. Naming this kolla-toolbox eliminates all of that confusion and its probably a bit more accurate of a name too. Closes-Bug: #1541053 Change-Id: I8fd1f49d5a22b36ede5b10f46b9fe02ddda9007e
2016-01-28Update all bootstraps to use LabelSamYaple1-0/+4
Add bootstrap label to all bootstrap containers to ensure that when the a new container is launched a difference is seen between it and the bootstrap container since we cannot rely on ENV variables for this. This only affects mariadb at this stage, but it is needed to ensure rabbitmq works when we switch to named volumes. Change-Id: Ia022af26212d2e5445c06149848831037a508407 Closes-Bug: #1538136