summaryrefslogtreecommitdiff
path: root/docker/gnocchi/gnocchi-api/Dockerfile.j2
AgeCommit message (Collapse)AuthorFilesLines
2019-07-17Delete default gnocchi & aodh wsgi conf in Ubuntu binaryEddie Yen1-0/+4
Ubuntu distro package will create default wsgi conf in apache during gnocchi-api and aodh-api installation. We need to delete them since we only use the conf that pushed by kolla-ansible. Change-Id: Ib31e733eba12deebdf469c306dfba4191a1b89f5 Related-Bug: 1832306 Related-Bug: 1836520
2019-02-19gnocchi rpm naming cleanupJon Schlueter1-2/+2
During the Queens cycle the gnocci project was moved out of openstack and so naming changed from openstack-gnocchi-XXX to gnocchi-XXX January 2018 - https://review.rdoproject.org/r/#/c/11110/ Also openstack-gnocchi-indexer-sqlalchemy was moved to gnocchi-common 2017 - https://review.rdoproject.org/r/#/c/10449/ Change-Id: I511c248bd009d03cad6811c576dd91a7bb29e203
2019-01-17Use base_package_typeAlex Schultz1-2/+2
This change updates the docker files to use base_package_type instead of doing specific distro checks for the rhel/deb generic cases. The base_distro is still available and is used when a specific distro needs a customization but if the differences are purely rpm vs deb, then the base_package_type can be used. Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
2017-05-03Override image's meta info.Jawon Choo1-1/+1
centos based images have wrong label info, these changes fix own image's name and build-date. Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c Closes-Bug: #1680341
2017-04-20Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2Chen1-1/+1
Use LABEL instruction instead of MAINTAINER (deprecated) instruc- tion as suggested by Docker's official dockerfile guide. docs.docker.com/engine/reference/builder/#maintainer-deprecated Closes-Bug: #1683652 Change-Id: Ie87a1ddf31aefcd0b623fd2837d78de420e76898
2017-04-04debian: enable all images enabled for UbuntuMarcin Juszkiewicz1-1/+1
Debian support is not maintained in Kolla so it got a bit behind Ubuntu one. This changeset enables Debian for all images. Jessie (even with backports) may be too old for some images though. Also unify distro check to ['debian', 'ubuntu'] to keep alphabetical order like it is done for RPM distributions. Partially-Implements: blueprint multiarch-and-arm64-containers Change-Id: I056233fbfa277e0e2360c07c3f80d9558c554357
2017-03-27Remove gnocchi-carbonara packageEduardo Gonzalez1-1/+0
RDO have set carbonara package as obsoleted and is no longer used. https://review.rdoproject.org/r/#/c/4397/ Change-Id: I5f97ee681f09e194e558eda6291e64d83766f8c1 Closes-Bug: #1676389
2017-02-05Remove include_header and include_footer in all DockerfilesJeffrey Zhang1-1/+0
include_header and include_footer parameter is already removed, remove them in all Dockerfiles. Add missing footer block. Change-Id: I90da03eb9f95a3827361d5f5ede65fde7d6be2b3
2016-11-03Remove Fedora supportChristian Berendt1-1/+1
Closes-bug: #1616387 Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
2016-09-13Add header blocks to all DockerfilesPaul Bourke1-0/+3
Change needed to add header blocks to all Dockerfiles, similar to the base. Use case is to easily run something before packages are installed, e.g. to COPY a local rpm in that can be added to the package list. Change-Id: I1bbfdf0b762da0a392aa8bf47781315b45377bee Closes-Bug: 1618969
2016-09-01repair gnocchi dockerfilezhubingbing1-2/+0
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
2016-08-19Handle empty package list for install_packagesShaun Smekel1-1/+1
Currently if the install_packages macro is run with an empty package list, it will add a yum or apt-get command with no packages listed. This bug fix aims to omit this line when no packages have been given, or, the operator wants to use the "_override" / "_remove" functionality to disable all packages being installed in a Dockerfile. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: Ifaaaebfccc3adb0f2f68a35ac08e59378bc87fdb Closes-bug: 1612446
2016-07-23Customizations for gnocchiSwapnil Kulkarni (coolsvap)1-14/+12
This patchset contains customization of Dockerfiles of gnocchi containers Change-Id: I39f3cc44664225d3e7cbb735a7b70d5cd0f7ec47 Partially-implements: blueprint third-party-plugin-support
2016-06-01Updated Gnocchi binary containersSwapnil Kulkarni (coolsvap)1-0/+6
Added ubuntu binary containers Added gnocchi-metricd which is new package in centos and ubuntu Change-Id: If21d705e8bd1e34ea894c83ae42b0c8ef20510d7 Depends-On: If4be00b937e14ec93443dcb7249cf17099d57cbe Closes-Bug:#1582523
2016-04-12Update Gnocchi dockerfiles for formattingSwapnil Kulkarni (coolsvap)1-1/+1
Change-Id: I9a3560e3ec207f5aff0a0d8e608ab481989a8d82 Partial-Bug:#1569417
2015-11-23Merge "Remove hardcoded MAINTAINER in Dockerfiles"Jenkins1-1/+1
2015-11-23Remove hardcoded MAINTAINER in DockerfilesSwapnil Kulkarni (coolsvap)1-1/+1
Added new option in kolla-build.conf Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56 Closes-Bug:#1514304
2015-11-23Drop root for gnocchiSwapnil Kulkarni (coolsvap)1-0/+2
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-06Common start.shSam Yaple1-4/+2
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
2015-09-28Implement a install_type and install_metatypeSteven Dake1-1/+1
This prepares for the RHEL OSP implementation by making the build tool convert all binary-* into an install_type of binary and * into an install_metatype variable substitution inside the Dockerfiles. Further binary-* is substituted as install_name to enable proper building only. Change-Id: Ib681b29176eb79a3cab12ec824313fdecb6e7a5f Partially-Implements: blueprint rhel-based-image-support
2015-09-04Add 'rhel' for RPM distrosSteven Dake1-1/+1
Add 'rhel' to list for RPM based distros. Also sort the distro list for rpm packages for affected lines. Change-Id: Ied4cb3e9763d6c6359f314d16185383ac3e006ed Partially-Implements: blueprint rhel-based-image-support
2015-08-28Move docker_templates to docker dirSam Yaple1-0/+21
Updated build.py to reflect this change. Deprecate --template option and make it a noop. Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2 Partially-Implements: blueprint remove-docker-dir