Bartek Grzybowski [Thu, 24 Sep 2020 10:09:22 +0000 (12:09 +0200)]
Create directory for output list file if it doesn't exist
Should the output list file directory passed as second param
not exist the script would fail.
Change-Id: I4586df54b42eba2ace49f6aaf03b68042354b44a
Issue-ID: OOM-2578
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 23 Sep 2020 13:50:15 +0000 (15:50 +0200)]
Workaround random application_dir removal failure
In cases where --output-dir is set to a directory on a
NFS share shutil fails to remove the application_dir.
This WO will silence errors from rmtree routine.
Change-Id: I0c5d06982f0ba2eb5b15276890b474afc46894e0
Issue-ID: OOM-2577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 15 Sep 2020 14:51:24 +0000 (16:51 +0200)]
Add feature to install shell autocompletion for kubectl
Change-Id: I732dcd92144f9a8489a351047ab88b53ca36759e
Issue-ID: OOM-2564
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 8 Sep 2020 13:59:07 +0000 (15:59 +0200)]
Fix repository directory name
This fixes a regression bug introduced in
5907acf due
to not all 'rhel' path elements updated.
Change-Id: I21a7448aa4605f705cfb7a75030d69a0db04319f
Issue-ID: OOM-2150
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Tomáš Levora [Wed, 2 Sep 2020 05:58:04 +0000 (07:58 +0200)]
Adding missing rpm packages
If target OS is installed from RHEL 7.6 DVD ISO, there are missing
additional packages added by to the list by this patch.
Issue-ID: OOM-2549
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I00c8fb3e8e6fb0f1a3879bd66a5c5e2542d321d3
Tomáš Levora [Thu, 20 Aug 2020 06:29:14 +0000 (06:29 +0000)]
Merge "Refactor helm-healer script"
Bartek Grzybowski [Thu, 30 Jul 2020 13:00:02 +0000 (15:00 +0200)]
Add automatic virtualenv provisioner for download and package script
Change-Id: I072d514c7c2f03991caf6714dbdc0d2d7e5c8bb9
Issue-ID: INT-1670
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 29 Jul 2020 13:36:15 +0000 (15:36 +0200)]
Fix linting issues in Python scripts
Change-Id: I198340670f808d42aa6fb16de573db4a65005985
Issue-ID: INT-1667
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 29 Jul 2020 13:33:27 +0000 (15:33 +0200)]
Add Tox and Coala setup for Python linter
Change-Id: Ic2e16c14f13c244f77c16fa5f38349f4549603a3
Issue-ID: INT-1666
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Mateusz Pilat [Thu, 9 Jul 2020 13:31:58 +0000 (15:31 +0200)]
Refactor helm-healer script
Extending helm-helper.sh funtionalities:
-detecting orphaned resources
-removing persistance storage for volumes
Issue-ID: OOM-2074
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: Ia7fd21ab61bfedc39647a30528a122a49a8fd79f
Tomáš Levora [Mon, 11 May 2020 11:50:06 +0000 (13:50 +0200)]
Updating RKE version to Frankfurt
Updating RKE to v1.0.4 for Kubernetes 1.15.9
Issue-ID: OOM-2403
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I87c3f9f4800aa40f62d7569b4ecf3fa373a16796
Tomáš Levora [Wed, 27 May 2020 10:51:44 +0000 (10:51 +0000)]
Merge "Fix: Fix docker cli version mismatch"
Tomáš Levora [Mon, 11 May 2020 11:15:11 +0000 (13:15 +0200)]
Updating helm for Frankfurt
Updaing helm to v2.16.6 as required by OOM Frankfurt
Issue-ID: OOM-2363
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: Ibcf47c26dadc359cb86e039d802ff6afbef7efbd
Tomáš Levora [Thu, 21 May 2020 11:18:08 +0000 (11:18 +0000)]
Merge "Updating kubectl for Frankurt"
Mateusz Pilat [Wed, 20 May 2020 12:58:50 +0000 (14:58 +0200)]
Fix: Fix docker cli version mismatch
Docker cli version is different than docker engine version & Improve output of verification job
Issue-ID: OOM-2415
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: Iebf8946c4a8b3eb3abd45402d6d573e403ac9ef2
Bartek Grzybowski [Mon, 18 May 2020 09:50:24 +0000 (09:50 +0000)]
Merge "Adding Ubuntu support in Ansible - vncserver role"
Jan Benedikt [Mon, 10 Feb 2020 15:36:30 +0000 (16:36 +0100)]
Adding Ubuntu support in Ansible - vncserver role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in vncserver role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: Ie57885d30166f319629e160c38a9053c18837515
Jan Benedikt [Mon, 10 Feb 2020 15:29:43 +0000 (16:29 +0100)]
Adding Ubuntu support in Ansible - package-repository role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in package-repository role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I85d4e6857536fa06c7eb4f4042c1ed64fcbf903e
Mateusz Pilat [Thu, 14 May 2020 12:43:53 +0000 (14:43 +0200)]
Fix: docker-images-collector.sh collect empty image name in output list. Adding also masterPassword param for helm templating
The root cause is that not all parameters are present in aaf chart. It is an issue not only for image params, however other cases are not impacting us. Issue-ID: OOM-2405
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: I1ad1d33717488a82a2ce1eebe524ee41e1264d40
Tomáš Levora [Mon, 11 May 2020 12:03:17 +0000 (14:03 +0200)]
Updating kubectl for Frankurt
Updating kubectl to v1.15.11 as required for Frankfurt
Issue-ID: OOM-2404
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I4165271fea9b8024e68f9d395f257e858bd605d7
Jan Benedikt [Tue, 5 May 2020 06:46:19 +0000 (08:46 +0200)]
Fix lint errors in package-repository-check role
In package-repository-check was changed command module to service module due to lint failing.
Failing was caused by errors:
[301] Commands should not change things if nothing needs doing
[303] service used in place of service module
Added molecule test.
Issue-ID: OOM-2395
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I6cfdfe920eabfb9a0c43cc9ba4ffcd81df1d6852
Bartek Grzybowski [Mon, 4 May 2020 14:20:37 +0000 (14:20 +0000)]
Merge "Adding docker images collector requirement"
Bartek Grzybowski [Mon, 4 May 2020 12:55:18 +0000 (14:55 +0200)]
Change name of clashing 'packages' variables
This fixes a regression from
b6455ee: 'packages' variable
is injected in 'firewall' role by package_facts module with
a higher priority than variable of same name defined in 'docker'
roles' defaults.
Change-Id: I41e0f992ceaab871ae38fb1b8211fd71c042c9b2
Issue-ID: INT-1578
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Tomáš Levora [Mon, 4 May 2020 11:07:07 +0000 (13:07 +0200)]
Adding docker images collector requirement
Adding pyyaml to requirements as it's required by
docker-images-collector.sh
Issue-ID: OOM-2393
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I52036a8f905fa50eecaddee062d73a38ad2ed9ca
Bartek Grzybowski [Mon, 4 May 2020 08:16:40 +0000 (08:16 +0000)]
Merge "Verify required packages were installed on target host"
Bartek Grzybowski [Thu, 30 Apr 2020 12:02:03 +0000 (05:02 -0700)]
Verify required packages were installed on target host
Change-Id: Ic074cbabfee614daf7862466a1bbafc9ff0fb6be
Issue-ID: INT-1576
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Jan Benedikt [Thu, 30 Apr 2020 12:04:05 +0000 (14:04 +0200)]
Adding Ubuntu support in Ansible - application role install make
Helm using "make" package for building local helm repository.
In Ubuntu distribution is this package missing so is necessary to install it.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I808dcb57396caf82a60d17f50515bae59b5d85ca
Bartek Grzybowski [Thu, 30 Apr 2020 11:30:12 +0000 (11:30 +0000)]
Merge "Adding Ubuntu support in Ansible - package-repository-check role"
Bartek Grzybowski [Thu, 30 Apr 2020 11:25:49 +0000 (11:25 +0000)]
Merge "Adding Ubuntu support in Ansible - helm role"
Jan Benedikt [Mon, 10 Feb 2020 15:13:58 +0000 (16:13 +0100)]
Adding Ubuntu support in Ansible - package-repository-check role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in package-repository-check role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I9dcdbab00169ccfc13a10c1d9b6ec9cf10572688
Jan Benedikt [Mon, 10 Feb 2020 14:43:55 +0000 (15:43 +0100)]
Adding Ubuntu support in Ansible - helm role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in helm role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: If28ee7674c4f9eebc4420f4dbbb1385a408d3802
Bartek Grzybowski [Thu, 30 Apr 2020 10:25:21 +0000 (10:25 +0000)]
Merge "Adding Ubuntu support in Ansible - certificates role"
Ondřej Šmalec [Mon, 16 Mar 2020 14:23:11 +0000 (15:23 +0100)]
Adding git package as additional one
Adding git package into additional_packages.list
It is needed to download additional stuff using git on infra server.
Issue-ID: OOM-2338
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: Ibc7708de697bfd5d2318d9ef30d4d556e20b0798
Bartek Grzybowski [Thu, 30 Apr 2020 09:26:19 +0000 (09:26 +0000)]
Merge "Adding Ubuntu support in Ansible - docker role"
Bartek Grzybowski [Thu, 30 Apr 2020 09:19:17 +0000 (09:19 +0000)]
Merge "Adding Ubuntu support in Ansible - chrony role"
Jan Benedikt [Thu, 19 Mar 2020 15:03:25 +0000 (16:03 +0100)]
Adding support for another packages lists
Adding support for another packages lists in create_repo script.
Additional package lists is for packages which are for example helpful tools for debugging.
Issue-ID: OOM-2340
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: If0bcb437809b60d83ed92436adade086314ccfac
Jan Benedikt [Wed, 11 Mar 2020 12:48:52 +0000 (13:48 +0100)]
Adding Ubuntu support in Ansible - chrony role
Extending ansible playbooks of ubuntu support.
Change the order in role calls.
Chrony role was moved due to its absence in Ubuntu distribution.
Firstly is necessary to initialize package repository and after that install Chrony.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: Icadf8e106fba4a369148db0959dcac07a79257c2
Jan Benedikt [Mon, 10 Feb 2020 14:15:41 +0000 (15:15 +0100)]
Adding Ubuntu support in Ansible - certificates role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in certificates role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I82f0f8590812c277f2969d71f95fb6475c72f7c8
Tomáš Levora [Wed, 29 Apr 2020 11:10:26 +0000 (11:10 +0000)]
Merge "Adding support for Ubuntu in create_repo and docker_entrypoint scripts"
Jan Benedikt [Tue, 17 Mar 2020 10:31:39 +0000 (11:31 +0100)]
Adding Ubuntu support in Ansible - docker role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in docker role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I4786dcd4b2de3f8d189db3b619c3d75315302506
Bartek Grzybowski [Thu, 23 Apr 2020 08:46:50 +0000 (08:46 +0000)]
Merge "Adding Ubuntu support in Ansible - resource-data role"
Jan Benedikt [Mon, 10 Feb 2020 15:25:21 +0000 (16:25 +0100)]
Adding Ubuntu support in Ansible - resource-data role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in resource-data role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I7b6852cb235a2983f5cc6eb6a3bfa122d6a1fd2e
Jan Benedikt [Mon, 10 Feb 2020 15:23:04 +0000 (16:23 +0100)]
Adding Ubuntu support in Ansible - nginx role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nginx role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I5f6a5aedfd9a2e17d3b1bb711d3e85a242b5e2d5
Bartek Grzybowski [Wed, 22 Apr 2020 09:28:42 +0000 (09:28 +0000)]
Merge "Adding Ubuntu support in Ansible - kubectl role"
Jan Benedikt [Mon, 10 Feb 2020 12:46:52 +0000 (13:46 +0100)]
Adding support for Ubuntu in create_repo and docker_entrypoint scripts
Extend script for creating repository with adding Ubuntu platform support.
Issue-ID: OOM-1671
Change-Id: I6b1c63cda18e53277fc2aad6dfa3eceefc9a0023
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Bartek Grzybowski [Tue, 21 Apr 2020 13:53:52 +0000 (13:53 +0000)]
Merge "Remove python 2 dependency"
Jan Benedikt [Mon, 10 Feb 2020 13:45:09 +0000 (14:45 +0100)]
Adding Ubuntu support in Ansible - application role
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in application role.
Issue-ID: OOM-1671
Change-Id: I7662506263a143cb7193583d2058766ac7829d93
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Bartek Grzybowski [Tue, 21 Apr 2020 13:03:17 +0000 (13:03 +0000)]
Merge "Adding Ubuntu support in Ansible - setup role"
Bartek Grzybowski [Tue, 21 Apr 2020 12:58:22 +0000 (12:58 +0000)]
Merge "Adding Ubuntu support in Ansible - dns role"
Tomáš Levora [Tue, 21 Apr 2020 12:40:24 +0000 (12:40 +0000)]
Merge "Adding Ubuntu support in Ansible - nfs role"
Jan Benedikt [Mon, 10 Feb 2020 14:44:01 +0000 (15:44 +0100)]
Adding Ubuntu support in Ansible - dns role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in dns role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I414df46093fd300891b9df44e12a0225495cc906
Jan Benedikt [Mon, 10 Feb 2020 15:06:37 +0000 (16:06 +0100)]
Adding Ubuntu support in Ansible - nfs role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nfs role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: Ib1c85e4df7ec2ba547a20684ed5e23e097351df2
Jan Benedikt [Mon, 10 Feb 2020 14:51:36 +0000 (15:51 +0100)]
Adding Ubuntu support in Ansible - nexus role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nexus role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: If2750997057126405987a0362d915456ffe77fff
Tomáš Levora [Thu, 9 Apr 2020 08:14:57 +0000 (10:14 +0200)]
Remove python 2 dependency
Removing python 2 dependency from docker-image-collector.sh
Issue-ID: OOM-2359
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I6aa4d27cdb10e93981e3dacfb16b2d02a0bf0762
Jessica Wagantall [Wed, 8 Apr 2020 18:10:31 +0000 (18:10 +0000)]
Merge "Automation adds index.rst"
LF Jenkins CI [Tue, 7 Apr 2020 17:42:30 +0000 (17:42 +0000)]
Automation adds index.rst
Issue-ID: CIMAN-376
Change-Id: I340cb246cd95962e2cb8a0b5de951fbe798b5fe0
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
LF Jenkins CI [Mon, 6 Apr 2020 20:57:46 +0000 (20:57 +0000)]
Automation adds index.rst
Issue-ID: CIMAN-33
Change-Id: I26c678d018b70275bff466eafd14a3ead60d4193
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
Sylvain Desbureaux [Thu, 2 Apr 2020 14:10:08 +0000 (14:10 +0000)]
Merge "Migrate oom-offline-installer docs"
Sylvain Desbureaux [Thu, 2 Apr 2020 12:19:59 +0000 (14:19 +0200)]
Add Sylvain and Krzysztof on offline installer
Sylvain is acting PTL of OOM and thus needs to do some administrative
tasks
Krzysztof is an important comitter in OOM and may help Sylvain on those
tasks.
Issue-ID: CIMAN-134
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I8dfd87467a983dfa3bfc7ff96e08098ab453f4f0
Bartek Grzybowski [Wed, 1 Apr 2020 09:47:12 +0000 (09:47 +0000)]
Merge "Removing python 2 reference in BuildGuide"
Jan Benedikt [Mon, 10 Feb 2020 14:46:53 +0000 (15:46 +0100)]
Adding Ubuntu support in Ansible - kubectl role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in kubectl role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I707ff9f609ece2b227dd84f32fdf519019f76e80
Tomáš Levora [Tue, 31 Mar 2020 08:22:54 +0000 (10:22 +0200)]
Upgrading package.py requirements
Upgrading gitpython from 2.11.1 to 3.1.0 because of incompatiblity
with actual version of gitdb2 (4.0.2)
Issue-ID: OOM-2344
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: Ibde20ee7f842858cb26f3ed4b45cb0339093a59f
Tomáš Levora [Tue, 31 Mar 2020 08:15:32 +0000 (10:15 +0200)]
Removing python 2 reference in BuildGuide
As python 2 support ends, removing its rereferences from buildguide
Issue-ID: OOM-2345
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I1130fd15af21d3e5a8bb80228d4cb31b5d25e41d
Sylvain Desbureaux [Wed, 25 Mar 2020 15:48:46 +0000 (16:48 +0100)]
Add Sylvain as committer
Issue-ID: CIMAN-134
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Icd72c24af9c7eb6a5e5ee9578fba8d32abf787a5
Jan Benedikt [Mon, 10 Feb 2020 15:32:31 +0000 (16:32 +0100)]
Adding Ubuntu support in Ansible - setup role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in setup role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I7a609613a517932939adf2e011c3ceb4e1d15bba
Bartek Grzybowski [Fri, 20 Mar 2020 09:26:15 +0000 (09:26 +0000)]
Merge "Add necessary packages to Ubuntu Dockerfile"
Jan Benedikt [Wed, 18 Mar 2020 14:54:19 +0000 (15:54 +0100)]
Add necessary packages to Ubuntu Dockerfile
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
Ondřej Šmalec [Thu, 19 Mar 2020 07:46:41 +0000 (08:46 +0100)]
Fixing helm lint
quoting helm lint parameter
Issue-ID: OOM-2339
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I56083798e4f26fb175b8d6f22c5d07de622e5b88
Ondřej Šmalec [Wed, 18 Mar 2020 14:16:03 +0000 (15:16 +0100)]
Skip helm lint
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
Jan Benedikt [Tue, 17 Mar 2020 10:39:38 +0000 (11:39 +0100)]
Adding Ubuntu support in Ansible - docker-dind role
Extending ansible playbooks of ubuntu support.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I6028736b54ce825d3eae257ca61cb6efab19a913
Bartek Grzybowski [Fri, 6 Mar 2020 09:44:40 +0000 (09:44 +0000)]
Merge "Specify Python in Ansible inventory template file"
Bartek Grzybowski [Thu, 5 Mar 2020 08:28:47 +0000 (08:28 +0000)]
Merge "Fix: Losing dns configuration after reboot"
Jan Benedikt [Mon, 17 Feb 2020 08:26:54 +0000 (09:26 +0100)]
Specify Python in Ansible inventory template file
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
Mateusz Pilat [Wed, 12 Feb 2020 09:19:28 +0000 (10:19 +0100)]
Fix: Losing dns configuration after reboot
Issue-ID: OOM-2295
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: Ic10203be6fc2cd2c805679a293efa0f2ddea9465
Mateusz Pilat [Fri, 14 Feb 2020 17:37:35 +0000 (18:37 +0100)]
Fix packaging script - Memory error in md5 calculations
During package preparation whole file is read and stashed in to RAM. when the file is large, like ONAP package it will result in an error
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Issue-ID: OOM-2308
Change-Id: Ic2dbea4018162bd4cfb380f6fb34078062c38a09
Ondřej Šmalec [Tue, 4 Feb 2020 14:30:48 +0000 (15:30 +0100)]
Adding checksum of packages into package.info
Function to add checksum of created packges
to package.info
Modified --add-metadata parameter to handle
more parameters in format key=value
Issue-ID: OOM-2288
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I29114c4566fdfd9643ab5c60951ee65f5680d2fe
Bartek Grzybowski [Tue, 11 Feb 2020 13:25:46 +0000 (14:25 +0100)]
Use POSIX compliant shell command in cicdansible
"[[ ]]" is a bash specific command that doesn't work in
dash which is Ubuntu's default shell.
Change-Id: Idd09c2e1e8c409503b12756141632527ab91b5ec
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-1671
Bartek Grzybowski [Tue, 11 Feb 2020 11:52:44 +0000 (12:52 +0100)]
Disable 'pipefile' shell opt in cloud-init's runcmd module
Cloud-init runs runcmd module with default OS shell which
evaluates to dash for Ubuntu and which in turn doesn't support
'pipefile' option. This makes cloud-init fail the module on
Ubuntu OS. In runcmd script there are no pipes so it's safe
to remove it from shell opts.
Change-Id: I0402fbfe13fe528832e64d107c1bc07bb5516fc2
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-1671
Jessica Wagantall [Thu, 6 Feb 2020 23:25:17 +0000 (15:25 -0800)]
Migrate oom-offline-installer docs
Merging this will create
https://onap-oom-offline-installer.readthedocs.io
This build will run in parallel
to the current docs generation method
until we are ready to cut over.
Issue-ID: CIMAN-364
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I73ad66c0ec946d75c5164776228f8f06550f5f7d
Bartek Grzybowski [Thu, 30 Jan 2020 11:03:12 +0000 (11:03 +0000)]
Merge "Removed version from package name"
Ondřej Šmalec [Fri, 24 Jan 2020 13:03:38 +0000 (14:03 +0100)]
Removed version from package name
Version is kept in package.info file.
No need to have it as well in package name.
package.info file is present in each tar package.
Issue-ID: OOM-2277
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I19fd80cb18e5eac614ac743af954f049536deb3b
Bartek Grzybowski [Fri, 24 Jan 2020 12:57:24 +0000 (12:57 +0000)]
Merge "Help script to remove runtime images from datalist"
Ondřej Šmalec [Thu, 23 Jan 2020 11:56:18 +0000 (12:56 +0100)]
Help script to remove runtime images from datalist
Issue-ID: OOM-2276
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I8f848dbb73747f0744a16fb5831627c20d9f8303
Ondřej Šmalec [Thu, 23 Jan 2020 10:40:54 +0000 (11:40 +0100)]
Replace master branch in BuildGuide
changed master branch to generic <branch> variable.
Issue-ID: OOM-2274
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I2fef04e00c6aa096e0fe3cd8d48327c5bf197cc1
Tomáš Levora [Thu, 23 Jan 2020 07:57:48 +0000 (07:57 +0000)]
Merge "Option for additional metadata in package.py"
Ondřej Šmalec [Wed, 22 Jan 2020 06:38:29 +0000 (07:38 +0100)]
Option for additional metadata in package.py
Issue-ID: OOM-2269
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: I6b23512746171fdeaac3883fb61695db2c48c3ab
Tomáš Levora [Mon, 20 Jan 2020 14:59:13 +0000 (14:59 +0000)]
Merge changes from topic "OOM-1853"
* changes:
Run env setup only once
Fix condition for checking if tests are defined
Tomáš Levora [Mon, 20 Jan 2020 14:58:57 +0000 (14:58 +0000)]
Merge "Improve offline-installer-review.sh logic to only run relevant tests"
Tomáš Levora [Mon, 20 Jan 2020 14:58:04 +0000 (14:58 +0000)]
Merge "Remove reference to Appendix in BuildGuide"
Bartek Grzybowski [Mon, 20 Jan 2020 10:40:26 +0000 (10:40 +0000)]
Merge "Add robot config at onap install"
Bartek Grzybowski [Mon, 20 Jan 2020 09:01:22 +0000 (10:01 +0100)]
Remove reference to Appendix in BuildGuide
Appendix was removed in change I8859ba42420d351ce12347cd63bf11f95a4b528d
Fixed some wording.
Change-Id: I3ad585b67532a4a44bf272d8ebfefec03ec3cc12
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-2158
Bartek Grzybowski [Fri, 17 Jan 2020 13:54:11 +0000 (14:54 +0100)]
Run env setup only once
prep_ubuntu_16_04_for_molecule routine was taken out of
run_molecule function so that it's not superfluously run
on each molecule invocation
Change-Id: I1e4d3f32fbec4fa1e96389d9d65740747bffcef6
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-1853
Bartek Grzybowski [Fri, 17 Jan 2020 13:35:38 +0000 (14:35 +0100)]
Fix condition for checking if tests are defined
Native shell conditional is used as previously the condition
would give warnings on stderr in certain cases, e.g. when
role was removed script reported:
"find: ‘ansible/roles/<rolename>’: No such file or directory"
Change-Id: I63f50bda94e144a17307d927a6be70ae270f28bf
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-1853
Bartek Grzybowski [Fri, 17 Jan 2020 08:29:15 +0000 (09:29 +0100)]
Improve offline-installer-review.sh logic to only run relevant tests
Main CI wrapper script refactored so that it runs tests in a more
granulated manner, i.e. matching between changed files and relevant
tests to run was optimised.
Change-Id: I09086099d7d16c52e29da2fe19440bcfd79ad295
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: OOM-1853
Michal Zegan [Thu, 6 Jun 2019 15:49:51 +0000 (17:49 +0200)]
Add tests for rke playbook
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>
Bartek Grzybowski [Thu, 16 Jan 2020 08:24:46 +0000 (09:24 +0100)]
Decrease tests resource footprint on CI minion
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
Bartek Grzybowski [Mon, 13 Jan 2020 12:23:19 +0000 (13:23 +0100)]
Add test scenario for unsafe volatile storage
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
Bartek Grzybowski [Fri, 10 Jan 2020 14:13:32 +0000 (15:13 +0100)]
Change group_vars inclusion mode in rke role tests
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
Bartek Grzybowski [Fri, 10 Jan 2020 13:56:23 +0000 (14:56 +0100)]
Include etcd storage configuration task in testing
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
Bartek Grzybowski [Fri, 10 Jan 2020 08:51:18 +0000 (09:51 +0100)]
Limit resource footprint of rke role tests
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