summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2016-02-14Merge "Make kolla-toolbox container build on CentOS bin"Jenkins1-1/+2
2016-02-14Fix keystone initial auth mechanismSamYaple1-0/+5
A recent change in keystone [1] has deprecated the token auth mechanism that we used. We reintroduce it temporarily while a more permanant solution is worked on. [1] https://github.com/openstack/keystone/commit/5286b4a297b5a94895a311a9e564aa87cb54dbfd Change-Id: I4d585733a9abd201c1b0680e6196dd2a36db3c7e Closes-Bug: #1545292
2016-02-14Install keystone-dist-paste.ini in /etc/keystoneSteven Dake1-0/+1
The CentOS packages install a default version of the paste file but don't install them in the /etc directory. Kolla doesn't configure the paste files, so this file never gets setup properly. With the recent change in Keystone around the default admin_token being changed, this triggered Keystone to return a 401 Auth error. A follow-on patch from Sam edits this file, and that patch breaks the build without this dependent patch. TrivialFix Change-Id: Ib1568e186bdd7d19b7e5af151388197755902488
2016-02-13Fix horizon startup failurexionglingfeng1-1/+1
original extend_start.sh try to write temp files to a non-existent folder (/home/horizon) and cause horizon failed to start. It is fixed by moving the file to /tmp. Partial-Bug: 1543429 Change-Id: I8d8778be755a4db9e57d6ff7aaee623547c4243e
2016-02-13Added Elasticearch and its deployment.akwasniewska6-1/+61
Part of ELK stack. Includes Dockerfiles for both Centos and Ubuntu. Change-Id: I9f76adf084cd4f68e29326112b76ffd02b5adada Partially-implements: blueprint central-logging-service
2016-02-10Merge "Remove data docker image"Jenkins1-6/+0
2016-02-10Merge "Safely create directories"Jenkins4-4/+8
2016-02-10Remove data docker imageJeffrey Zhang1-6/+0
we have moved to named volume, the old data container should be removed TrivialFix Change-Id: Ib73205de6566509492568381179814baa7af2d22
2016-02-10Ceilometer ubuntu binary containerMD NADEEM6-1/+37
Change-Id: I653b6b994de2f4d374d90a831d7a56eaff667404 Partially-Implements: blueprint binary-ubuntu
2016-02-10Merge "Remove unnecessary patch for oslo.log"Jenkins2-22/+0
2016-02-10Safely create directoriesMartin André4-4/+8
This prevents failure when the directory already exists. This commit fixes a failure in centos-binary because of a change in the RDO packaging, where the required directory is now created for us. Change-Id: Idd3e15802c3e3fd363e1295111ec12948d566781 Closes-Bug: #1543417
2016-02-09Remove unnecessary patch for oslo.logHui Kang2-22/+0
Ubuntu binary package includes the fix TrivialFix Change-Id: Iaeff250e75565b1f447d97acfffc1b1a3a76c250
2016-02-09Cleanup dependencies for cinder-baseMartin André1-2/+0
The python-cinder package now pulls the required dependency on python-oslo-policy: https://github.com/openstack-packages/cinder/blob/a22f32c619c94bf0ac188d4cdcf728c0e71152ea/openstack-cinder.spec#L143 TrivialFix Change-Id: I504546e75b5a237fc4aac89bd9a5c34f09570817
2016-02-09Cleanup dependencies for nova-baseMartin André1-4/+0
The python-nova package now pulls the required dependency on python-oslo-policy: https://github.com/openstack-packages/nova/blob/036149e93fc41649d1e827e163180e7d9e6cbec5/openstack-nova.spec#L389 TrivialFix Change-Id: I472f600710cb743ef6ede01e722a79b1451cf295
2016-02-09Cleanup dependencies for neutron-baseMartin André1-2/+0
The python-neutron package now pulls the required dependency on python-oslo-reports: https://github.com/openstack-packages/neutron/blob/774036f7f99cd54bdd1c94f70d28bfe15f47af83/openstack-neutron.spec#L125 TrivialFix Change-Id: I6cb4d0d9601c910cf631dddcf715a7f4fc9754e3
2016-02-08Designate ubuntu binary containerMD NADEEM7-2/+46
Change-Id: I546d25249527d7f1f7dfa2059ae38e7cc0e0a765 Partially-Implements: blueprint binary-ubuntu
2016-02-06Convert Neutron to thin containersSamYaple20-187/+75
*** 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
2016-02-06Correct issue with virtualenv rootwrapSamYaple7-8/+16
Because we use rootwrap in a venv we need to update the exec_dirs. Without doing this *some* commands will break for various reasons that I won't get into in this review in detail. But this is required for neutron-l3-agent in a container + drop-root. Change-Id: I1a09f7188fdd501b7ce251d9f2fb0e5b10222142 Partially-Implements: blueprint drop-root
2016-02-05Merge "Fix manila perms"Jenkins1-2/+2
2016-02-05Merge "Rename kolla_ansible to kolla_toolbox"Jenkins7-0/+0
2016-02-04Merge "Move the install base type check to kolla-build"Jenkins1-22/+0
2016-02-04Move the install base type check to kolla-buildAllen Gao1-22/+0
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-03gnocchi is busted missing tooz for sourceSamYaple1-1/+1
TrivialFix Change-Id: I1c0a80f7781aa196023795a6381443d6835d534c
2016-02-03Merge "Create nova-api database"Jenkins1-0/+1
2016-02-03Fix some words spellingsvenkatamahesh4-4/+4
Trivial Fix Change-Id: Ic14778bb4e894490a3b6af9471ba01ab4da94601
2016-02-02Create nova-api databaseSamYaple1-0/+1
This is a required patch. Kilo introduced a nova-api database but didn't use it. [1] Mitaka now uses it and has broken booting instances. [2] [1] https://wiki.openstack.org/wiki/ReleaseNotes/Kilo#OpenStack_Compute_.28Nova.29 [2] https://github.com/openstack/nova/blob/df0fca62cf5324f5b6eae0fed1f88c6c9ed61c71/releasenotes/notes/request-spec-api-db-b9cc6e0624d563c5.yaml Change-Id: If0a7f4ba4937fab8d60f5236ca00db06faa768c7 Closes-Bug: #1540579
2016-02-02Merge "Fix Swift for multinode P+ACO deployment"Jenkins5-7/+3
2016-02-02Merge "Add an ansible role for mongodb"Jenkins3-3/+22
2016-02-02Rename kolla_ansible to kolla_toolboxSamYaple7-0/+0
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-02-02Fix manila permsSamYaple1-2/+2
Change-Id: I5b40de377ac0323d3253f58b49318d57da347d11 Parially-Implements: blueprint enable-manila-containers
2016-02-02Fix wrong behavior when the source is a directoryAntoine Roux1-1/+1
TrivialFix Change-Id: Ie723fb35f15be0a500b428b2b58e6b4c5321df0c
2016-02-02Fix Swift for multinode P+ACO deploymentQiu Yu5-7/+3
Current Swift playbook is based on the preassumption of AIO setup. However, if one goes with default multinode setup (ansible/inventory/multinode), it follows the P + ACO deployment model, which proxy-server runs on controller nodes where ACO (account/container/object services) run on storage nodes. It will break because swift proxy-server no longer has access (it shouldn't have) to /srv/node path. This change ensure disk mounting part only happens on storage node. It also moves chown from proxy-server Dockerfile to rsyncd because no matter with PACO, P+ACO or P+A+C+O model, rsyncd is always running on each storage node. Change-Id: I3aa20454902caa9c84d3901bb91e4e4c93ac5f34 Partially-Implements: blueprint swift-physical-disk Closes-Bug: #1537544
2016-01-29Make kolla-toolbox container build on CentOS binSteven Dake1-1/+2
Ansible installs pytz from pip which is newer then then pytz in RDO repositories. As part of this process, it removes pytz which corrupts the python installation in some way. This causes further pip usage to produce a backtrace causing the kolla-toolbox container not to build. Mixing pip and RPM is not good. Change-Id: I413468641bad5476cfcba61cb0e2189c31f3d682 Closes-Bug: #1545215
2016-01-29Merge "Cleanup mariadb and make compatiable with mesos"Jenkins1-2/+5
2016-01-29Merge "Re-generate the compressed css and js on every horizon start"Jenkins2-4/+14
2016-01-29Merge "Enable find_disks module to match by filesystem label"Jenkins1-17/+59
2016-01-29Merge "Use rdo magnum instead of sdake's copr for magnum"Jenkins1-15/+2
2016-01-28Use rdo magnum instead of sdake's copr for magnumVikas Jain1-15/+2
Steve is tired of maintaining a copr for Magnum. People bug him all the time to update the rpm for RDO. The RDO community has offered to take on the maintainance of the Magnum RPM. As this RPM won't be in current-passed-ci for some time so it needs to be pulled from current repo for the foreseeable future, possibly nearing the release of Mitaka. Change-Id: I9cfb02ab828251ef5bf40ca236f18b5f0f715e34 Closes-Bug: #1539325
2016-01-28Cleanup mariadb and make compatiable with mesosSamYaple1-2/+5
There is no reason to have a hostname-unique pidfile in the container as we currently have. This posed problems with kolla-mesos reusing the same script. Since there is no reason for this pidfile to be configurable in path _at_ _all_, we hardcode the path. Additionally, we adjust the file perm change to only update the perms on the folder if it is not already properly set. This also incorperates a kolla-ansible file in the bootstrap process which follows our other container techniques of using the idempotent creation of a volume in the bootstrap process (see nova) TrivialFix Related-Bug: #1538136 Change-Id: I2380529fc7146a9603145cdc31e649cb8841f7dd
2016-01-29Remove the machine-id which cause nova-compute raise exceptionJeffrey Zhang1-1/+2
Change-Id: I3cfb239e6f99e7079b2781b06550fa627fcb8998 Closes-Bug: #1539064
2016-01-28Use trusts in heat.confMichal Rostecki1-3/+5
Change-Id: Ie91b3498e9f9d0d74a502ba6945db531ef967516 Closes-Bug: #1492736
2016-01-28Merge "Fix swift build issue"Jenkins1-0/+13
2016-01-28Fix swift build issueSamYaple1-0/+13
Swift updates and new deps are needed, here is one Closes-Bug: #1538377 Change-Id: Ibb890c73e462113c5aa29ab12637a9115bb51240
2016-01-28reset $(hostname) to $(hostname -s) in ceph extend_start.shweiyu1-3/+3
$(hostname) is Ceph Monitor name in extend_start.sh, {{ ansibe_hostanme }} is Ceph Monitor name in ceph.conf. $(hostname) not always equal to ansible_hostname , that makes ceph_mon container can't start. Closes-Bug: #1538870 Change-Id: I312bf8d74c855aa4c72f12285e3092df96f60048
2016-01-28Enable find_disks module to match by filesystem labelQiu Yu1-17/+59
Currently the only consumer of ansible find_disks module is Ceph. And Ceph OSD deployment in kolla uses GPT partition label to detect and identify disks for Ceph OSD use. This is not always true for all the deployment. The change here extended the find_disks module by: - adding `name` argument to find disk by either partition name or filesystem label matching - `partition_name` argument now becomes an alias to `name` - adding `match_mode` argument to allow prefix matching. It is used for swift disk detection. - return `fs_label` key / value in result for disk mounting purpose Change-Id: I9c93400c1826f5148acf09e9fbe555e358dfdfcc Partially-Implements: blueprint swift-physical-disk
2016-01-27Add an ansible role for mongodbHui Kang3-3/+22
Change-Id: Ia6ac371845d1f2b545406d096b35a6d5f68be5f6 Implements: blueprint ansible-mongodb
2016-01-27Merge "Add bootstrap task for ironic-pxe"Jenkins2-7/+18
2016-01-27Merge "Fix ironic-pxe map-file location"Jenkins1-1/+1
2016-01-27Merge "Added Kibana and its deployment."Jenkins1-0/+19
2016-01-27Merge "Fix bug:xrange() issue with py3.x"Jenkins1-1/+1