summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2015-10-15Use openstack/requirements for ironicPaul Bourke2-2/+2
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: I9fbfa7ca442063db52c8b14586176ab994d2cf46 Partial-Bug: #150530
2015-10-15Use openstack/requirements for horizonPaul Bourke1-1/+1
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: I145908bef5d18fea35f38032725f48c18f8cb831 Partial-Bug: #150530
2015-10-15Use openstack/requirements for heatPaul Bourke1-1/+1
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: I36de9a5c52ac265d0fb54ba7d540048aedf33fde Partial-Bug: #150530
2015-10-15Use openstack/requirements for gnocchiPaul Bourke1-1/+1
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: I70ade4df3297347833b116e73a77a50767d75d15 Partial-Bug: #150530
2015-10-15Use openstack/requirements for glancePaul Bourke1-1/+1
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: I46f456ce71f76b0a6a2933220a500c5221769ff9 Partial-Bug: #150530
2015-10-15Use openstack/requirements for designatePaul Bourke1-1/+1
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: I07ed5f20ab4b4bcd0fc6b3c231a54ebe0d51bf67 Partial-Bug: #150530
2015-10-15Use openstack/requirements for cinderPaul Bourke1-1/+1
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: Ib6a57da3232fb99e92103e606f81774556f76426 Partial-Bug: #150530
2015-10-15Use openstack/requirements for ceilometerPaul Bourke1-1/+1
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: I3dd452d0cf502c0adf892b67b152de1c8930c77f Partial-Bug: #150530
2015-10-15Use openstack/requirements for keystonePaul Bourke1-1/+1
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context. Change-Id: Ic4f5732e70b0cda3b3755e8fe33ece3116fa8afc Partial-Bug: #150530
2015-10-15Use openstack/requirements for repeatable buildsPaul Bourke1-2/+4
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-1/+2
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-10-14Merge "Make Ceph work for RPM based distributions"Jenkins7-3/+39
2015-10-13Make Ceph work for RPM based distributionsSteven Dake7-3/+39
Ceph packages need to be installed in nova, glance, and cinder. Once that is done, Ceph works like a champ! Change-Id: I296da1d04d0c1bcb729f22e65e432d53d561b49c backport: liberty Closes-Bug: #1505549
2015-10-13Fix issue with su and bad kernelsSam Yaple13-13/+13
Long story short, some kernels before 3.15 had an issue with using su in a container when the network namespace was --net=host. The gate has a 3.10 and a 3.13 kernel and has a problem with this. This changes everything to use sudo backport: liberty Partially-Implements: blueprint functional-testing-gate Change-Id: I4d79ccaa1cddffcc8393f64e7e1be2538efe33e5
2015-10-13Remove obsolete backport for oslo.logMartin André2-45/+0
The patch was merged upstream. Remove it from kolla tree since it doesn't apply cleanly anymore and break openstack-base image building. backport: liberty Change-Id: Ia82aa10860d24d696a172ec6596076c9b6b2d0a5 Closes-Bug: #1505456
2015-10-07Remove an oslo.message 2.2.0 pinSteven Dake1-10/+0
In https://bugs.launchpad.net/kolla/+bug/1483667, oslo.messaging was pinned to 2.2.0. This pin is no longer necessary as this bug has been fixed upstream. backport: liberty TrivialFix Change-Id: Ica9ae41876a754291d4c6ee1235f6e69a4213463
2015-10-08Merge "Remove which from neutron-server"Jenkins1-12/+0
2015-10-08Merge "Remove debug output in base image yum command"Jenkins1-1/+1
2015-10-07Fix up ironic Dockerfiles to buildJeff Peeler2-8/+2
The dockerfiles for each of these containers were hacked to force install the most recent version of the package, even though the newer version had a lower version number. Delorean has fixed the issue by bumping the epoch, so the hack is no longer required. backport: liberty Change-Id: I8d9c071d84e53280d3cadfceb9034bb96f64f3a3 Closes-bug: #1503785
2015-10-07Merge "Removing /dev/log on rsyslog start"Jenkins2-0/+7
2015-10-07Merge "Install agent dependencies from source for CentOS"Jenkins1-1/+10
2015-10-07Merge "Enable source for openstack-base for RPM distros"Jenkins2-20/+21
2015-10-07Removing /dev/log on rsyslog startMichal Jastrzebski2-0/+7
Currently we seem to be experiencing races between containers. If another containers tries to write to rsyslog before rsyslog container is up and running it will create /dev/log as directory, and that will prevent rsyslog from starting. Change-Id: I88ac27693d12e605f95e3a945fc98783516d7933 Closes-Bug: #1501694 backport: liberty
2015-10-06Install agent dependencies from source for CentOSSteven Dake1-1/+10
Several packages are not installed from RPM packages which are required in order for CentOS from source to operate correctly. This looked like sudo was failing to execute, but it was because the dnsmasq binary was not found. backport: liberty Change-Id: If23cfbacd55d9089ffec442399ee0151adea923f Closes-Bug: #1503412
2015-10-06Enable source for openstack-base for RPM distrosSteven Dake2-20/+21
Make openstack-base optimized for from source builds for RPM based distributions. backport: liberty Change-Id: I5f1056ebc09fd55cd5d46da7a09331e38940d888 Implements: blueprint openstack-common-container
2015-10-06Remove which from neutron-serverSteven Dake1-12/+0
The which tool is installed in the base image now and this extra install is duplicated and has no effect. backport:liberty TrivialFix Change-Id: I70c3edb11f5c847063b6e4ab4f9de7184356ce57
2015-10-06Remove debug output in base image yum commandSteven Dake1-1/+1
The base image contains -d 10 in a yum command which prints unhelpful debug output for one of the yum commands. Remove the extranous debug output. backport: liberty TrivialFix This patch is a trivial fix and is a test to set boundaries on what a trivial fix looks like that doesn't require a bug tracker entry. If reviewers feel a trivial fix isn't documented properly by this commit message, please weigh in, as this is a slight suggested change to our policy as first institued by the Magnum community and brought to my attention by Jeff Peeler. Hopefully this compromise won't be abused :) Change-Id: I57f00978d0baaefd73592f4ad6a655e663d83478
2015-10-06Pin rabbitmq to 3.5.5Steven Dake1-2/+6
Pin rabbitmq to 3.5.5 for RPM platforms. This version is the latest and sparkly with lots of bug fixes. Tested multi-node HA and everything seems solid in comparison to the 3.3.z releases used previously. backport: liberty Change-Id: I53bf70175fd12ded132141aa499c73919a932cdf Closes-Bug: #1503280
2015-10-06Bring Kolla inline with FHSSam Yaple34-51/+49
This brings Kolla images inline with FHS and should make finding locations of things more consistent and reliable with the linux world at large. Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8 Closes-Bug: #1485742
2015-10-06Common start.shSam Yaple161-961/+167
The majority of the start.sh code is identical. This removes that duplicate code while still maintaining the ability to call code in a specific container. The start.sh is moved into /usr/local/bin/kolla_start in the container The extend_start.sh script is called by the kolla_start script at the location /usr/local/bin/kolla_extend_start . It always exists because we create a noop kolla_extend_start in the base directory. We override it with extend_start.sh in a specific image should we need to. Of note, the neutron-agents container is exempt from this new structure due to it being a fat container. Additionally, we fix the inconsistent permissions throughout. 644 for repo files and the scripts are set to 755 via a Docker RUN command to ensure someones local perm change won't break upstream containers. Change-Id: I7da8d19965463ad30ee522a71183e3f092e0d6ad Closes-Bug: #1501295
2015-10-04PXE for Ironic for ubuntuSam Yaple3-27/+20
This makes Ironic build properly from source. Change-Id: Ic61cd945760843aae1f0a01738bca3b818fd2f69 Closes-Bug: #1500577
2015-10-01Merge "Lock down ansible version"Jenkins1-1/+1
2015-09-30Lock down ansible versionSam Yaple1-1/+1
We can lock down to this alpha version as long as it works once. That is the value of building an image here. We likely won't run into any bugs if we can deploy from this tag at least once. Change-Id: I864290260d7fbdcd8325748788d2454d1dc1a699 Closes-Bug: #1501455
2015-09-29Merge "Make a openstack-common container for CentOS variants"liberty-rc1Jenkins2-85/+35
2015-09-29Make a openstack-common container for CentOS variantsSteven Dake2-85/+35
Only implements CentOS (RPM family) binary in openstack-common. Change-Id: I5249d0ffaf4c0c946ee2347d5519391ded160cea Partially Implments: blueprint openstack-common-container
2015-09-29Merge "Fix ceph after config-external removal"Jenkins1-3/+5
2015-09-29Merge "Remove config-external for rsyslog"Jenkins2-17/+0
2015-09-29Merge "Make libvirt function on CentOS"Jenkins1-0/+8
2015-09-29Merge "Neutron Agents json support"Jenkins8-137/+19
2015-09-29Merge "Make oslo.log work correctly on RDO platforms"Jenkins1-7/+5
2015-09-29Fix ceph after config-external removalSam Yaple1-3/+5
Change-Id: I46dc2f02dda8219878eee3755b0891f4c3450682 Partially-Implements: blueprint replace-config-external
2015-09-29Make libvirt function on CentOSSteven Dake1-0/+8
Recent regressions in the code base removed permission setting of /dev/kvm to root:kvm 660 permissions which are default for CentOS's version of libvirt. Also Libvirt must be able to read its cnofiguration file, which was previously 600 root:root. Now its 644 root:root so its always readable. This is fine, since this file doesn't contain any secret information. Change-Id: Id87cf5da8e37bc5bb613ce919d0293803d0fe5ed Closes-Bug: #1500733
2015-09-28Neutron Agents json supportRyan Hallisey8-137/+19
Neutron Agents is a special case for json support. Since it's a fat container, there will be multiple commnds that will need to be run in the container. In order to account for this, the commands will be hardcoded until the agents are split out to their own containers. The files will be copied the normal way. Co-Authored-By: Steven Dake <stdake@cisco.com> Change-Id: I9fc226cc7b82c2594db5814d30d453a29a4af8c0 Partially-Implements: blueprint replace-config-external Closes-Bug: #1500566
2015-09-28Make oslo.log work correctly on RDO platformsSteven Dake1-7/+5
RDO has backported the oslo.log fix but Ubuntu from source does not have the proper version of oslo.log with the error correction for syslog. Change-Id: If91200397e02cf5b696d34d9aa4d6980fbba36c6 Partially-Implements: bp logging-container
2015-09-29Merge "Add Ansible support for Ironic"Jenkins11-47/+71
2015-09-28Merge "Make oslo.log work properly with syslog"Jenkins2-0/+51
2015-09-28Remove config-external for rsyslogSam Yaple2-17/+0
Additionally, fix privleges for rsyslog container. It needs to be privleged otherwise it will complain about creating device node Change-Id: I364858f0a1df01b53cee46db3ec7cd5ecbe82c54 Partially-Implements: blueprint replace-config-external
2015-09-28Make oslo.log work properly with syslogSteven Dake2-0/+51
The syslog support in oslo.log is broken. This patch makes oslo.log work properly by using a backported patch from master. Change-Id: Idb7b38e3cecbfd6547dad148f22f13a4c8557c8f Implements: bp logging-container
2015-09-28Add Ansible support for IronicJeff Peeler11-47/+71
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-28Merge "Rename ovs to openvswitch"Jenkins6-2/+2