Age | Commit message (Collapse) | Author | Files | Lines |
|
As required by OOM Istanbul
Change-Id: I3e5a9040798b8bf6b45e92e3c10233de8131a0b2
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I1e4af38d326805c865adc4d920d95628e181fa2a
Issue-ID: OOM-2837
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I6745436a217e538d55942b7898d9910758007c61
Issue-ID: OOM-2829
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I3075fa187928995685a5758d50b409d8af2a15f8
Issue-ID: OOM-2826
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I4fa2fcd3456232e3f03a66154a43e23ce92aae11
Issue-ID: OOM-2826
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ibe3e173858252e9ff401f95c795b83cdcbda1ff2
Issue-ID: OOM-2825
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I6449b4afbd8cdced887849087f559b8bb848e1f8
Issue-ID: OOM-2818
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
RKE upgrades to 1.3.0
kubectl upgrades to 1.19.14
Change-Id: I1e31e91b84a2b233aa7729671ba18da12b75898c
Issue-ID: OOM-2818
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I121c1df6d71640554cefea43141d5c3399c4b9df
Issue-ID: INT-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Required by Grafana init container
Change-Id: Ib4097d24cef273bebf3b2683c57a4fcb8905713f
Issue-ID: INT-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
It's required by the community.kubernetes.k8s ansible module
Change-Id: I1efb961122a99c3d82f1c17e7015ec4c5484b2dd
Issue-ID: INT-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ib04d2ac27ed5bdb2e7896501378007610f7eefd0
Issue-ID: INT-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I50aa6dc4e7b0662ad6bc0819286b117d703f517d
Issue-ID: INT-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ie2dc5f9e22ad6fef13f0863853d1bd5706ea61bb
Issue-ID: INT-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Currently used 2.0.0-beta4 supported k8s 1.15 at max
Change-Id: I9565eaa78ebbca48377d65d87c77bc0893b29487
Issue-ID: OOM-2715
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
OOM docker image list needs to be generated prior to
ONAP deployment for the exact OOM project refspec used
hence removing the file from repository as for most cases
it'll be invalid anyway.
Change-Id: I3da264e573f0d406ab7fd6adbee88f80db93b04a
Issue-ID: OOM-2708
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Switching from running local chartmuseum binary to
chartmuseum docker container since docker engine is a
runtime dependency anyway.
Change-Id: I8aa66047d1fa91c2d248998a0c69a0e0a520af62
Issue-ID: OOM-2708
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Icc59efb1789f31f3d4b8409d67426d5eb2d876d5
Issue-ID: OOM-2686
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I1aff068caeb4213cbcefb9bd341e961b9d26a976
Issue-ID: OOM-2686
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ie737420d13ee455cc2b50d2541620ab836cd36f3
Issue-ID: OOM-2686
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ic397e6d347bf52a65be68078d4110a2e1dc66726
Issue-ID: OOM-2686
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
A docker container for chartmuseum is run with chart
storage volume mounted from hosts' resource dir for chart
repo persistence across container/infra restarts.
Change-Id: I692ff7a3d95414b439b15b5414bc8b959eb79414
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I9f468b6c731aaa764340e8503e6f377faba522b2
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Iafc200d98ee69d444d2fa82ddc95c15ba008889a
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ida635aac40557f079fc8ef611352bff82fc3e8c0
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Packaging script is also altered to properly symlink the
chartmuseum binary.
Change-Id: I9a2f526852ae1ebdc0763a06a2cf22f093090aa6
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This change adds support for extracting docker image list using
Helm version 3. Chartmuseum is used to serve the charts.
Change-Id: Ib7d7da312c1d9750548dd560d9571eb4715c0fa8
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Chart repository process should be killed before removing it's storage
Change-Id: Idd53a0cc812ca0d17beb3e0f7264de4280a6b536
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I2c1d5233ff43c2fc2cee104b1438089574935023
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
It will be leveraged for different handling of helm v2 and v3 workflow
Change-Id: I3d3939ef2ed491e9534b560c24af7e4ba9ed505d
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I66e232a8c243df89a1a9b573c592a08c72dc5324
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Official helm binaries are hosted on get.helm.sh
Change-Id: I4aab0b757f38e904a0bfd7483a92728f4a901a3a
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Main reason for adding this option is that stable repo
url of https://kubernetes-charts.storage.googleapis.com
has been obsoleted hence the "init" command fails on trying
to reach it. Since we're removing it afterwards anyway thus
--skip-refresh will allow "init" to pass without actually trying
to get it's contents.
Change-Id: I0719648fcfaf30da52ae19327f024b901471f188
Issue-ID: OOM-2660
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
"Fake deployment" is an OOM offline deployment mode which
allows to enumerate docker images utilized by auxiliary platform
deployment tools, which are not used by any real ONAP helm charts,
by the means of "helm template".
Change-Id: Iaa26281a1e7ef7ac68bb9e9a99521e5791f913b6
Issue-ID: OOM-2639
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
While 'yumdownloader' and 'apt-get download' commands do not
re-download packages that are already present in working dir,
scripts still need to perform package dependencies resolution
which is a time consuming activity hence a feature was added to
skip any further actions (download or deps resolution) on packages
that are already present locally.
For cold versus warm cache the gain in run time is:
cold warm
RPM 90s 10s
DEB 7m 90s
Change-Id: Ie502934cff6484844557832251e7ce0991789cfb
Issue-ID: OOM-2635
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I7d8d83622a3280b7f70b495500855134af1ab7e2
Issue-ID: OOM-2635
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Docker_downloader module uses threads to concurrently save
docker images to dest dir which creation is not guarded with any
kind of thread lock object thus it could fail on os.makedirs as other
thread could have already created that dir. Hence "exist_ok=True"
opt is added to os.makedirs call so that it does not fail in such
circumstances.
Change-Id: I6e2d2c9864b71d038e7b2ed3018cdd3c01916956
Issue-ID: OOM-2631
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ie824d8be21269b3c1ba233c6450ddab617f0159e
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I930d3ca4c3d9ab49286a38c0ea298abe807ac781
Issue-ID: OOM-2623
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ia273290ce661c2e4887e16a3a323a7349c609546
Issue-ID: OOM-2623
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Container name for certificate generation tool is hardcoded
as "generate-certs" hence multiple builds couldn't run in parallel.
This change overrides DOCKER_CONTAINER oom-cert-service makefile
variable changing the container name effectively.
Change-Id: I397ab7f3b04d35070cfb492ca482521ee10159fa
Issue-ID: OOM-2623
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
A temporary helm repository will be created for the
process of preparing data list and removed afterwards.
This allows setting a separate working helm repo not
affecting system wide configuration.
Change-Id: I775e28b7c5f0e9b5259588032346ff392f1b1803
Issue-ID: OOM-2623
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
|
|
Drop packages that are downloaded as dependencies of others anyway
Dependencies of container-selinux:
--> Processing Dependency: policycoreutils-python for package:
2:container-selinux-2.119.2-1.911c772.el7_8.noarch
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package:
policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: checkpolicy for package:
policycoreutils-python-2.5-34.el7.x86_64
Dependencies of nfs-utils:
--> Processing Dependency: gssproxy >= 0.7.0-3 for package:
1:nfs-utils-1.3.0-0.66.el7_8.x86_64
Change-Id: Ia67399685af0205474fa21fbc1fe3ec7eea261bb
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Most importantly this will allowing propagating the
failure to the wrapper script.
Change-Id: I3f419f588e0f0fb5b459fa1d8e8d520b9f5c78d5
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This increases idempotency and allows avoiding side effects
in cases where repo dir already contains images that are not
on the list of required packages.
Change-Id: Ieaa4e407ae7aacdc8d25440d90860cb880df09e2
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
This equals current behaviour of running in background and
then attaching running container to print logs but will allow
wrapper script to inherit exit code from entrypoint script.
Change-Id: Ida447ef8024995de6cad81aa2dc857aec36e0d04
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: Ic3e4553442efd4c565c834a80184ff78e978cdba
Issue-ID: OOM-2612
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Container is run with "--rm" option hence manual
cleanup is not needed in any case.
Change-Id: Iafe8287b8486abcd4a44fec102db8bfb89af1b63
Issue-ID: OOM-2612
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Change-Id: I6a67a8e675bdde8d9febc3edf8205c7516d979b8
Issue-ID: OOM-2612
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|