summaryrefslogtreecommitdiff
path: root/docker/gnocchi/gnocchi-api/extend_start.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-01-14Refactor Apache httpd setupMark Goddard1-11/+2
All Apache httpd setup has been moved to a new helper script, kolla_httpd_setup. This includes the existing clean of /run/httpd, /var/run/httpd, /tmp/httpd etc. Horizon has an additional bit of Apache config for Debian/binary, which has been kept in extend_start.sh for horizon. Change-Id: Ia2af74b69c151db0bd7e452460b0babcee50b282 Related: blueprint centos-rhel-8 (cherry picked from commit 8484190e77e4237247dac7fba128e5a111fc9918)
2019-06-03create missing apache2 directory on Debian/UbuntuMarcin Juszkiewicz1-0/+1
Ubuntu/source deployment of several images (horizon, placement-api, zun) failed with: + exec /usr/sbin/apache2 -DFOREGROUND apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot Change-Id: Ie2a1077f7def0743f1403341985e2109aa490026
2017-08-28Changed as per the standard convention set to use "."Surya Prakash Singh1-1/+1
When we have to source a script file use . instead of source For Reference follow below link: https://docs.openstack.org/contributor-guide/writing-style/code-conventions Change-Id: Icc6a692d37e8a5bc1146d803c873505cbf6cd03f
2017-07-13Use log-file rather than logfile in gnocchi extend start scriptJeffrey Zhang1-1/+1
logfile is marked as deprecated and will be removed. Change-Id: Iacd6a0c9667a470ec0ee6b4977100cc8e0b39e27
2017-04-16Remove legacy resource types creationJeffrey Zhang1-1/+1
Parameter --create-legacy-resource-types is removed by Ia7d4ea3d1b9b631ac4c399ae7245e42a531f862a Change-Id: Ic9580dee9c9c79c4f5d1968a269106067fdb73fc
2016-11-02Fix gnocchi deploybjorn lofdahl1-1/+1
Gnocchi deploy fails due to sudo -i flag Change-Id: Id1e2af274a3aee43dfecf02f979a9584dd2cffa8 Closes-Bug: #1634148
2016-09-29Fix error in Gnocchi serviceJeffrey Zhang1-1/+1
* mount gnocchi volume for gnocchi-api and gnocchi-statsd * fix the failed of gnocchi-api * use gnocchi user when running gnocchi-upgrade * use the app.wsgi file in python path directly, rather than copy it to /var/www/cgi-bin/gnocchi/app file TrivialFix Change-Id: Ie026b8f44cd8e9703bf115cebb4e2d50b114a3a2
2016-09-01repair gnocchi dockerfilezhubingbing1-1/+11
1. Add the missing packages in the gnocchi image packages: lz4 sqlalchemy_utils gnocchiclient 2. gnocchi config path is error gnocchi config path is /gnocchi/etc/gnocchi 3. gnocchi sync db command is error sync db command is: gnocchi-upgrade Reference link: http://docs.openstack.org/developer/gnocchi/install.html 4. gnocchi log directory is /var/log/kolla/gnocchi 5. Add gnocchi-api running as a mod_wsgi Reference link: http://docs.openstack.org/developer/gnocchi/running.html 6. Add gnocchi sudoers file Closes-Bug: #1607332 Change-Id: Id3aded82706ffd204373c97a020980d0d9b72663
2015-11-23Drop root for gnocchiSwapnil Kulkarni (coolsvap)1-1/+1
Updates to ensure commands run in the gnocchi containers are done as the 'gnocchi' user rather than root. Change-Id: I2e24300e05d1b2eeaa52bdc6ed3ec4599791136e 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