Commit Graph

31 Commits

Author SHA1 Message Date
Michal Nasiadka 9fd6e3608e Drop skydive
The project is not maintained anymore, last commit is 8th Jan 2022.

Change-Id: Iefbc3481925156dd267c696c8ab8b306637f5564
2023-01-04 11:51:35 +01:00
Daniel Stoye 1f1214d4fe Bump skydive version to 0.28
Skydive versions prior to 0.28.0 panic on newer versions of libc.
Fixed upstream in 0.28, see: https://github.com/skydive-project/skydive/issues/2329
This should be backported to at least xena and yoga, as skydive is
currently not working with centos 8 on these releases.

Closes-Bug: #1940862
Change-Id: I177949b9319a977c9cd9121eb28b710256b72a5a
2022-06-17 19:11:21 +02:00
Tim Shearer 1d96a2bbe1 Adjust permissions on _extend_start files.
Explicitly set the permissions on the kolla-toolbox kolla_extend_start
file. Also, since all extend_start files are sourced rather than
executed, the executable bits are now cleared throughout the project.

Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0
2022-04-11 17:22:24 +02:00
Marcin Juszkiewicz a1510870e8 drop infra_image_prefix
We have one install_type only now so that infra stuff is not needed
anymore.

Change-Id: I60d50ba7699d46d001eaef365fb84b0ce8e9b262
2022-04-11 06:22:21 +00:00
Maksim Malchuk 83efe32546 Unify curl use (customisation options)
This change adds and unifies an ability to override hardcoded URLs for
air-gapped environments via the usual blocks mechanism. Also, this
change replaces ENV with ARG instruction for the variables used only
in building images, and uses bash variable expansion where it possible.

This change is a continuation of the I46b77978926fc2b578a68d1aaa944b2198af0685

Change-Id: I1fbad333b1bc95484e6f4c5145d5936a0e2db84f
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-03-11 15:58:05 +03:00
Marcin Juszkiewicz 38fcd184e8 centos: enable repos where needed
With RDO use we did not disabled some repositories. This patch disable
them and enable where needed.

Change-Id: Ia9d537fe9c1ad54789d2bfb4027254fbb3defe7e
2021-04-13 11:21:39 +00:00
Michal Nasiadka ec358f4cf7 Revert "Fix error when github return 302"
This reverts commit 61def281d0.

Reason for revert: --location was already in curlrc and it was unified in change I46b77978926fc2b578a68d1aaa944b2198af0685

Change-Id: I066d747400ede30037ff324ad55430af7c35dc18
2021-03-04 14:51:08 +00:00
Sergei Chekanov 61def281d0 Fix error when github return 302
-L for curl: If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place

