aboutsummaryrefslogtreecommitdiff
path: root/docker/zaqar/extend_start.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-11-12Update Zaqar imageKien Nguyen1-21/+0
Follow Zaqar installation documentation [1] [1] https://docs.openstack.org/zaqar/latest/install/ Change-Id: Ic356fb81c19ebbc78aa3c7e871c4946d1f712a45 Implements: blueprint ansible-zaqar
2017-05-12Fix if $user is root at extend_startegonzalez901-1/+1
In ubuntu is not evaluating correctly if $user == root check at extend_start. Changing to "$(whoami)" == 'root' fixes the issue Change-Id: I296a1f98764cdfa09650c483bc7beba53e6bdba4 Closes-Bug: #1690360
2017-05-02Add Apache packages to zaqar containerMartin André1-0/+13
Some projects that use Kolla docker containers (TripleO) run zaqar under httpd. This patch adds the httpd package so that it exists in the container and can optionally by used via Docker entrypoints. As many of these projects do not require the use of Apache (it is opt-in) at this point not all deployment frameworks support the use of it so the existing configuration defaults have been left as-is for now. Change-Id: I35cfd1c2320eb972890b44668c8f9f0a047a65dc Partially-Implements: blueprint apache-packages-for-apis
2017-01-07Fix zaqar containerEduardo Gonzalez1-5/+5
This PS is part of a rework on zaqar container. In it's current state is not working in kolla. Will be adding/fixing issues under this PS. - Remove bootstrap zaqar: At this point zaqar-manage command does not exist. Boostraping is not needed while starting zaqar container. - Add pymongo package in source install. - Create /var/log/kolla folder. - Change zaqar homedir to /var/lib/zaqar and unify creation. - Zaqar's source default have config files as *.sample. Policy.json need to be present if keystone auth is going to be used. - Zaqar uses wsgi to the API, heka decoder need to be added Change-Id: I9c6716b64345d9e846902ffbfbf033135e3eabd9 Closes-Bug: #1647831
2015-11-13Drop root for Zaqar serviceJosh Lothian1-1/+1
Change-Id: I59797a8539406e478f6953a9aa0c933e73eb5892 Partially-Implements: blueprint drop-root
2015-10-13Fix issue with su and bad kernelsSam Yaple1-1/+1
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-06Common start.shSam Yaple1-0/+8
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