Commit Graph

19 Commits

Author SHA1 Message Date
Michal Nasiadka 6c77d52cda Remove opendaylight image
It has been deprecated in Ussuri cycle.

Change-Id: I6d3174e8b52cb4d1f2eca4d85d506665dafe2406
2020-07-07 12:50:38 +02:00
Christian Berendt 861f55fbfd Add block labels to all Dockerfiles
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-03-01 17:25:58 +00:00
Zuul fb74313d7d Merge "Enable repos only when needed" 2019-12-04 17:45:50 +00:00
Marcin Juszkiewicz 70ef9a4fee drop *_existing_user_fix macros
Commit 109706aa8b bumped 'system' users
beyond range used by Kolla. So Debian/Ubuntu does not complain that
system users created by packages exist already on package install.

Change-Id: I9bf4b240839d46088ac668f26cf065dd5e3775c2
2019-11-29 17:20:14 +01:00
Marcin Juszkiewicz cf11cd6f3d Enable repos only when needed
Disable external repositories by default and enable only when needed.

Depends-on: https://review.opendev.org/696480

Implements: blueprint repos-off-by-default

Change-Id: Icf2a8397a8349e0fe849d88d160409fd234480a9
2019-11-29 11:38:06 +01:00
Marcin Juszkiewicz e04428f8f5 There is no Java 8 in Debian 'buster' (part 2)
Debian 'buster' release contains Java 11 only. So opendaylight and
monasca-thresh images needed adjustments.

Change-Id: I78f8be44436b8c8e5f58fea40a762c17e6b510a8
2019-07-16 14:51:28 +02:00
Alex Schultz ae1322ec10 Use base_package_type
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
2019-01-17 08:23:41 -07:00
Eduardo Gonzalez 444e9e7dc7 Pin ODL java version to 8 on ubuntu
Ubuntu default-jre-headless is not working due
min version missmatch with karaf.

Closes-Bug: #1791531
Change-Id: I67c2d9b2ae514b131a42297fa235071603dc230b
2018-09-09 16:33:07 +00:00
Martin André 11dcd27994 Switch to headless jre
Prefer the headless JRE wherever possible. This may be becessary to
adjust the override files for the customization of the containers where
java is installed.

Change-Id: I3479ac9e74aa9e860cf01db20bd7ab5f5cfc9c1a
2018-07-10 16:30:56 +02:00
Thierry Vignaud 6e58742153 Move ODL repo enablement into base image
This makes it consistent with the rest of the images and lets kolla
users disable external repo in a clean fashion.

Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: If6d03d2168a14181b7a32d7810b8fe4b1d798585
2017-08-03 17:59:27 +02:00
Eduardo Gonzalez 7129203bdb ODL installed for source images
ODL is an infrastructure service, in kolla we do not
support source installs for non OpenStack projects.
This change install odl from binaries to all
install_types, installing source code is still supported
from template-overrides

Change-Id: Ie60d35d1df6b7acd62cd529b0208d1c18bd7ee5a
2017-07-19 17:45:53 +02:00
Eduardo Gonzalez 8008001099 Point ubuntu ODL repos to PPA's
PPA repos are maintained by odl-team rather than current
repos under an individual namespace.

Change-Id: I282f81e802df5ec2a0690fff4a37da07275e2d42
2017-06-28 13:03:18 +01:00
Eduardo Gonzalez 8080531823 Add opendaylight install fix
Opendaylight package fails to install with existing
odl user.
This change adds a macro to fix the package install. Similar
to haproxy install fix.

Change-Id: Ie646769fe12b8f3f4c758b678b23c2d98c2e8027
Closes-Bug: #1700502
2017-06-27 09:44:35 +01:00
Tim Rozet 1e17ae6bb1 Fixes odl username and sudoers permissions
Change-Id: I3d378044b3da5309b60967a12df7800520a254dc
Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-31 16:27:20 -04:00
Jenkins e4fa287158 Merge "always update APT lists when install packages" 2017-05-10 11:09:58 +00:00
Marcin Juszkiewicz bfc72492e7 always update APT lists when install packages
Normally we update APT lists when 'base' image is built. But when some
time pass those lists get out-of-date and images can not be built.

CentOS based images handle that without issues because YUM updates
repository data whenever they are out-of-date.

Change-Id: I5ba5b2067566639b399329b878027d4513567f71
2017-05-08 14:31:33 +02:00
Jawon Choo 31259fa595 Override image's meta info.
centos based images have wrong label info,
these changes fix own image's name and build-date.

Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c
Closes-Bug: #1680341
2017-05-03 11:08:17 +09:00
Chen 8c463a47a9 Use LABEL instead of MAINTAINER (deprecated) in all Dockerfile.j2
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-20 16:50:05 +09:00
Marcus G K Williams 278bcdb154 Add OpenDaylight Container to kolla
Implements docker container template for OpenDaylight.

Change-Id: Icdcff77f0f6088f5a4db1bf77e37334dbd42074f
Partially-Implements: blueprint opendaylight-support
2017-04-18 12:57:55 -07:00