summaryrefslogtreecommitdiff
path: root/docker/zun
AgeCommit message (Collapse)AuthorFilesLines
2019-12-31create 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 (cherry picked from commit 932f09bcd65e15524b5229fdb6bc73a7e0111b27)
2019-08-20Add pciutils package to cyborg-agent and zun-computeRadosław Piliszek1-0/+8
These run lspci and have this requirement in respective bindeps. CentOS images seem to have it installed but Ubuntu not. Ensure pciutils package is always installed. zun-compute seemed to work nonetheless but generated errors about being unable to take host inventory. cyborg-agent is unknown to work at all and deb is unbuildable. Change-Id: Iebc1f2c05c1f57c2b6f98ca9772f1ae9d9a420fa Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> (cherry picked from commit c323c5be7fd4ebcc71ca4e10a5c15b9ab1f29ba6)
2019-03-12Add python3 packages for RHEL systemsAlex Schultz1-1/+10
RDO is currently working on python3 support for the next version of CentOS/RHEL based systems. This package uses the distro_python3 flag that was added as part of I4028991bad92c0e8e21066cc4173c06ce5eba393 to use the python3 specific package names. This change only adds python3 package names for RHEL systems. Conflicts-With: https://review.openstack.org/#/c/636457/ Change-Id: Iad6b70b433a0dd1b0f8ae6790fd280594517661a Related-Blueprint: python3-support
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
2018-12-15Install numactl package for Zun imagesHongbin Lu1-0/+2
The package numactl is required by this change: https://review.openstack.org/#/c/617928/ Change-Id: I163d7aea0d47c229ce9ea33049d84fdf17641ef6
2018-10-01Add user 'zun' to group 'docker'Hongbin Lu3-0/+15
Zun compute needs to access the docker socket for API call. The socket is owned by 'docker' group and the zun-compute process is owned by 'zun' user. In order to allow the access, this commit add zun user to docker group. Change-Id: Ifa7d399242dddf8d07f8b495b344752131a0f110
2018-09-30Add /var/lib/kolla/venv/bin to Zun exec_dirsHongbin Lu1-1/+2
This is necessary for rootwrap/privsep to work properly Change-Id: I128fb04a5ddeb77428697d33e2015158bc74738f
2018-09-10Run zun-api with 'root' userHongbin Lu1-2/+0
It looks zun-api needs root permission to run under apache2. Otherwise, the zun process will have problem to write to apache2 logs. Change-Id: I8b201fc70b8347be9869d7e6bf1eec00d8a32d6e
2018-08-27Configure sudoers for zun containersHongbin Lu5-1/+11
Zun processes were run as user 'root' in before. This is undesirable for several reasons (i.e. security, privsep). This patch make the Zun processes run as 'zun' user, which aligns with the practice of other containers. Change-Id: I0d3111f0ca6301d6f22410fe5fd5a2dbf586e691 Closes-Bug: #1787760
2018-07-10Stop using deprecated rpm package namesMartin André1-1/+1
These packages produce a warning during the installation, we should switch to their new names, usually to be specific about their use of python2. Change-Id: I0a80e822f64222d9a32aabd1fd834bcf794d6320
2017-09-27add zun-wsproxy imagejiangpch1-0/+14
zun needs to start zun-wsproxy service to provide the container attach feature(the container console on horizon), so a standalone docker image is required. Change-Id: I24d1b4a7b63c3bc86705269bda50fa2e3bdb9fab
2017-09-18Fix dind and zun images and oraclelinux buildEduardo Gonzalez1-1/+0
- dind need setuptools to install docker through pip in binary install - oraclelinux fails to install due opstools repo and openstack mitaka repos missing. - zun removed moved nova out of etc because is not used. https://github.com/openstack/zun/commit/6dc286616727fde6e4d22b415bd961ebd8854920 Change-Id: Ic4eb0f2e97a108be3c854c95eede27b5cd411b5c Closes-Bug: #1716952
2017-07-06Fix zun log dir permissionsEduardo Gonzalez1-0/+3
Change-Id: I9bc413d99953d93f8cd9bbcfcf74bd70c70c13ff
2017-05-15Merge "Fix zun images"Jenkins4-10/+46
2017-05-03Override image's meta info.Jawon Choo3-3/+3
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-20Fix zun imagesEduardo Gonzalez4-10/+46
Zun uses wsgi to start process. Rework zun-base image to make use of wsgi. Create zun user with macros to maintain static uids. Zun compute need root to connect docker Change-Id: Idd417e1b804148543ee5f403a836fa1f3e6f7fb0 Closes-Bug: #1682142
2017-04-20Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2Chen3-3/+3
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-02-17Use install-pip macro in most source imagesChao Guo1-1/+8
1. Enable customization of pip packages in source branch of most images 2. All pip packages install uniformly through install-pip macro, user can easily customize his own pip command (For example using a mirror) Co-Authored-By: Mauricio Lima <mauriciolimab@gmail.com> Change-Id: If09582039f690fa4136e8f33200d5da15e092da7
2016-12-29Add zun containerjianyi5-0/+82
Change-Id: Id11d00b8577f6c614b7001474d9a113ee6eca1fe Partially-implements: bp add-zun-container-for-kolla