aboutsummaryrefslogtreecommitdiff
path: root/etc/kolla
AgeCommit message (Collapse)AuthorFilesLines
2015-10-22Automate setting up a cache tierSam Yaple1-0/+6
Introduces a new flag to bootstrap cache devices DocImpact Partially-Implements: blueprint ceph-improvements Change-Id: I09b5a0d5c61b3465237e5f01dc10120725561cd3
2015-10-22Allow specifying erasure as the pool typeSam Yaple1-0/+8
Change-Id: I581efd7c0d138cb78ab3afd755521f3fb375c0ee Partially-Implements: blueprint ceph-improvements
2015-10-21Merge "Add nova-spicehtml5proxy console"Jenkins1-0/+8
2015-10-20In gate functional testingSam Yaple1-0/+1
This runs the ansible playbooks to completion. It does not validate that OpenStack is working yet, but it will ensure Ansible did not break. Additional gates will be needed for this and there is a patch in project-config to handle that. Change-Id: I7a24a704023cc8f19d42844636e9cb512060f693 backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-19Merge "Update requirements to use tarball by default"Jenkins1-3/+2
2015-10-19Add build profiles to build.pyPaul Bourke1-2/+10
Add ability to define "profiles" in kolla-build.conf, which are predefined sets of images to build at once. The supplied profiles match what Steven defined in the restructure-template bp, though others can easily be added by the user. Multiple profiles can be supplied at once, as well as supplemented by the existing regex mechanism, e.g. to build profiles infra, main, and also ironic, one can use: tools/build.py --profile infra --profile main ironic Change-Id: I0c6f450152cb23dcfc58e0969669fcedf03fab01 Implements: bp restructure-template Doc-Impact
2015-10-19Add nova-spicehtml5proxy consoleSam Yaple1-0/+8
Change-Id: I0ca15e00ee52373b84f7021d86a29304526b7436 Partially-Implements: blueprint nova-proxies
2015-10-19Update requirements to use tarball by defaultSam Yaple1-3/+2
This makes all of our defaults tarballs for consistency TrivialFix Change-Id: I4cb923a3319aa3dcba10dccf439a0193a42c1d55
2015-10-17Merge "add "registry" flag to "tools/build.py""Jenkins1-0/+2
2015-10-17add "registry" flag to "tools/build.py"Kuo-tung Kao1-0/+2
With registry flag, build image using `tools/build.py --registry 172.22.2.81:4000` the image name looks like `172.22.2.81:4000/kollaglue/data` When user use kolla-ansible, user set `docker_registry` to `172.22.2.81:4000` in `/etc/kolla/globals.yml`. Build image using `tools/build.py -n abcd` the image name looks like `abcd/data` When user use kolla-ansible, user set `docker_namespace:` to `abcd` in `/etc/kolla/globals.yml`. build image using `tools/build.py -n abcd --registry 172.22.2.81:4000` the image name looks like `abcd/data` When user use kolla-ansible, user set `docker_namespace:` to `abcd` in `/etc/kolla/globals.yml`. user set `docker_registry` to `172.22.2.81:4000` in `/etc/kolla/globals.yml`. With the feature, it will reduce user confusing and mistaking. Change-Id: I18ac7a3ccec032888e35f5e9a79fc190760cc8a0 Closes-Bug: #1505056
2015-10-15Merge "Fix syntax in kolla-build.conf example"Jenkins1-4/+4
2015-10-15Merge "Use memcache for consoleauth and horizon"Jenkins1-0/+1
2015-10-15Fix syntax in kolla-build.conf examplePaul Bourke1-4/+4
TrivialFix Change-Id: I60dacac49d416442e699c790617ac5ad0a8b0a8e
2015-10-15Use openstack/requirements for repeatable buildsPaul Bourke1-0/+5
Add this repo to the openstack-base image, and use the upper-constraints to install the client packages. Will follow up with dependant patches for the child images to reduce the risk of breaking everything at once. -- Background: Many dependencies in the requirements.txt of OpenStack components have quite loose version requirements, in many cases they will just specify a minimum version (e.g. WebOb>=1.2.3). The result of this is that given a Kolla image for Keystone built today, another build of the exact same ref of Keystone could be broken tomorrow, due to it picking up a later unsupported dependency. The https://github.com/openstack/requirements repo exists to bring some sanity to this situation. (It also outlines other problems it solves in it's readme). We also may like to checkout the stable/liberty branch of this project in our liberty branch, once it appears. Change-Id: Iccb4e99f8e4b6659a19c1817d0f4c697824af25c Partial-Bug: #1505306
2015-10-15Use memcache for consoleauth and horizonSam Yaple1-0/+1
Unfortunately there was no was to avoid memcache for consoleauth, so we might as well take advantage of it for Horizon as well. Change-Id: Idd338a025b031f6b50fe0c9f03c2c8d862f9d4c0 Closes-Bug: #1504606 Closes-Bug: #1504800
2015-09-30Fix wrong option name in kolla-build.confMartin André1-1/+1
The install type can now be change by specifying the correct option name. Change-Id: I612afc3df1e0e1bdfa9243417537eb176f0d89cc Closes-Bug: #1501327
2015-09-28Add Ansible support for IronicJeff Peeler6-0/+3
Configuration based off upstream documentation here: http://docs.openstack.org/developer/ironic/deploy/install-guide.html A few notes: -ironic-api is not configured to use mod_wsgi -several places it's noted that discoverd is going away and needs to be replaced with ironic-inspector - (sqlite connection should be changed too) -currently enabling ironic reconfigures nova compute (driver and scheduler) as well as changes neutron network settings -a nice enhancement would be to configure the web console Required post-deployment configuration: Create the flat network to launch the instances: neutron net-create --tenant-id $TENANT_ID sharednet1 --shared \ --provider:network_type flat --provider:physical_network physnet1 neutron subnet-create sharednet1 $NETWORK_CIDR --name $SUBNET_NAME \ --ip-version=4 --gateway=$GATEWAY_IP --allocation-pool \ start=$START_IP,end=$END_IP --enable-dhcp And then the above ID is used to set cleaning_network_uuid in the neutron section of ironic.conf. Change-Id: I572e7ff1f23c4e57a2c50817cafe9269fd9950dd Implements: blueprint ironic-container
2015-09-25Make OpenStack use CephSam Yaple1-0/+1
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-24Ceph Ansible supportSam Yaple2-0/+7
Add the initial playbooks for making ceph and ansible play nice together. This does not include all of the openstack changes to make things like nova, glance, and cinder work. This will simply build the ceph cluster and thats it. The next patchset will do the OpenStack integration. DocImpact Change-Id: Ie1697dde5f92e833652933a80f0004f31b641330 Partially-Implements: blueprint ceph-container
2015-09-21Consolidate kolla-build configuration in one fileMartin André1-0/+78
The source location definition previously in build.ini was merged in etc/kolla/kolla-build.conf since it is really configuration for the kolla-build tool. Change-Id: I7531af0029bdfeabbaefb8a6aa97b70bb12c021a Closes-Bug: #1496702
2015-09-18Merge "Implement configuration file for kolla-build"Jenkins1-0/+43
2015-09-17Implement configuration file for kolla-buildMartin André1-0/+43
Kolla build script configuration now lives in /etc/kolla/kolla-build.conf. This allows overriding configuration options without the need to pass arguments on the command line. Command line arguments still get precedence. Closes-Bug: #1496185 Change-Id: I69482a11437087f19d7f76b379dca85b1f622268
2015-09-17Expose HAProxy stats for management purposeQiu Yu1-0/+6
Change-Id: Ia7263a9993e29c8f3db71e86264b786398224223 Closes-Bug: #1496658
2015-09-13Merge "Add missing Swift services, also ansible configuration"Jenkins10-0/+0
2015-09-07Add missing Swift services, also ansible configurationjamesmmccarthy10-0/+0
DocImpact Closes-Bug: #1477993 Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Ifeab0fec11889cb0c90a56a6211dbdd27a40f3d9
2015-09-07Add ansible support for MuranoMick Thompson4-0/+3
Deploy the core services for murano-api and murano-engine containers. Implements: bp ansible-murano Change-Id: Ibcc618665a3509465ba8f9249a417e8848087eef
2015-08-29Add Ansible support for HeatSteven Dake5-1/+4
This changes bootstrapping of the Heat container to bootstrap the Heat container with a heat domain user. This requires some work from bootstrap.yml to pass in several environment variables needed by the heat domain setup script. Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: Iab05983754fa514835cb5ff54d775faa18773110 Partially-implements: blueprint ansible-heat
2015-08-27Merge "Display neutron plugin options in globals.yml"Jenkins1-0/+3
2015-08-27Display neutron plugin options in globals.ymlSam Yaple1-0/+3
Change-Id: I86244e68fac162b70f68356175e4550bd508b85c Partially-Implements: blueprint update-configs
2015-08-27Remove CONFIG_STRATEGY prefixSam Yaple1-2/+2
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-26Implement Ansible role for SwiftPaul Bourke7-0/+4
This currently deploys the core services for a working Swift which are account/container/object/proxy. I've included some basic docs in docs/swift-related.rst, which gives usage instructions and more context on this patch. These are really to give an overview of the state of Swift in Kolla as of now, so unless there's some major inaccuracy there please don't nitpick it. Change-Id: Id0c54be3e24c46459c40b16b7020f05bddbe1b19 Implements: blueprint ansible-swift
2015-08-19Move lots of global.yml optionsSam Yaple1-53/+48
This moves the remaining global.yml options into the all.yml file Change-Id: I9795b924e3e1882d20ba8f16ef3c5fe5c0193ef3 Partially-Implements: blueprint update-configs
2015-08-19Move defaults.yml to group_vars/all.ymlSam Yaple2-72/+0
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-17Change default install type to binaryJeff Peeler1-1/+1
Currently set to "rdo", however rdo is merely a symlink in the tree and the default in build.py is "binary". https://github.com/stackforge/kolla/blob/67ce01fc625ace5ebef72951fdf59b63af0e9ea6/tools/build.py#L147 Change-Id: Ic17a4f83064173fa9297bc0f92deda11a143a1be Closes-Bug: #1485739
2015-08-13Update mariadb confs and portsSam Yaple1-0/+5
Cleanup all options in galera.cnf. Bind to all interfaces and ports appropriately. Change-Id: I516613d09673ba61aadda2c7bbb4abbbe4ea47ac Partially-Implements: blueprint update-configs Closes-Bug: #1478330
2015-08-12Merge "Update nova.conf and ports"Jenkins1-0/+2
2015-08-12Merge "Update rabbitmq confs and ports"Jenkins1-0/+5
2015-08-12Add ansible support for CinderSwapnil Kulkarni8-0/+11
Change-Id: I0694e5ad95aa7f924ebd3a29dff1f85e6307b7ae Partially-implements: blueprint ansible-cinder Partially-Implements: blueprint remove-abstraction-ansible Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
2015-08-10Update nova.conf and portsSam Yaple1-0/+2
Cleanup all options in the minimal nova.conf. Remove options where the default value was specified explicitly. Updated ports and bindings to be configurable. Partially-Implements: blueprint update-configs Change-Id: I0bca7a8f9c4c6fa40145d66a95de7e98edc0edce
2015-08-10Update rabbitmq confs and portsSam Yaple1-0/+5
Cleanup all options in the rabbitmq confs. Allow all ports to be configurable. Change-Id: I9b3b485a4f3a25d20c0f19d13638f717daa169dc Partially-Implements: blueprint update-configs
2015-08-06Change ansible to search for latest tagRyan Hallisey1-1/+1
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-02Merge "Add linuxbridge as option to ansible"Jenkins2-1/+5
2015-08-02Add linuxbridge as option to ansibleSam Yaple2-1/+5
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-01Updated all tags for Liberty2Sam Yaple1-1/+1
Bump the tags for liberty2 Change-Id: Id8c22ea4db70dccdc66168fd0a953f8e2ca743e5
2015-07-30Properly use groups throught AnsibleSam Yaple1-0/+11
Additionally, make each service optional witha config option allowing for extreme flexibility should the deployer want to replace a service with a non-kolla one (the database for example). Change-Id: I7b644da7cfa7e8e6b6878eb1b1aa97db830504ae Closes-Bug: #1478509
2015-07-23Properly use all configs with neutronSam Yaple3-0/+0
Change-Id: Ie347964d42e7060c69047b1aeece1cf0ad311ae6 Partially-Implements: blueprint ansible-service
2015-07-23Adds the appropriate tools to addin the ovs bridgeSam Yaple1-2/+2
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-19Ansible Neutron supportSam Yaple5-0/+0
Add initial Ansible support for Neutron Change-Id: Idad011945bff914535d1ac0eb09cc9d3b0882fbe Partially-Implements: blueprint ansible-service
2015-07-12Ansible Nova w/ libvirt supportSam Yaple10-2/+21
Initial support for Nova in Ansible Partially-Implements: blueprint ansible-service Change-Id: I4b0a74bd3e5daa5664f5e1e622bfb40c3285949e
2015-07-12Add temporary Ansible keystone modulesSam Yaple1-0/+14
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