It fixes build error for me:
INFO:kolla.common.utils.prometheus-v2-server: ---> Running in 693fd4095c77
INFO:kolla.common.utils.prometheus-v2-server:curl (https://github.com/prometheus/prometheus/releases/download/v2.23.0/prometheus-2.23.0.linux-amd64.tar.gz): response: 302, time: 0.166583, size: 640
INFO:kolla.common.utils.prometheus-v2-server:
INFO:kolla.common.utils.prometheus-v2-server:gzip: stdin: not in gzip format
INFO:kolla.common.utils.prometheus-v2-server:
INFO:kolla.common.utils.prometheus-v2-server:tar: Child returned status 1
INFO:kolla.common.utils.prometheus-v2-server:tar: Error is not recoverable: exiting now

Change-Id: I095ca6f34cc7c7bca485e9ec019cc52aeb8e3ff4
2021-03-02 17:28:59 +03:00
Zuul 9707694c34 Merge "Remove footer block from intermediate images" 2020-12-12 21:21:07 +00:00
Michał Nasiadka 22c32a30e6 Unify curl options
Currently we use couple of curl options throughout Dockerfiles, this change
adds all common options to curlrc (-sSLf) and removes usage of those in
Dockerfiles.

Change-Id: I46b77978926fc2b578a68d1aaa944b2198af0685
2020-12-02 18:48:22 +01:00
Mark Goddard 4b792b9a43 Remove footer block from intermediate images
Only the final image in a hierarchy should have the footer block.

neutron-infoblox-ipam-agent image still has two footers because it
inherits from the neutron-server image. We set the user to root at the
beginning of that Dockerfile, so that headers and footers have the right
context.

Change-Id: I95e5bb5583be2a76e289749e8adfc303a4e7197a
2020-11-20 12:20:21 +00:00
Marcin Juszkiewicz 87730f8f7c create 'add_binary_source_envs' macro and use it
There is small subset of images where we need to know which install_type
or install_metatype is used. So add them only there (and their
children).

Change-Id: Ib7d5e36b958d6c8daf2989df32e29fa24b46c62a
Implements: blueprint infra-images
2020-09-21 12:10:57 +00:00
Marcin Juszkiewicz 90adc2b851 introduce 'infra_image_prefix' for infra images
Defaults to 'image_prefix' for now but shows which images gets their
names changed soon.

Change-Id: I0608e8f62f28d6667b4c8753c47553e4cbf75503
2020-07-09 23:31:42 +02:00
Christian Berendt 861f55fbfd Add block labels to all Dockerfiles
Change-Id: I9692dda817ef134d647247431565e1b58cf9da41
2020-03-01 17:25:58 +00:00
Michal Nasiadka d1038e03f0 Remove skydive rpm installation
Since some time (around v0.22.0) skydive team has stopped publishing
rpm packages in centos-opstools repo - instead they moved into
producing docker images for consumption.

This change removes usage of rpms for rpm distros and uses GitHub release
binary as in deb distros.

Change-Id: Ie586b0f249e545877ab1dd156d08e1863cd479ba
2019-11-29 15:40:32 +01:00
Michal Nasiadka c82ab3cdce Update skydive version to 0.26.0
Change-Id: Idae69105739a57937fb5ad596078dafc6a32f1d5
2019-11-20 11:07:28 +00:00
Michal Nasiadka 2da7f76ee0 Update skydive to v0.25.0
Change-Id: Id9db205c1af7607fde12dd8be9e0e25139597ccd
2019-09-12 14:40:20 +00:00
Michal Nasiadka 1ff012d2c5 Bump skydive version to 0.22.0
Change-Id: Ic88ab9fabcfd0287d41e13606aba1290f6f7a011
Closes-Bug: #1806167
2019-03-22 10:52:57 +01: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
Michal Nasiadka de5c8b1f77 Bump up Skydive version
Change-Id: If71b396167b7e338191e19fb8bc1a1924b57b281
2018-12-17 12:40:23 +01:00
Sylvain Baubeau 7a5b6836c1 skydive: use packages on rpm based distros
Change-Id: Ifd665a81822c042ee03f6b11da57593472e0a1cb
2018-08-08 09:50:42 +02:00
Sylvain Baubeau 89ef29715c skydive: bump to version 0.18
The 0.18 version of Skydive provides better etcd clustering and
fixes for OVS-DPDK.

Change-Id: Ib849d3f3e99713db3eec007152ad22dedc6c5fef
2018-06-22 09:19:00 +02:00
Sylvain Baubeau efd802053a skydive: bump to version 0.17
Change-Id: Icbb971c78226ad48cec318c994af16d630d914f5
2018-05-24 14:45:30 +02:00
Sylvain Baubeau 78e3aa2c75 Skydive: install openvswitch client to fetch OpenFlow rules
Change-Id: I900760294afc868f51cee0ef086595b047835058
2018-02-28 17:12:00 +01:00
Mathieu Rohon 67da9078b9 skydive: bump version to 0.15
Change-Id: I3a32334b77407a3ab7d3a844573c0161b981b555
2017-12-15 08:26:08 +00:00
zhuzeyu eb30cf704f Modify the version of skydive to v0.14.0
https://github.com/skydive-project/skydive/releases

Change-Id: I0cf20b42aed85e07015cbb1dad70a95c7258f209
2017-11-22 00:51:24 +00:00
zhuzeyu 35d13c9c55 Modify the version of skydive to v0.13.0
The v0.13.0 release of skydive is coming
https://github.com/skydive-project/skydive/releases

Change-Id: I3050dd1870c88b364f00cdc0dd8e1895b5c3f981
2017-10-14 12:45:18 +08:00
Jenkins 06d0c29a3e Merge "Skydive: Add log directory" 2017-08-09 12:08:04 +00:00
Mathieu Rohon 685cbdaa4f Skydive: Add log directory
Change-Id: I464cb4700ca143c1dbac3c20f7402ddb8cda7ce7
2017-08-04 11:13:40 +02:00
Mathieu Rohon 37a44055e3 Skydive: bump the binary version
Change-Id: I661ed85ca9b7cff344d69164b5e456c5560d9461
2017-08-02 10:45:59 +02:00
Mathieu Rohon 6338f8fbb0 Add skydive service
This patch introduces the docker template to build
the skydive container, that can be used to monitor
and troubleshoot networking in an openstack
deployment.
The skydive-analyzer and the skydive-agent will both
rely on the same container.

Implements: blueprint skydive-service

Co-Authored-By: Nicolas Bouron <nicolas.bouron@gmail.com>
Signed-off-by: Mathieu Rohon <mathieu.rohon@gmail.com>

Change-Id: Iab783179c2c3aba496a91debfd38a12215ae9f10
2017-06-02 15:55:07 +02:00