summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-04-16Introduce `tools/kolla` to interact with kollaMartin André8-291/+146
This is supposed to prevent proliferation of scripts in "tools" directory and reduce code duplication. This first patch replaces tools/{start,stop,pull,status} scripts and more commands are to be added in the future. Change-Id: I3d99cf5033be8631d8e6f32a4c34d3b5ffcae7e8
2015-04-15Add workaround to work with cirros imageSteven Dake1-0/+8
The cirros image uses an old dhcp client which does not work properly with hardware that has checksum offload enabled. Add a bootp rule to rewrite the checksum via iptables. Latest cirros 0.3.33 is afflicted by this bug. Change-Id: Ibfd1f87af5d0bef9fcb1354121e76e4e0db8ab5e
2015-04-16Merge "Adds OpenStack Clients to Heat Template"Jenkins1-0/+5
2015-04-16Merge "Updates Docker Client in Heat Template"Jenkins1-2/+2
2015-04-16Merge "Adds a Status Script"Jenkins1-0/+47
2015-04-16Merge "Update developer documentation"Jenkins1-26/+19
2015-04-15Updates Docker Client in Heat TemplateDaneyon Hansen1-2/+2
Now installs rc5 and changes the install directory to /usr/local/sbin. Change-Id: I30332ff0bd4cca1eed7f754c3bd620e59c052c1d
2015-04-14Neutron doa in current formSteven Dake6-7/+7
The nova-config.sh script was exiting because of incorrect shell syntax. The correct syntax for a regex search is [[ haystack =~ needle ]]. The .*needle.* is unnecessary. I think this shell script exited because a period was missing. Change-Id: I3aca5e0729eb5fedbe9ecb4d75ed85d5a1c7815a
2015-04-15Adds OpenStack Clients to Heat TemplateDaneyon Hansen1-0/+5
Previously, Kolla nodes deployed using the Heat template did not contain OpenStack clients. This patch adds the OpenStack client packages. Change-Id: I72a4db1e4edc7350adf5b302955d39182cc58a58
2015-04-14genenv generated invalid variableSteven Dake1-1/+1
NEUTRON_SHARED_SECRET was being generated incorrectly. It had a colon at the front, which causes nova not to operate. Change-Id: Id0d9390fa60b3d946513098fed394aaba3a53c70
2015-04-14Adds a Status ScriptDaneyon Hansen1-0/+47
Previously, only start/stop scripts existed. The status script runs docker-compose ps for each container so users can get a quick snapshot of their Kolla environment. Change-Id: I3204f3e7404ad906d5330cf67d091fc1f06d3030
2015-04-14Adds Neutron to Start/Stop ScriptsDaneyon Hansen2-4/+22
Previously, Neutron was not included in the start/stop scripts. This patch reads the NETWORK_MANAGER value from openstack.env to start/stop either nova or neutron networking. Change-Id: I85b31396c2b816b89f33206443c3d60cb4b7914b
2015-04-14Update developer documentationSteven Dake1-26/+19
Tell users to pull docker-compose from Docker Inc. Recommend rc3 or greater Tell users the thread where the bump releases are being discussed Fix typo in libvirtd Change-Id: Ib47d3a57452a4266db2b47b41a789908365fda9b
2015-04-14remove wait_for from glance-apiSteven Dake1-2/+2
For some reason glance sometimes fails to permanently find keystone while other services do find keystone. The host also has full access to keystone. Change wait_for to fail_unless. This could be a docker bug, a wait_for bug, or some other problem. Change-Id: I02d611d65b7ffddb9c27101fd60e2a8b7cc25658
2015-04-14Merge "CentOS 7.1 image doesn't work with libvirt"Jenkins1-0/+4
2015-04-14CentOS 7.1 image doesn't work with libvirtSteven Dake1-0/+4
The libvirt package has a dependency on systemd-libs and systemd, while the centos 7.1 container installs systemd-container-libs and systemd-container. We don't need either of these systemd tools but they reuslt in a broken build of the system if they are missing. As is, the libvirt container will not build. Change-Id: I8e5aac0e3a7e9d88a81733a3048971fe9d48ba56
2015-04-14Fix validate-all-yaml.sh to check for files with yml extensionMartin André1-1/+1
YAML files can have .yaml or .yml extension. Make `validate-all-yaml.sh` check for *.yml files in addition to *.yaml files since we now have some of these in our source tree. This should help to prevent bogus YAML files to land in the repository. Change-Id: Id59273680fc2424f7b636033b1d641efcaaeba22
2015-04-14Merge "Sets debug logging to false"Jenkins1-2/+1
2015-04-13Merge "Changes Default Image Prefix"Jenkins2-6/+6
2015-04-13Sets debug logging to falseDaneyon Hansen1-2/+1
Previously, debug logging was enabled by default. Only verbose logging should be enabled by default. Change-Id: I5a1fc805284be777dd49c79cc344a5e8600a238d
2015-04-13Sets Neutron log_dir=/var/log/neutron as defaultDaneyon Hansen1-1/+1
Previously, the log_dir was blank, causing neutron to log to stdout. The log_dir param must be set for this: https://github.com/stackforge/kolla/blob/master/docker/neutron/neutron-agents/config-scripts/config-dhcp-agent.sh#L69 Change-Id: Ibf14224e5a6f27f2c0f9900828a7cd00f3babfab
2015-04-13Changes Default Image PrefixDaneyon Hansen2-6/+6
Previously, Fedora was set as the default image prefix. Since our reference architecture focuses on CentOS, the default image prefix has been changed accordingly. Change-Id: I794ac1aa035d793204fa315752ae8188ce872a3e
2015-04-13Fixes Spacing in Neutron Agents Compose FileDaneyon Hansen1-1/+1
Previously, compose would generate an error because the neutron-agents.yml file was missing a space for the restart policy line. Change-Id: Ib17c4c726dcfcda780a242ebe22474e9252cac8a
2015-04-13Removes check_required_vars for Log FilesDaneyon Hansen8-15/+7
Previously, check_required_vars was requiring log file variables to be set in openstack.env. This would cause an error when starting nova/neutron containers that used default (blank) log file settings. Since the log files are not required for the services to start, the default log files are left blank (without a value in the K/V pair). This patch removes the log_file variable for check_required_vars in each nova/neutron script. Change-Id: I169baab28f63a0e0ae06c8aef21b5e8d3155bdda
2015-04-13Merge "Adds Neutron Agents Support"Jenkins36-309/+461
2015-04-13Merge "Adds neutron-server to neutron container-set"Jenkins9-57/+144
2015-04-13Adds Neutron Agents SupportDaneyon Hansen36-309/+461
Previously, the agents ran in seperate containers. Since some of the agents create and use network namespaces, runnning them in seperate containers has become a challenge. This patch adds neutron agent support in a single container. Partially Implements: blueprint compute-operation-neutron Change-Id: If4f893abd50d90b58e8435ec2659870dce36951c
2015-04-10Updates Heat template Compose and Kolla RepositoriesDaneyon Hansen1-9/+3
Previously, compose was being pulled from sdake. Since pull 1011 for pid=host support was merged, we can now use the upstream repo. Additionally, the heat template was using the Kolla ml-3 release. Since ml3 was cut, trunk should be reverted to using Kolla trunk. Change-Id: I44ad01ee9fde914c87d981c05b825fa549420f8c
2015-04-10Adds neutron-server to neutron container-setDaneyon Hansen9-57/+144
Adds neutron-server components of the neutron container set. Partially Implements: blueprint compute-operation-neutron Change-Id: I63525ae85f4ead4e010cdb9b6bc8059bb9d252e7
2015-04-09Merge "Updates Docker bin in Heat template"Jenkins1-4/+5
2015-04-09Updates Docker bin in Heat templateDaneyon Hansen1-4/+5
Previously, Heat was using the docker-1.5.0-dev version of the Docker binary. This PS updates the Heat kollanode template to use the latest version of the Docker binary used by the project due to https://github.com/docker/docker/issues/11760#issuecomment-88288278 Change-Id: I1c771b89758baa9faaa04a0e647a23f32bff48a9
2015-04-07Adds Initial Logging SupportDaneyon Hansen15-15/+134
Previously, logging was hard coded into the nova and neutron containers. This patch creates two common params for logging: DEBUG_LOGGING VERBOSE_LOGGING and sets default values of verbose=true and debug=false. This patch implements logging for Nova and Neutron. Add'l OS service config scripts and images will need to be updated to use the logging params. Change-Id: I03d48005d5b4789aa3c519879a20d963ef1cbaa3
2015-04-07Merge "Remove building of pam+noaudit and place in copr instead"Jenkins2-10/+16
2015-04-07Merge "libvirtd provides was removed from centos7.1"Jenkins1-1/+3
2015-04-06Remove EXPOSE options from DockerfilesSteven Dake9-17/+9
The EXPOSE options will create a local docker-proxy. This is unnecessary with --net=host mode. The docker-proxy adds about 20 microseconds of latency. Add documentation to the specification to indicate where to find the ports that are exposed by the services in case someone were to desire to add EXPOSE back to the Dockerfiles. Change-Id: I398e922fe096d6022a2d5985bb92498f89a5ea31
2015-04-06Remove building of pam+noaudit and place in copr insteadSteven Dake2-10/+16
COPR is a repository for third party packages built by the Fedora build system. Instead of dragging in 250MB of dependencies to build pam, build externally and load only the RPM into the image. The pam that is built externally is built with the --with-noaudit flag and a Provides: pam line. Change-Id: I28396996943d2fdc12b253faf62af8623c8b0e73
2015-04-06libvirtd provides was removed from centos7.1Steven Dake1-1/+3
the libvirtd package "Provides" wwas removed from the libvirt packaging. To workaround this problem just install libvirt-daemon in CentOS 7.1 or Fedora 20+. WIthout this change, an install of libvirtd does not actually install libvirtd. The yum tool will not fail if libvirtd is specified so we weren't catching this in the build. Change-Id: I81e64f6f659aa0466369dad4b0574ebb24c99555
2015-04-06Merge "Remove mkdir of shared dir"Jenkins1-5/+0
2015-04-06Merge "Check for SELinux in enforcing mode and exit if found"Jenkins1-2/+9
2015-04-06Merge "Improve developer documentation"Jenkins1-20/+14
2015-04-06Merge "Allow the Kolla directory to be configurable"Jenkins4-2/+6
2015-04-03Merge "Load appropriate modules for libvirt"Jenkins1-0/+11
2015-04-03Allow the Kolla directory to be configurableSam Yaple4-2/+6
Implements the initial structure for variable substitution in ansible. Change-Id: I26d82189273be6ebf941b0ab82efc6bf1eebc53d
2015-04-03Merge "Add and use ansible module for docker-compose"Jenkins3-2/+312
2015-04-02Improve developer documentationSteven Dake1-20/+14
Clean up version info since all those problems have been fixed in rc3. Add separate sections for each major section of the document. Change-Id: Ic011b56872e4cee70f668af58275f31cf083d027
2015-04-02Remove mkdir of shared dirSteven Dake1-5/+0
We no longer bindmount qemu directories and instead use the volume_from feature to get that job done. As such remove the creation of the directory. Change-Id: I20aa0b5d8b8e5e0bd9ccc69ab07009635c693b02
2015-04-02Check for SELinux in enforcing mode and exit if foundSteven Dake1-2/+9
Previously the start script would disable SELinux That is a policy choice by the administrator, not something that should be done in a development tool. Instead suggest setting SELinux to permissive mode manually. Change-Id: I342a1614f9c10ec066cd2a8dc79280481e0b7570
2015-04-02Merge "Add a tools/pull tool"Jenkins1-0/+102
2015-04-02Merge "Adds vxlan kernel module to Heat template"Jenkins1-0/+3
2015-04-02Add a tools/pull toolSteven Dake1-0/+102
this uses docker-compose (-c flag) or docker (-d flag) to pull the latest images from docker hub. Change-Id: I7793178deeb2e37c92fb1518ae8666432e74d9b7