summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-03-27Replace ; with && in DockerfileSam Yaple17-21/+22
When using ';' this can allow the previous command to fail and while the docker build proceeds without realizing a command failed. Switching to '&&' allows the exit code to make it to the docker build command and the build to fail appropriately. Change-Id: Idd0991ed4549542bb10d27da1a0a025d0503b6c1
2015-03-27Partially Implements: Container set compute-operation-neutronDaneyon Hansen3-7/+14
Adds the neutron-linuxbridge-agent to the neutron container set. Change-Id: I20752611c24a3110cc5d2e4fca2d501fc32a4d87
2015-03-26Improve developer docs to turn off libvirtSteven Dake1-0/+5
Tell folks to turn off libvirt on their host. Change-Id: I4ca9a466cd14bd7a88880299f56ea0eba343b6c8
2015-03-26Work around Ubuntu 14.04 Kernel bug with --net=hostSteven Dake2-3/+20
This patch builds pam with no auditing. This allows the images to operate on Ubuntu 14.04 which contain a kernel bug and have not been updated. Change-Id: I2b8bd192abcc26df27ca276dc3d0fde377048f20
2015-03-26Merge "Add some documentation around running the exec_replace driver"Jenkins1-4/+15
2015-03-25Merge "Add doc for the minimal environment vars required per container"Jenkins2-2/+219
2015-03-25Add doc for the minimal environment vars required per containerRyan Hallisey2-2/+219
Each container requires a set of environment variables be declared so that it can function in a minimal setting. This doc will provide a list of those environment var for each container. Change-Id: I225f53c869e5830d680792fd0a38f6622ba9b04b
2015-03-25Add some documentation around running the exec_replace driverSteven Dake1-4/+15
Data volumes are busted in docker master 1.6-rc1. Need to use a special branch in order for docker to work. Change-Id: Ia772de63e1fc8a07f052da2a3f4152f4d97b37f9
2015-03-25Extends Nova Metadata Service Parameterization and CompositionDaneyon Hansen4-2/+69
Previously, nova enabled_apis was hard coded and metdata_host was using PUBLIC_IP param instead of exposing an individual param. Extending these params and creating a separate compose yml that includes compute/libvirt/network/api is required to support nova network multi_host. Additional details can be found here: http://docs.openstack.org/admin-guide-cloud/content/section_metadata-service.html Change-Id: I5d417a0ee460f8ad9b2982fe83d63ab57013918e
2015-03-24Refactor nova-networkDaneyon Hansen4-5/+4
Previously, eth0 was set as the nova flat interface. This interface is used to bridge VM traffic between instances and should not have an IP. It's a problem when you associate an interface with an IP to the FLAT_INTERFACE. Change-Id: I38c516094430e2d55b1b4c047a1bbcfe711a2dff
2015-03-24Merge "Have genenv offer some hepful hints about FLAT_INTERFACE"k3Jenkins1-0/+3
2015-03-24Merge "Updates Heat Template for M3 Release"Jenkins5-78/+122
2015-03-24Merge "Adds Rabbit and MariaDB TCP ports to Heat template"Jenkins1-0/+6
2015-03-24Adds Rabbit and MariaDB TCP ports to Heat templateDaneyon Hansen1-0/+6
Previously, Heat was not allowing the necessary TCP ports for RabbitMQ and MariaDB to Kolla nodes. Change-Id: If34ca2de2e5213cb97138e5855cc88ff5c564b76
2015-03-24Updates Dev Doc for M3 ReleaseDaneyon Hansen1-8/+26
A few errors in the dev doc were causing problems with deploying a dev env. The dev dos has been updated with the correct steps for prep'ing a host for running Kolla. Additionally, wording has been added to reference the Heat template for dev env deployment. Change-Id: I9f0ba1bd2deca490a72b3c54cb1a7df386228ee8
2015-03-24Updates Heat Template for M3 ReleaseDaneyon Hansen5-78/+122
Updates the following: 1. Replaces Docker copr pkgs with binary 2. Updates docs 3. Adds compose from sdake GH repo 4. Adds required ebtables kernel module for nova-network 5. Adds container net/subnet info required for correct nova networking functionality. 6. Consolidates pkgs installs from get-image script to the heat template. Change-Id: Ibec2dd5909bb8379c193b5cdbad665a5b6c2e8f8
2015-03-23Merge "Fixes bug where heat container was not getting heat meta data"Jenkins3-5/+10
2015-03-23Fixes bug where heat container was not getting heat meta dataRyan Hallisey3-5/+10
Heat container is having trouble accessing heat meta data. Heat needs to have HEAT_CFN_API_SERVICE_HOST set in order to properly receive meta data. Closes-bug 1435288 Change-Id: Ia28ece3ae91ec7acc62cc86039612841ac487f36
2015-03-23Merge "Make mariadb use a data container without a bindmount"Jenkins2-5/+5
2015-03-23Merge "Make nova-compute-network use a data volume container"Jenkins6-14/+21
2015-03-23Merge "Add a stop command to shut down Kolla AIO"Jenkins1-0/+35
2015-03-23Merge "Improve developer docs around docker-compose and docker-dev"Jenkins1-2/+18
2015-03-22Make mariadb use a data container without a bindmountSteven Dake2-5/+5
A data container is meant to operate without bindmounts. Change-Id: I2624a63fd75db7ed8050054c17e19885f8a7ac8a Co-Authored-By: Daneyon Hansen (danehans@cisco.com)
2015-03-22Make nova-compute-network use a data volume containerSteven Dake6-14/+21
A data volume container is far superior to bind mounting the host's shared directories. It preserves the idempotency, immutability and declarative properties of the containers. The way this works in practice is that a data volume container is created. Then when the containers start they use LVM to access the filesystem where /var/lib/docker is contained. Then the container startup logic bindmounts the data volume stored on the host filesystem in /var/lib/docker/vfs/dir/ID. This prevents people with access to the host operating system from damaging the contents of the data container. It does mean that now we must use tools/stop to stop our containers rather than tools/cleanup-containers -f. This is a containers best practice. For more details see: https://docs.docker.com/userguide/dockervolumes/ Big credit goes to Danyeon Hansen for seeding this idea in the mariadb containers. Note occasionally docker-compose start/stop seems to not want to stop a container. This bug needs to be addressed upstream separately from our utilization of this best practice. Change-Id: Iaa1419f606e1b1b7a7560a095c49e79d643164f1
2015-03-21Add a stop command to shut down Kolla AIOSteven Dake1-0/+35
Use docker-compose with the stop operation rather than cleanup-containers -f. Change-Id: I1b0f97589b04eaa4e3a0b4e5247294e4c4b0dc47
2015-03-20Improve developer docs around docker-compose and docker-devSteven Dake1-2/+18
docker-compose master now requires 1.18 API, which is only available in the development version of docker. Show how to retrieve and run it. Change-Id: Ia3a7a659c495547fcc04d31cf38ffeaaf6fd729a
2015-03-21Check for root privilege in start.shJeff Peeler1-0/+5
This change was lost in 888bb9cc8c68bf61fddc0ca08a69f764a4012121. Both modprobe and setenforce require root, so I think this is a good sanity check. Change-Id: I431df44e0fed4a981df96a9a98bfbb5c350e49ac
2015-03-21Merge "Use -L flag in curl"Jenkins1-1/+1
2015-03-21Merge "Don't kill keystone, but instead wait for it to finish at the end"Jenkins1-14/+2
2015-03-21Merge "Fix `wait_for` function in kolla-common.sh"Jenkins2-30/+61
2015-03-21Merge "Refactors nwfilter"Jenkins3-5/+3
2015-03-21Merge "Make the Horizon dashboard work properly"Jenkins4-5/+17
2015-03-21Merge "Improve Heat integration"Jenkins4-0/+17
2015-03-21Merge "Add pid: host to libvirt"Jenkins2-1/+13
2015-03-21Merge "Cleanup leftovers after wait_for was merged into kolla-common.sh"Jenkins2-2/+1
2015-03-21Merge "Remove reference to k8s directory from README"Jenkins1-1/+1
2015-03-20Use -L flag in curlSteven Dake1-1/+1
The cirros image uses a redirect. Use curl -L to follow redirections. Change-Id: I3a9309901ab3528442009fd6802600c51c98242f
2015-03-21Merge "Implements: blueprint Implement a database container set"Jenkins12-66/+167
2015-03-21Cleanup leftovers after wait_for was merged into kolla-common.shMartin André2-2/+1
Change-Id: I97ab671bfbdcf5434feedec617a938b30af4579b
2015-03-20Have genenv offer some hepful hints about FLAT_INTERFACESteven Dake1-0/+3
The FLAT_INTERFACE is for vm communication, and should be manually configured if necessary. Change-Id: I79846705c18c2f0f2d4340e53d04183ec689e191
2015-03-20Refactors nwfilterDaneyon Hansen3-5/+3
Previously, the nwfilter daemon/conf pkgs would need to be installed on the host. Compose would then mount the host DIR to the compute containers. A more efficient approach is to simply install the nwfilter config/daemon in the libvirt container. Both appoaches address the following error when booting an instance: 'no-mac-spoofing' is missing Change-Id: I81b446d198920473bf99b97ef5eac6ef5ee85024
2015-03-20Add ADMIN_USER_PASSWORD to genenv toolSteven Dake2-1/+6
The genenv tool was generating the wrong password for the openrc file as a result of recent keystone rework. This patch fixes that problem. Change-Id: I169e3255e3f3ef57938861c31ef4e342d9a32cbc
2015-03-20Merge "Fixes Keystone openrc and sets / for scripts"Jenkins2-5/+5
2015-03-20Don't kill keystone, but instead wait for it to finish at the endSteven Dake1-14/+2
use the bash wait builtin to wait for the keystone process to exit. Change-Id: I03057e7925e7e41120c163c0be22ade75050d9f1
2015-03-20Make the Horizon dashboard work properlySteven Dake4-5/+17
The Horizon dashboard was not working properly prior to this work. Also a docker-compose file was added to start the dashboard. Change-Id: I8a438c15b967b0cec00bfe44b997f833bf745191
2015-03-20Improve Heat integrationSteven Dake4-0/+17
Generate Heat environment variables. Rename yml file to api and engine to follow other service conventions. Add heat to compose/start Modify integration guide to include new variables. Change-Id: I058d829901881e28d6f4785f59fcf778058241e4
2015-03-20Add pid: host to libvirtSteven Dake2-1/+13
Without pid: host, nova-compute and libvirt fail to operate correctly together. I don't understand why, and I wish it weren't so, but it means folks will have to install docker-compose from my personal github account until the pull request is merged upstream. Change-Id: I24e55405139c831f2df246f54c5b6fd39d00656a
2015-03-20Implements: blueprint Implement a database container setDaneyon Hansen12-66/+167
Previously, the database container was configured for use with Kubernetes. This patch removed any k8s dependencies, adds a script to manage mysql server.cnf settings and splits data and app containers. Splitting the containers provides additional portability and operational efficiencies compared to host mounts. Change-Id: I80656450c02dda5f2959d187eec20d5877dc54a2
2015-03-20Merge "Move genenv.sh and start.sh to tools directory"Jenkins5-23/+33
2015-03-20Fixes Keystone openrc and sets / for scriptsDaneyon Hansen2-5/+5
Previously, the keydtone openrc file was not using the proper auth url, whcih was broken with too many double ticks. Also changed the auth port from public to admin since keystone user is an admin tenant. Changed DIR for scripts to align with the rest of the project. Change-Id: Iadde3239227e65ecca479b16a7b7db51d3a579c8