summaryrefslogtreecommitdiff
path: root/kolla
AgeCommit message (Collapse)AuthorFilesLines
2016-04-27Override default latest tag on ubuntuMichal (inc0) Jastrzebski1-0/+5
After 16.04 got released we can't build our images as we pull latest (16.04 now) and our sources lists are built for 14.04. We pin ubuntu to 14.04 here. Change-Id: Ib29a1c607c3a725cdaf2098edd1c4b80f06a5e38 Closes-Bug: #1575884
2016-04-15Merge "Add iscsid/tgtd specific parameters to Kolla infrastructure"Jenkins1-1/+1
2016-04-12Add iscsid/tgtd specific parameters to Kolla infrastructureSerguei Bezverkhi1-1/+1
This partially implements iscsi and lvm2 support for cinder in Kolla. Add integration with Kolla infrastructure. Change-Id: I5b7d59163518080f38aec0c00617440de0763f1d Implements: blueprint iscsi-lvm2-docker
2016-04-12Add missing base os values to kolla-build.confSwapnil Kulkarni (coolsvap)1-0/+2
Added centos, ubuntu, oraclelinux. Not added other base distros are not well maintained currently. Change-Id: Icb1c12dde2ff005068f1b0f36693049f9ea30f52 Closes-Bug:#1569265
2016-04-05Log the SHA of the Git ref for source buildsPaul Bourke1-2/+3
When using named refs in source builds, e.g. "reference = master", one can't easily tell from the build output what SHA master actually pointed to at that point and time. Update the debug output to include this. Closes-Bug: #1566316 Change-Id: I95c1cc316ab7332fa30fa43e207a5a5512b76708
2016-04-03Implement nova-ssh containerJeffrey Zhang1-0/+23
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-22Add PBR generation of version informationSteven Dake1-3/+3
Change-Id: I6391392645d8608a92c885071b26210eed3f5466 Partially-Implements: blueprint add-reno
2016-03-21Merge "Add generate_passwords.py to generate passwords"Jenkins1-0/+51
2016-03-21Add generate_passwords.py to generate passwordsSamYaple1-0/+51
As with all tools, this is a first pass at the generation. Perhaps we even want to move this into kolla/kolla/cmd and be generated with tox itself in the future. This tool, when run, will only populate empty fields that have no values meaning that it is safe to run repeatedly on the same file. Of note, there is no way to preserve comments in the file after it has been processed by the yaml parser in python. Comments and sections will remain in the passwords.yml template for additional documentation if the user wishes to populate the file themselves. Use SystemRandom and clean up the docs a bit to not use pronouns. Co-Authored-By: Steven Dake <stdake@cisco.com> Closes-Bug: #1559266 Change-Id: I2932d592df8871f1b7811059206d0b4d0553a687
2016-03-21Split versions onto new lineSamYaple1-5/+10
This makes the process of updating versions _much_ easier and opens the door to a rough automated updater This should merge in master _BEFORE_ mitaka branch TrivialFix Change-Id: I90b974316c5b48fd7a31959de317cb71ae3affec
2016-03-14Merge "Mesos DNS container"Jenkins1-2/+2
2016-03-10Merge "Add cron image and playbook"Jenkins1-3/+3
2016-03-09Add cron image and playbookÉric Lemoine1-3/+3
Add cron image and playbook for logrotate. The "common" Ansible playbook includes configuration files for logrotate. At this point the operator cannot customize/override the logrotate configuration. Closes-Bug: #1553244 Change-Id: Ic9fdda9a273c9ccd90502f0acc7614d2c7157dca
2016-03-09Add local directory or file for source buildSamYaple2-1/+11
This change allows using a local directory or tarball to build from sources by specifying the 'local' type in your kolla-build.conf: [keystone-base] type=local location=/home/martin/src/keystone [neutron-server-plugin-networking-cisco] type=local location=/tmp/networking-cisco.tar.gz Closes-Bug: #1509625 Co-Authored-By: Martin André <m.andre@redhat.com> Change-Id: I3f6f68b0f44efdac653d186d2625591ad7cb3b2a
2016-03-08Mesos DNS containerArtur Zarzycki1-2/+2
Change-Id: I07ce1b0f6a48de2a8290fac75dcf7ef07960aaf5 Implements: blueprint mesos-dns-container
2016-03-08Handle kolla-build exceptionSwapnil Kulkarni (coolsvap)1-2/+7
kolla-build currently does not provide information if docker service is not running. Added exception handling. Change-Id: I1f167804b8b4d2ad9220281954ff7ea7162a9817 Closes-Bug:#1553912
2016-03-03Introduce the hacking module to kollaJeffrey Zhang2-0/+26
Implements: blueprint add-hacking Change-Id: Ia24a263555b9c1eb11e61b9d3fe89612a89daed6
2016-02-28Add timeout to requests.get() in kolla/cmd/build.pyVikram Hosakote3-1/+32
When kolla-build is running, if there are network issues or if the source's location (like http://tarballs.openstack.org) fails to respond due to high number of concurrent requests, kolla-build just hangs/blocks indefinitely. This patch set resolves this issue by adding a timeout of 120 seconds for requests.get() in kolla/cmd/build.py, adds a unit test for it in kolla/tests/test_build.py and also the "timeout" argument in kolla/common/config.py. Change-Id: I7c8745a20b9bd1c3f5d6a55c72a794f16fd7e513 Closes-Bug: #1548614
2016-02-23Remove Rsyslog entirelyÉric Lemoine1-4/+3
Partially implements: blueprint heka Change-Id: I1322d2dc870e6f8fe052926995d993e8a08a25db
2016-02-20Merge "fix the custom profile raise exception issue"Jenkins3-10/+65
2016-02-20Merge "Fix image plugin functionality for oslo.config"Jenkins6-1/+42
2016-02-19Add a Dockerfile for HekaÉric Lemoine1-3/+4
Partially implements: blueprint heka Change-Id: Iafe0dba1333f1f84bc5956890c3b7a0c2a45cef3
2016-02-16Reduce gate resource usageSamYaple1-4/+3
Change-Id: Ic6cd45ec708efe4f573e19f3bc910717ac3b4fbb Partially-Implements: blueprint functional-testing-gate
2016-02-15Merge "Use uppercase 'S' in word "OpenStack""Jenkins1-1/+1
2016-02-15Use uppercase 'S' in word "OpenStack"venkatamahesh1-1/+1
Change-Id: I27ca0ea75f3d6a4371c91b3cb2c7a999ec90fbc4
2016-02-15fix the custom profile raise exception issueJeffrey Zhang3-10/+65
Closes-Bug: #1536272 Change-Id: I6c91e522923eade16ba23711e6014e6b4b8cd3e0
2016-02-12Fix image plugin functionality for oslo.configPaul Bourke6-1/+42
The new oslo.config style parsing for kolla-build.conf stopped plugins from working. This patch fixes it and adds a unit test. Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com> Closes-Bug: 1534556 Change-Id: I135797c733ae0cae040a009c364073769b19e4eb
2016-02-10Remove data docker imageJeffrey Zhang1-2/+2
we have moved to named volume, the old data container should be removed TrivialFix Change-Id: Ib73205de6566509492568381179814baa7af2d22
2016-02-05Merge "Rename kolla_ansible to kolla_toolbox"Jenkins1-3/+3
2016-02-05Merge "Ubuntu custom apt repos"Jenkins2-1/+17
2016-02-04Merge "Move the install base type check to kolla-build"Jenkins2-0/+41
2016-02-04Move the install base type check to kolla-buildAllen Gao2-0/+41
The install type is converted in kolla-build, so it will never fail in dockerfile, move the check to kolla-build just above the install type converting. TrivialFix Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: I1500d3b47e909f94ea9f68c5245297733f63a70b
2016-02-03Ubuntu custom apt reposSamYaple2-1/+17
Change-Id: I3afb8a29c4ae2369f29e0cc94d75ff8a3c42594b Implements: blueprint custom-repos
2016-02-03Fix config help messageAllen Gao1-2/+2
Adding the necessary spaces. TrivialFix Change-Id: I3858ed1cb978bcf8aefd4a85f7c802607876b36e
2016-02-02Rename kolla_ansible to kolla_toolboxSamYaple1-3/+3
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-29Removed unused containers from gate buildSamYaple1-5/+4
TrivialFix Change-Id: I7ccbecddc55b26d252b92faccec94676315c3eec
2016-01-26Merge "Pick up proxy buildargs from environment"Jenkins2-1/+57
2016-01-25Bump RDO delorean repositories to current-passed-ci for MitakaDavid Moreau Simard1-1/+1
RDO now has regular and good coverage which leads to tested repository promotion to current-passed-ci. Bumping to current-passed-ci should lead to less errors and instability. Change-Id: Ifb68a26afe0062a27303553b8116a3c739aa33c6
2016-01-20Merge "Import modules rather than objects"Jenkins1-10/+9
2016-01-20Merge "Add Dockerfiles for Mesos"Jenkins1-2/+6
2016-01-20Import modules rather than objectsJeffrey Zhang1-10/+9
Base on the OpenStack Style Guidelines[0]: Do not import objects, only modules [0] http://docs.openstack.org/developer/hacking/index.html#imports TrivialFix Change-Id: Id1bc5e4b24fd561f1a9f6167af341b00a343a718
2016-01-19Add Dockerfiles for MesosMichal Rostecki1-2/+6
Change-Id: Iaf317817eccaa72f2a86b1058a0179afd3427859 Partially-Implements: blueprint mesos
2016-01-19Merge "Expose the docker build_arg to build.py"Jenkins3-2/+23
2016-01-19Merge "add unittest code base"Jenkins6-0/+106
2016-01-19Merge "Add manila container (source only)"Jenkins1-0/+4
2016-01-18Add manila container (source only)Marc Koderer1-0/+4
Support manila as container. First step only supports building from source. Change-Id: I60bb67536c9afdb9f0532b3cdc2c400a68608003 Partially-Implements: blueprint enable-manila-containers
2016-01-18Pick up proxy buildargs from environmentPaul Bourke2-1/+57
We currently support any buildarg via --build-args. This patch picks up the default supported proxy buildargs if set in the user's environment, to allow for more transparent proxy support. The --build-args will take precendence. DocImpact Implements blueprint: better-proxy-support Change-Id: I084e5d1cc8f9993d65167878f9983ad58a68e86e
2016-01-18Expose the docker build_arg to build.pyJeffrey Zhang3-2/+23
With this implement, we can add variables at building stage. For example, add HTTP_PROXY and NO_PROXY when needed like below. build.py --build-args \ HTTP_PROXY:http://127.0.0.1:8080,NO_PROXY:127.0.0.1 More info about build_arg, pls check[0] [0] https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables-build-arg DocImpact Implements: bp add-buildargs Change-Id: I29ed7f536670fef59d697603dc562a69d90743c9
2016-01-18add unittest code baseJeffrey Zhang6-0/+106
* add a base TestCase class * load the tests from the project root rather than only tests dir * add a test case for WorkerThread builder function Change-Id: Icf878f9249b475a311123c8235c42b1212d02ca6 Partially-implements: bp add-ut-codebase
2016-01-16Use dict.items() for adding Python 3 compatibilityting.wang2-3/+3
Replacing dict.iteritems()/.itervalues() with six.iteritems(dict)/six.itervalues(dict) was preferred in the past, but there was a discussion suggesting to avoid six for this. ref: http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html Partially implements: blueprint python3 Change-Id: Ie931bc02f558f6db3677b44f645eb3bdf78ccae8