Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Added iproute2 and python3-docker to ubuntu docker file.
These packages is necessary for docker functionality in Molecule testing.
Is necessary to install them because there are not in ubuntu image by default.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I4e4f6bf342da3d5acba5b7b12c2dae9d64099426
|
|
quoting helm lint parameter
Issue-ID: OOM-2339
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I56083798e4f26fb175b8d6f22c5d07de622e5b88
|
|
Because of new templates in ONAP,
make command takes a long time and our ansible role timeout
Adding SKIP_LINT parameter to this role.
Issue-ID: OOM-2339
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: Ie7f0db95e51816ccc781b1253539b3a0dae9eb7b
|
|
Extending ansible playbooks of ubuntu support.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I6028736b54ce825d3eae257ca61cb6efab19a913
|
|
|
|
Created copy of inventory template due to set var of Python interpreter.
Python interpreter cannot be set in ansible.cfg file due to bug:
https://github.com/ansible/ansible/issues/45852
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I9683a2a764e8c6696a39625a6ddc40cda20f9333
|
|
Issue-ID: OOM-2295
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: Ic10203be6fc2cd2c805679a293efa0f2ddea9465
|
|
This adds tests for the rke playbook.
Change-Id: Idbb90bb9674d67c1877302877b60d3d60d44e36b
Issue-ID: OOM-1907
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
Due to constrained CI minion resources docker volumes
need to be pruned after each test invocation to prevent
false negative which occurs in case when multiple playbook
level tests are run.
Heavy VNC Server image (1GB) needs to be mocked with
lightweight alpine image in play-infrastructure test
for same reasons.
Change-Id: I1026593a375853575cf210aefe29bc320d4e5c64
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-1907
|
|
This tests rke role with etcd storage configured on tmpfs.
Change-Id: I57feb705a38e87c1b2127294c3443d99cc2595aa
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-2259
|
|
Inclusion switched from inventory.links declaration in
molecule config to filesystem symlink.
Change-Id: Idcdd40ba196963f61b587c78718564c9374fa731
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-2259
|
|
It was missing since adding feature for etcd storage configuration
in https://gerrit.onap.org/r/c/oom/offline-installer/+/94135
Change-Id: I1d354af1fd48df8cb8de002f473d32cd5d4f9075
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-2259
|
|
Number of kubernetes nodes created by rke role tests
was limited to 1 - higher number caused resource exhaustion
in CI worker (8gb memory limit).
Verifier timeout was increased in routine where pod
readiness is checked.
Change-Id: I2c30aa999b92c4ceddccf682c4f918e953da2621
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-2257
|
|
Kubelet can be configured on startup now - just add new key/values in:
kubelet-static-config.yml.j2
Also kubelet static (startup) configuration can be overriden later
(dynamically) during its runtime - for more info read this:
https://kubernetes.io/docs/tasks/administer-cluster/reconfigure-kubelet/
Issue-ID: OOM-2199
Change-Id: Ia4790a4dfc04f0caed695df7bfd343253bd95bc0
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
Due to bug in ansible archive module empty files are not added into tar file.
Hence kibana-onborading.json missing in helm_charts on infra node.
Changing archive module into command module to tar helm_charts.
Issue-ID: OOM-2231
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I5527bd0f52976a93ac2861d9de010fbb79eb97fd
|
|
Changing name of rhel resource directory in "resources/pkg" from rhel to rpm due to platfrom independent repository for all distributions supporting RPM packages.
Issue-ID: OOM-2150
Change-Id: Ie5425df8b8550c618440586b495907f86c4cc509
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
|
|
This commit updates rke (implementing K8S 1.15.4), kubectl binary and
helm binary with tiller image:
rke 0.3.0
kubernetes 1.15.4
kubectl 1.15.4
helm 2.14.2
dashboard 2.0.0-beta4
Kubernetes dashboard is also updated to be compliant with the 1.15 K8S.
Note 1:
There is a new datalist to split rke only images from other K8S related
images.
Note 2:
El Alto recommendation cannot be fullfilled to the letter, because rke
does not have any release supporting 1.15.2 version of kubernetes (only
experimental).
Issue-ID: OOM-2122
Change-Id: I02cf0955158eca622bcac40ceed42588dbdd3499
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
As no external git repo should be required, removing the list and the
simulation
Issue-ID: OOM-2014
Change-Id: I7b8bbaab93db173bc3f1438592d288f6090d3641
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
* changes:
Make cicdansible to set external ip
Use external_ip to populate the node address
Add external_ip variable
|
|
|
|
Use the new external_ip inventory variable to populate node address.
Note that cluster_ip is still used if external_ip has not been set.
This makes it possible to connect to kubernetes apiserver using the external_ip
without disabling ssl cert verification.
As an added bonus, the inventory hostname is now used as the node name to make
node names more predictable.
Change-Id: I3cc25c488d68f2f858a5eb3438d96285fa7517ca
Issue-ID: OOM-2112
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Adds the external_ip variable that can be used to set ip different
from cluster_ip, like public/floating/elastic ip, that can be used to externally
communicate with kubernetes nodes. Mainly useful
for the control plane and communication with
api server.
Change-Id: Ie840bff4b8479081b7397a42935c9db53db1bf4f
Issue-ID: OOM-2112
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Plus the option to have etcd on tmpfs (volatile storage) for little
bigger (maybe) speed (NOT FOR PRODUCTION DEPLOYMENT!).
Issue-ID: OOM-2058
Change-Id: I0bbfc4fbae7f6b46e2fae49656437cd6748efd49
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
|
|
|
|
This is needed because prepare-kubectl role can do just the same.
Also fixed rke tests to match.
Change-Id: I808df650a5f755e09c26d13db62ecfc1504a317c
Issue-ID: OOM-1907
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
Removing packaging script written in BASH and its configuration as
it's function was replaced by new python script build/package.py
Issue-ID: OOM-1932
Change-Id: Id48c2ef69d64012c456661358106703eab7d85c3
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
This replaces jinja for constructions used to add helm arguments
with jinja filter usage.
Change-Id: Ia47635466f4a9251d1f33a42080d3538fc52587d
Issue-ID: OOM-1911
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
* changes:
Allow overriding docker version in prepare-docker-dind
Specify source ip for rancher agent
|
|
|
|
Now the generated app_helm_override_file and the list of
helm overrides is separate.
The former is to contain things like user provided overrides,
the latter is the list of absolute paths to preexisting helm value files.
The playbook joins all that into a final list of override files that is then
passed to helm.
Change-Id: I8b8ded38b39aa9a75e55fc63fa0e11b986556cb8
Issue-ID: OOM-1951
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This change allows overriding of docker version to be installed
when calling prepare-docker-dind role.
It also enables downgrading, allowing the
given version to be taken into account. Previously
the specified version was completely ignored.
Change-Id: Iee3827564f130498e9fad69ddea55278346b7cfe
Issue-ID: OOM-1906
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
This change explicitly sets cluster_ip as rancher agent source ip.
This avoids eventual problems with ip autodetection, especially that
we know the correct ip.
Change-Id: I473f022c56301cefeb98ccb5bb94d78e7ac491a7
Issue-ID: OOM-1906
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
|
|
|
|
|
|
* changes:
Fix tests for binaries preparation in installation steps
Add binaries preparation to installation steps
|
|
Change-Id: Ib28bda24b711111c13bbaf9bd2628abd2001a1a9
Issue-ID: OOM-1925
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
A 140mb haproxy image was substituted with tiny alpine
image to make CI tests faster.
Change-Id: Ic1a234df8f293e12a6e864817a19bf5445f10fe9
Issue-ID: OOM-1942
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
'dnsmasq.tar' docker image file will be removed
after test invocation.
Change-Id: I29668ece8c745794ad9462e527ca144bea6f4fc2
Issue-ID: OOM-1943
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
|
|
* changes:
Add etcd group support to rke role
Add kubernetes-etcd group
Make rke to use new group structure
Add kubernetes-node group for workers
|
|
List of docker images to download/cleanup by the
prepare and cleanup stages is now defined in one
place (prepare-nexus role defaults) for clarity and
ease of management.
Change-Id: I4c18912fd8c5eadc4d68e1bc10f5c2251d58634e
Issue-ID: OOM-1915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
|
|
|
|
Adding binaries preparation into installation steps as rke binary need
to be renamed and helm binary need to be unarchived. Removing those
previously manual steps from BuilGuide
Issue-ID: OOM-1925
Change-Id: I504320fb82e1c8f6db2f99c5dfd4518192eae895
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
|
|
* changes:
Add verification tests for 'chrony' role
Setup 'cluster_ip' fact for infra host in 'chrony' role tests
|
|
* changes:
Clean application role mocked artifacts directories
Add custom patch role scenario to 'application' role
|
|
* changes:
Update 'busybox' and 'haproxy' docker images path in tests
Add role level tests for 'nexus' role
Improve 'nexus' role testability
|
|
At some point names of busybox and haproxy images
have changed in nexus3.onap.org registry. This patch
updates those names in testing framework.
Change-Id: Iaad4976118bfcd708f2b8fccb8df61f6059ac1f4
Issue-ID: OOM-1915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|
|
A cleanup stage is also added to clean testing
artifacts.
Change-Id: I2255a0e90a0f609bd927d3d44dd05b5847fbdfb0
Issue-ID: OOM-1926
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
|