summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-13Merge "Updated from global requirements"Jenkins3-16/+22
2015-11-13Merge "Drop root for Zaqar service"Jenkins2-1/+3
2015-11-13Merge "Add ZooKeeper support in kolla-ansible"Jenkins1-0/+66
2015-11-13Drop root for Zaqar serviceJosh Lothian2-1/+3
Change-Id: I59797a8539406e478f6953a9aa0c933e73eb5892 Partially-Implements: blueprint drop-root
2015-11-13Add ZooKeeper support in kolla-ansibleMichal Rostecki1-0/+66
In kolla-mesos, ZK will be used for storing information about actions done in bootstrap. Change-Id: Id7067a493b457cf7b73eb007852df7b13f4363b3 Partially-Implements: blueprint zookeeper
2015-11-13Updated from global requirementsOpenStack Proposal Bot3-16/+22
Change-Id: Ibe06fcece3a098781f8b55437727617b2727509f
2015-11-13Merge "Add Ansible support for Magnum"Jenkins23-1/+361
2015-11-13Update commands in kolla-build sectionChris Ricker1-3/+3
Remove build.py reference from kolla-build for clarity. Change-Id: I82db9428fe3b1697877e967e060843270574ae71 Closes-Bug: #1516040
2015-11-13Merge "Fix typo in Fedora section of quickstart"Jenkins1-5/+5
2015-11-13Merge "Add playbook for hosts pre-deployment checks (ports, files)"Jenkins6-0/+440
2015-11-13Fix typo in Fedora section of quickstartChris Ricker1-5/+5
Trivial patch to remove duplicated text. Change-Id: Icb6046a6a3d0c31c1ad7ef58b0da79d4ececdd9b Closes-Bug: #1516017
2015-11-13Add playbook for hosts pre-deployment checks (ports, files)Vladislav Belogrudov6-0/+440
This playbook runs on hosts before deployment to be sure we don't have any conflicting services running and systems are in expected state. DocImpact Change-Id: If5f288b7fbdf269697ca834da4eb969b61683ca0 Partially-implements: blueprint precheck-tasks
2015-11-13Remove unused tox jobsSam Yaple1-77/+0
The gates have been renamed. We can remove these jobs now. Change-Id: I4f140301d0b0a04ca4196a755625f32569fe4b32 Partially-Implements: blueprint multinode-gate
2015-11-13Add Ansible support for MagnumMichal Rostecki23-1/+361
Change-Id: Idb25ac4d3148c9b9400cf675ac2e47d35cce6224 Implements: blueprint ansible-magnum
2015-11-13Revert "Drop root for Horizon service"Sam Yaple1-19/+1
This reverts commit f9ccb1c8829cef551b875c7c387530e7980414a7. There are many issues with this patch that prevents it from working under numerous circumstances. The implementation is entirely busted on Ubuntu. Additionally, best practice for apache is to run as root. Apache itself does the privlege dropping. Change-Id: I4395debb7d32223fb3752a6d3e7c4d7672d29916
2015-11-13Merge "Drop root privileges for rabbitmq"Jenkins4-3/+10
2015-11-12Drop root privileges for rabbitmqRyan Hallisey4-3/+10
Drop root privileges for rabbitmq. Only the rabbitmq user will be able to execute chown of /var/lib/rabbitmq. Change-Id: I546e6b475a8462bfbc75972854e1fee64f96d9cb Partially-Implements: blueprint drop-root
2015-11-12Move USER operation after footerSam Yaple14-28/+27
The USER operation affects all docker commands after it. This causes a problem with our {{ include_footer }} implementation since commands in that footer may require elevated permissions to perform. In the current implementation I can no longer remove my proxy settings once the USER has been changed. Change-Id: I9b2bab5a15f595f6d52a46c64ddf59ba5608b938 Partially-Implements: blueprint drop-root
2015-11-12Get kolla path from settings when provisioning boxDiogo Monteiro2-2/+3
The path for the kolla source dir was being hardcoded on the ubuntu-bootstrap provision script instead of utilizing the path defined in the PROVIDER_DEFAULTS settings in the Vagrantfile Change-Id: I0eb752ecf4db580838687c290ccf36810e8a4ff3
2015-11-12Merge "Drop root privileges for mariadb"Jenkins4-5/+15
2015-11-12Merge "Fix --retries option to kolla-build"Jenkins1-1/+1
2015-11-12Merge "Added Ubuntu support for Vagrant"Jenkins3-18/+159
2015-11-12Drop root privileges for mariadbSteven Dake4-5/+15
Drop root privileges for mariadb. This isn't perfect. If somemone breaks out of the container and can run sudo within the contianer, it would be possible to replace the root credentials of the database. Any container that uses sudo suffers from some extra attack vector related to the sudo command. That said, the sudo commands are locked down to minimize harm. Change-Id: I4b3573725d940bb8aa90d43a6235d8cf7d30fc64 Partially-Implements: blueprint drop-root
2015-11-11Move the mariadb expect code to a scriptSteven Dake3-21/+25
Atleast in a script, sudo can be made to only allow the script to run from the mysql process in the future, versus all the proceesses being able to be executed as root presently. Change-Id: I030b57086e37e4dc8f668f98c04335d94ab9d2b0 Partially-Implements: blueprint drop-root
2015-11-11Drop root for Horizon serviceSteven Dake1-1/+19
Drop root privileges for Horizon service. It is necesssary to set a capability on the filesystem to allow binding to port 80 as a non-root user. I have tested this works correctly from a registry on both CentOS and Ubuntu. Change-Id: I4c26f28bb28b6633784e6842f3423a2425332c27 Partially-Implements: blueprint drop-root
2015-11-11Merge "Install keystoneauthv1 in openstack-base image"Jenkins2-1/+1
2015-11-11Merge "Drop root for kolla-ansible"Jenkins2-2/+8
2015-11-11Merge "Clean up horizon httpd pid files for RPM distros"Jenkins1-0/+7
2015-11-11Install keystoneauthv1 in openstack-base imageSteven Dake2-1/+1
Lots of tools rqeuire keystoneeauthv1 not just horizon TrivialFix Change-Id: I35eb958e35500b04657679371019f2e6f3c2f2dd
2015-11-11Drop root for heatSteven Dake5-1/+9
Drop root user for heat containers. Change-Id: Ib07c0193f97bb18cc6154b4015b4056fd983f6c1 Partially-Implements: blueprint drop-root
2015-11-11install openstack-heat-common in heat-baseSteven Dake1-1/+9
the openstack-heat-common package installs the Heat UID/GID. This is necessary pre-work for drop-root for heat services. Change-Id: I247b0209248de144d20f5245973833be5cd8f14f Partially-Implements: blueprint drop-root
2015-11-11Merge "Drop root for designate"Jenkins8-1/+15
2015-11-11Drop root for kolla-ansiblePaul Bourke2-2/+8
This change ensures commands run in the kolla-ansible container are done as the 'ansible' user rather than root. By default Ansible tries to write it's temporary files to $HOME/.ansible on the target, which in most cases won't exist when run as the new user. Hence we now supply the kolla-ansible container with an ansible.cfg, to tweak the remote_dir option to /tmp. Change-Id: I838a8c8cd0c7dc1aeca4d12e38c346f252170e7c Partially-Implements: blueprint drop-root
2015-11-11Added Ubuntu support for VagrantDiogo Monteiro3-18/+159
Added support for Vagrant VirtualBox provider to provision an Ubuntu VM to run kolla. A new bootstrap-ubuntu.sh script has been created which provisions the Ubuntu VM with all kolla depdencies including docker 1.8.2, ansible 1.9.6 and python-tools Also created vars in the Vagrantfile to define the cpu and memory settings of the VM nodes used to run kolla DocImpact Change-Id: I4609d7f577e948b04663901afd0c5d1d154c8ac4 Implements: blueprint vagrant-ubuntu-support
2015-11-11Rename jobs for KollaSam Yaple1-0/+69
Due to the length of the job name and the tox target we run into an uncommon limitation; the virtualenv that tox launches is nested in a path that is too long. This leads to and error on our longest named job which prevents tox from running at all. This limitation is the limit for the line length of the first line in a shell script. See `man execve` for more info. A quote from that manpage: 'A maximum line length of 127 characters is allowed for the first line in a #! executable shell script.' Change-Id: I43fba2a5ff1890d699045496c9eaee5e849f3e75 Backport: Liberty Partially-Implements: blueprint multinode-gate
2015-11-11Clean up horizon httpd pid files for RPM distrosPaul Bourke1-0/+7
(apply same fix that we did for keystone, to horizon) In some cases we're seeing httpd not cleaning up properly after itself, which results in the horizon container failing to restart. This is confirmed to happen on rpm based distros, but have not had any reports on Ubuntu. Change-Id: I8ece6da1a8a1180730d68be0d129a656ddcede07 Closes-Bug: #1515214 backport: liberty
2015-11-10Merge "We now have a logs publisher"Jenkins1-0/+5
2015-11-10Merge "Add a test case for load_config"Jenkins1-0/+47
2015-11-10Drop root for designateMichal Rostecki8-1/+15
Change-Id: I1df05608be62cc008ccef1ca88d0b37983568d22 Partially-Implements: blueprint drop-root
2015-11-10Horizon rdo package requires python-keystoneauth1Martin André1-0/+1
Change-Id: I0d98399d7d573ea43689746dda59a647c307b25f Closes-Bug: #1514697
2015-11-10Fix --retries option to kolla-buildMartin André1-1/+1
Off by one error made the --retries option control the number of tries rather than the number of retries. Closes-Bug: #1514730 backport: Liberty Change-Id: I976a8bb9e489d226f44926a6562d4d2af5de099c
2015-11-10Add a test case for load_configAngus Salkeld1-0/+47
This is just a basic test to make sure loading from file works. Change-Id: I074f36023ac4198c436fcee1668d32f9d1f0e61b
2015-11-09Merge "Add registry information to quickstart.rst"Jenkins1-11/+117
2015-11-09Merge "Remove unused cinder-data container"Jenkins2-18/+1
2015-11-09Add registry information to quickstart.rstSteven Dake1-11/+117
We get an awful lot of questions about how to operate with a registry on the IRC channel and the obvious way to fix that is to document it. I don't know what to document about Ubuntu but if someone leaves the appropriate commands in the review I'll be happy to update it to include the correct operations to make the registry run on Ubuntu. Another option is perhaps we can get Sam to write those docs once this hits the repo since the structure will be mostly in place. TrivialFix Change-Id: Ib88abbaf9bd6bcabddae994157d9288aab8be2bf
2015-11-09Merge "drop root for glance"Jenkins4-1/+7
2015-11-09Merge "Base image changes for drop-root"Jenkins3-3/+24
2015-11-09drop root for glanceSteven Dake4-1/+7
This uses the grouping feature of sudo to limit the amount of times the base sudo file has to be modified to only once. The container contents always runs as the user root, except the software which is controlled by Kolla. This software may run as root, but it has undergone a security audit and preserves permissions of the correct files and does not permit the glance user to write any of the set_config.py control files. Change-Id: Ie3cd23edcde5b408a8f66970456279a1b15028e0 Partially-Implements: blueprint drop-root
2015-11-09Base image changes for drop-rootSteven Dake3-3/+24
The reason we are doing drop root is so that a network exposed software component (i.e. glance) cannot be used to affect the immutability of the container which it runs in. I have tried several different approaches and this is the only approach which puts glance in PID=1 while ensuring no files may be written by the glance process in the container image except for the log files. Change-Id: Ifd3c8c361b78d0e4791dade3afa6435290407c41 Partially-Implements: blueprint drop-root
2015-11-09We now have a logs publisherSam Yaple1-0/+5
We need to create a directory to allow publishing of logs. Change-Id: Ieeac5d236b698bedaccb8b5f0bb16f0de9df9386 Backport: Liberty Partially-Implements: blueprint multinode-gate