aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nova/tasks/config.yml
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake1-105/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-12Fix placement of policy.jsonDuong Ha-Quang1-1/+10
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-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-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-04-14Use proper CentOS repositories for ceph and qemuSteven Dake1-3/+6
CentOS has a virtualization sig and storage sig which produces udpated ceph and qemu images. These images are then reused within the rest of Red Hat packaging. Install these repositories for CentOS and make use of them. This should work for OracleLinux as well. Still testing centos. Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com> Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Iea21fc4f33bbfdb973cf354d492c372bd3360acb Closes-Bug: #1566588
2016-04-03Implement nova-ssh containerJeffrey Zhang1-0/+12
Add a nova-ssh container to handle the `nova migrate` and `nova resize` case, in which the nova will use ssh to copy files between machines. Change-Id: Ie6675943f3aeabfbba8589d308d55b9c89d732db Closes-Bug: #1562141
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-15Switch to with items for sysctlSamYaple1-13/+6
This will give more info to the user about the specific values being set and allows us to grow this list easier. TrivialFix Change-Id: Iaf22bf2c9f4ab294bec0cca17699d461852109ac
2016-02-29Remove the role path from the template srcAllen Gao1-1/+1
The path of the template file under the same role can easily be omitted, and we are using this omitting in most places except those this commit is fixing. TrivialFix Change-Id: I6d1563e235151669d9d9268d69555aae15e31926
2016-02-06Convert Neutron to thin containersSamYaple1-1/+1
*** Requires Docker 1.10 which is released *** Documentation will be in the next patch. You must set the following in your docker.service daemon control file for propogation to work: [Service] MountFlags=shared ====================================================================== Thanks to mount propagation in Docker 1.10 we can use thin containers finally! This is extremely useful to operators since now they can access the network namespaces from the hosts (outside the neutron container). But additionally it allows us to implement the VPN agent and other services easier. Neutron containers and the neutron role are brought into the standards of the new Kolla. Completely with drop-root and ansible formating updates. The ip_wrapper.py script was (thankfully) not needed so it has been removed from the repo. Partially-Implements: blueprint upgrade-neutron Change-Id: Iaf5555283240457e1912459f397a6393d886fba1
2015-12-25Add container for nova-compute-ironicAndrey Shestakov1-0/+3
Implements blueprint ironic-compute-container Change-Id: I110bf3aa94bdfd33038ed39d78bd40ea30b13e57
2015-12-22Simplify config creationSamYaple1-201/+48
Convert config creation from a playbook to an action_plugin. This reduces the complexity and confusion while retaining the same augment structure and flexibility. This allows us to remove the 0-byte files as requirements. They will still be used if they are present (this means we require additional documentation around them). DocImpact Closes-Bug: #1528430 Change-Id: I2c789f6be9f195c7771ca093a6d59499564b4740
2015-11-06Merge "Finish implementation of spice"Jenkins1-2/+36
2015-11-06Finish implementation of spiceSam Yaple1-2/+36
Due bad rebases there is a huge section of the spice patch missing from the implementation unfortunately. This patch finishes the rest of this patch out properly. Change-Id: I693c6745e9594fd91eb6453f6de9dfcbd410e89c Paritally-Implements: blueprint nova-proxies
2015-11-05Allow disabling of sysctl valuesSam Yaple1-2/+6
The main reason for this change is to allow the DinD stuff to work. It has limited use outside of that use case, but it may still be useful to others in the future. Change-Id: Ib3a4639cfb3fc0d378d33fc8b9ff8eb597f818ab Partially-Implements: blueprint multinode-gate
2015-10-07Fix wrong sysctl variable name (part 2)Sam Yaple1-2/+2
Change-Id: I8e4c9beb90a0b289f56947ca6292f6455e26e07b Closes-Bug: #1503416
2015-10-07Fix wrong sysctl variable nameMartin André1-1/+1
The bridge parameters should be net.bridge.* according to install documentation at docs.openstack.org. Change-Id: Ib29dd462e01f26e3fec48f0730ed322f2704cd8a Closes-Bug: #1503416
2015-10-04Set sysctl valuesSam Yaple1-0/+14
A few sysctl values are required for networking to work. All of them are documented at docs.openstack.org and while some of them are the defaults on systems, they should be explicitly set since networking will break without them set. Change-Id: I4507eb2602e52eeab61bdceea4c94b1c35696a7d Closes-Bug: #1482794
2015-09-27Create nova-libvirt directory before copying filesSam Yaple1-6/+6
The previous patch (I92f2eac895283791b2eea6a4351a43e90fdbb5a3) didn't fix it because of the ceph patch that merged. Change-Id: I82207f5cc684f7c180e301cac69fcc98fca63268 Partially-Implements: blueprint replace-config-external
2015-09-25Make OpenStack use CephSam Yaple1-0/+6
This implements all the openstack pieces needed to make ceph work. DocImpact Change-Id: I1d24476a966602cf955e5ef872b0efb01319894a Partially-Implements: blueprint ceph-container Implements: blueprint kolla-live-migration
2015-09-24Add missing when statments when copying JSON files in ansibleRyan Hallisey1-0/+8
Change-Id: I865b3f4c63520ec318c8b50f4ba60b5715d283ee Partially-Implements: blueprint replace-config-external
2015-09-24Create nova-libvirt directory before copying filesSam Yaple1-0/+5
Change-Id: I92f2eac895283791b2eea6a4351a43e90fdbb5a3 Partially-Implements: blueprint replace-config-external
2015-09-23Replace config-external with a JSON file for Novarthallisey1-0/+35
Change-Id: I38c545484a7b1f3906d844eb3a7486e11c4b276a Partially-Implements: blueprint replace-config-external
2015-07-12Ansible Nova w/ libvirt supportSam Yaple1-0/+120
Initial support for Nova in Ansible Partially-Implements: blueprint ansible-service Change-Id: I4b0a74bd3e5daa5664f5e1e622bfb40c3285949e