summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2015-04-02Add and use ansible module for docker-composeSam Yaple3-2/+312
This ansible module for docker-compose allows for idempotency. I have submitted a pull request upstream to ansible-modules-extra to include this new module. When/if the module is accepted upstream if can be removed from the local module library. The two playbooks have been updated to use this module. The database data container does not support idempotency due to the fact that it exists instead of sleeps. Therefore each time `docker-compose up` is called, it will start the container and register a change. The message-broker does not have this issue and will remain unchanged even repeatedly running these playbooks. Due to the use of a special branch of docker-compose provided by sdake, this module requires at least docker-compose==1.2.0rc1 Change-Id: If1644eaa3bff0c2a007fa2d479a95bea941945f6
2015-04-02Merge "Simplify `wait_for` calls"Jenkins3-8/+3
2015-04-02Merge "Deal with CentOS 7.1 breakage"Jenkins1-0/+4
2015-04-01Deal with CentOS 7.1 breakageSteven Dake1-0/+4
The baseurl is busted in CentOS latest RDO images Change-Id: Id619a28a6207a8c70835a12416e6f7b432d49811
2015-04-01Load appropriate modules for libvirtSam Yaple1-0/+11
Loads ebtable_nat, ip6_tables, ip_tables, and the appropriate kvm module if the cpu supports it. Change-Id: I69995b06da6da4169a2f0d207608543820d8a89e
2015-04-01Simplify `wait_for` callsMartin André3-8/+3
Rely on the the `check_for_*` functions and remove redundant `fail_unless_*` calls. Also change `wait_for` to exit when it is missing a required argument. Change-Id: I90c4545691d53185556e2838303ac3df0afaf9fa
2015-04-01Allow check_for_* functions to be consumed by wait_forMartin André21-64/+74
In order for the `check_for_*` functions to be consumed by `wait_for`, they should notify of their success but not exit. As a consequence, the previous behavior is restored by the fail_unless_* companion functions. With this change, it is now possible to do: wait_for 30 1 check_for_os_service_running keystone Change-Id: I16ddf8913027030c3ccb5487713d172904508fd6
2015-04-01Merge "Add documentation for running with ansible tags"Jenkins1-9/+14
2015-04-01Merge "Put docker binary in one place"Jenkins1-2/+2
2015-03-31Adds vxlan kernel module to Heat templateDaneyon Hansen1-0/+3
Previously, the vxlan kernel module was not being loaded. This causes the following error when trying to start the lb-agent when using the vxlan type driver: ERROR neutron.plugins.linuxbridge.agent.linuxbridge_neutron_agent [-] Linux kernel vxlan module and iproute2 3.8 or above are required to enable VXLAN. Change-Id: I1c9f5d13d25e887d15270a96d35f41a08316c8f0
2015-03-31Add documentation for running with ansible tagsSam Yaple1-9/+14
Additionally fix some md format mistakes. Change-Id: Ica1600b16986303feb188976ec86972ca2f5b942
2015-03-31Merge "Test for presence of /dev/kvm before setting permissions"Jenkins1-2/+5
2015-03-31Test for presence of /dev/kvm before setting permissionsSteven Dake1-2/+5
In a native QEMU environment there is no /dev/kvm. Change-Id: I4d0eb32fd6fad3a4c9c15c7c2b12430b2e4db154
2015-03-30Merge "Add libvirt-driver-lxc to nova-libvirt"Jenkins1-0/+1
2015-03-30Merge "Loads ebtables from inside the containers"Jenkins4-7/+6
2015-03-30Merge "Initial commit for adding ansible support"Jenkins6-0/+80
2015-03-30Add libvirt-driver-lxc to nova-libvirtSteven Dake1-0/+1
libvirt is compiled with lxc support. On Ubuntu hosts, without this file libvirt is nonusable. The container exits immediately. Change-Id: Ifbc2d75defe082cbe3b80b1821799f1f965c2a85