icn.git
2 years agoMerge "Replace flux wait with control plane wait"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 00:28:06 +0000 (00:28 +0000)]
Merge "Replace flux wait with control plane wait"

2 years agoMerge "Ensure Kata is deloyed before testing"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 00:27:50 +0000 (00:27 +0000)]
Merge "Ensure Kata is deloyed before testing"

2 years agoMerge "Enable pod security policies"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 00:27:35 +0000 (00:27 +0000)]
Merge "Enable pod security policies"

2 years agoMerge "Use pinned version of CAPM3"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 00:27:16 +0000 (00:27 +0000)]
Merge "Use pinned version of CAPM3"

2 years agoFix typo in Vagrantfile post up instructions 17/4517/1
Todd Malsbary [Fri, 19 Nov 2021 00:20:11 +0000 (16:20 -0800)]
Fix typo in Vagrantfile post up instructions

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I4d9da3a904ba85daac701738df772721d5f3afed

2 years agoTemporarily remove kubevirt from addons self-test 16/4516/1
Todd Malsbary [Thu, 18 Nov 2021 23:32:16 +0000 (15:32 -0800)]
Temporarily remove kubevirt from addons self-test

The kubevirt self-test requires AllowTcpForwarding to be enabled in
sshd's config, which is not compatible with the OS hardening required
by Bluval.  The test needs to be rewritten to run in-cluster.

In the meantime, kubevirt will be tested indirectly with the
plugin_fw_v2.sh test.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia2de90bd6e740b66b6a0a71fd53a1b52d784d80c

2 years agoReplace flux wait with control plane wait 15/4515/1
Todd Malsbary [Mon, 15 Nov 2021 23:54:21 +0000 (15:54 -0800)]
Replace flux wait with control plane wait

The flux wait was unreliable and once the control plane is ready,
requests can be succesfully submitted to the cluster.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I2cdaf150d76dc6753055136f16b4e518dbd84f49

2 years agoEnsure Kata is deloyed before testing 14/4514/1
Todd Malsbary [Mon, 15 Nov 2021 23:53:31 +0000 (15:53 -0800)]
Ensure Kata is deloyed before testing

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I8510426098f8e64e0d881912ec4d2709f12ad778

2 years agoEnable pod security policies 13/4513/1
Todd Malsbary [Wed, 10 Nov 2021 19:43:33 +0000 (11:43 -0800)]
Enable pod security policies

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ifb2bf5aaccbc58e5e761508197b01197e62ed707

2 years agoUse pinned version of CAPM3 12/4512/1
Todd Malsbary [Tue, 9 Nov 2021 23:15:44 +0000 (15:15 -0800)]
Use pinned version of CAPM3

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I98a3fb83492dbefa9625285e9a0907ec2d097ee5

2 years agoHarden OS and K8s deployments 11/4511/1
Todd Malsbary [Wed, 3 Nov 2021 23:40:10 +0000 (16:40 -0700)]
Harden OS and K8s deployments

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ic4b917c1cd0d75762ba251cf0fdc2ac9375781da

2 years agoAdd vm_verifier target for CAPI VM e2etest 02/4502/3
Todd Malsbary [Wed, 3 Nov 2021 18:11:07 +0000 (11:11 -0700)]
Add vm_verifier target for CAPI VM e2etest

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ie428d88b9dc1bf4cf9fd7834e43740e46a46447d

2 years agoMerge "Add wait command to VM e2etest site"
Kuralamudhan Ramakrishnan [Mon, 22 Nov 2021 23:00:24 +0000 (23:00 +0000)]
Merge "Add wait command to VM e2etest site"

2 years agoMerge "Update provisioned OS to Ubuntu 20.04"
Kuralamudhan Ramakrishnan [Mon, 22 Nov 2021 22:59:29 +0000 (22:59 +0000)]
Merge "Update provisioned OS to Ubuntu 20.04"

2 years agoAdd wait command to VM e2etest site 01/4501/2
Todd Malsbary [Wed, 3 Nov 2021 17:45:04 +0000 (10:45 -0700)]
Add wait command to VM e2etest site

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I06a273149ccbd10f22d38963e103505fe20d4169

2 years agoUpdate provisioned OS to Ubuntu 20.04 00/4500/2
Todd Malsbary [Wed, 3 Nov 2021 17:19:12 +0000 (10:19 -0700)]
Update provisioned OS to Ubuntu 20.04

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I4279dd565e796b28e1e33484a6a64ecaf99cf3a2

2 years agoAdd addons test script 98/4498/2
Todd Malsbary [Tue, 2 Nov 2021 22:29:59 +0000 (15:29 -0700)]
Add addons test script

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I7ca30273f7fdf8ca93fc693bb6b106f70be0541c

2 years agoInstall emcoctl into jump server 97/4497/2
Todd Malsbary [Tue, 2 Nov 2021 22:30:39 +0000 (15:30 -0700)]
Install emcoctl into jump server

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I33f6497a9b18b2b071ba384e0ca4063241409b12

2 years agoAdd test steps to kata script 96/4496/2
Todd Malsbary [Tue, 2 Nov 2021 18:08:22 +0000 (11:08 -0700)]
Add test steps to kata script

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I7d541d0ce5306fd99d2bd015d742aab2c7e0c1cd

2 years agoUse common clone repo function 95/4495/2
Todd Malsbary [Tue, 2 Nov 2021 18:06:22 +0000 (11:06 -0700)]
Use common clone repo function

Remove unused kud_launch.sh script.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ic041a6f75fa5d53011b1c3c285e75205aabe6b3d

2 years agoAdd dependency relationships to EMCO 94/4494/2
Todd Malsbary [Tue, 2 Nov 2021 00:06:08 +0000 (17:06 -0700)]
Add dependency relationships to EMCO

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia83cce4a09465542e43e52bde27f11c4d4184639

2 years agoAdd Kata to e2etest site 89/4489/3
Todd Malsbary [Mon, 1 Nov 2021 17:52:18 +0000 (10:52 -0700)]
Add Kata to e2etest site

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I6570d0d264fa05b24722c122c943048674a5c6cd

2 years agoAdd EMCO to e2etest site 88/4488/3
Todd Malsbary [Mon, 1 Nov 2021 17:57:50 +0000 (10:57 -0700)]
Add EMCO to e2etest site

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I85e4668986383e07cd975097b888d9859b4649f8

2 years agoBuild VM e2etest site values 87/4487/3
Todd Malsbary [Mon, 1 Nov 2021 17:56:57 +0000 (10:56 -0700)]
Build VM e2etest site values

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Idef4d82372a392f714a9a1fa74956ab2f263f95b

2 years agoCapture creation of cluster into Helm chart 86/4486/3
Todd Malsbary [Fri, 29 Oct 2021 20:20:19 +0000 (13:20 -0700)]
Capture creation of cluster into Helm chart

This is a rudimentary chart, meant primarily to support the ICN
e2etest cases.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ib5e6b9e4a0779d43a6891e1d8926d6e612c7aee8

2 years agoAdd first round of addons to e2etest site 90/4490/3
Todd Malsbary [Mon, 1 Nov 2021 18:36:02 +0000 (11:36 -0700)]
Add first round of addons to e2etest site

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I76b7a2ba9647991c937f97818baefa125d96d873

2 years agoAdd dependency relationships to addons 93/4493/3
Todd Malsbary [Mon, 1 Nov 2021 23:38:21 +0000 (16:38 -0700)]
Add dependency relationships to addons

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I6a6971eeab558d79e2aea3d82339f5da2cba661f

2 years agoInstall Flux CLI into jump server 85/4485/2
Todd Malsbary [Fri, 29 Oct 2021 16:22:40 +0000 (09:22 -0700)]
Install Flux CLI into jump server

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I2a5b4c068e9b646b159bdbc9304e370af48d9693

2 years agoInstall Cluster API into jump server 84/4484/2
Todd Malsbary [Fri, 29 Oct 2021 00:06:05 +0000 (17:06 -0700)]
Install Cluster API into jump server

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I35e6891a5ca4a966f9806f863e668cd7bd24c811

2 years agoCapture creation of BMH resources into Helm chart 83/4483/2
Todd Malsbary [Thu, 28 Oct 2021 23:07:56 +0000 (16:07 -0700)]
Capture creation of BMH resources into Helm chart

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ie67048142020a0eb4aa544ddba9f551fbd1eec72

2 years agoUpgrade ironic and baremetal-operator components 80/4480/5
Todd Malsbary [Thu, 28 Oct 2021 17:30:39 +0000 (10:30 -0700)]
Upgrade ironic and baremetal-operator components

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ib368f487075707bea4ef6924735d8ffcc250fd86

2 years agoMove wait_for to common.sh 99/4499/2
Todd Malsbary [Wed, 3 Nov 2021 16:38:24 +0000 (09:38 -0700)]
Move wait_for to common.sh

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Idda7606b31ed0055d9cc22a679f5b60b18a1c0b8

2 years agoAdd last round of addons to e2etest site 92/4492/2
Todd Malsbary [Mon, 1 Nov 2021 18:41:52 +0000 (11:41 -0700)]
Add last round of addons to e2etest site

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I71e18fc187bdad4e6666555d62637c46a623dc34

2 years agoAdd second round of addons to e2etest site 91/4491/2
Todd Malsbary [Mon, 1 Nov 2021 18:39:59 +0000 (11:39 -0700)]
Add second round of addons to e2etest site

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Iae259ef83d891344c31f72953ce60c4f4dfd8ec7

2 years agoRemove bpa_op_e2e_virtletvm target and deps 82/4482/3
Todd Malsbary [Thu, 28 Oct 2021 18:28:46 +0000 (11:28 -0700)]
Remove bpa_op_e2e_virtletvm target and deps

This is no longer supported.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Id88f4629de03ce3572a69ca3013ff2fc1c42dfee

2 years agoExtract BareMetalHost creation from metal3 scripts 79/4479/3
Todd Malsbary [Wed, 27 Oct 2021 18:36:49 +0000 (11:36 -0700)]
Extract BareMetalHost creation from metal3 scripts

This is in preparation for Cluster API support.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I30536d754a281ec9c5b3cbe4da15cb74b70f5434

2 years agoMerge "Fix version of box used in Vagrantfile"
Kuralamudhan Ramakrishnan [Wed, 10 Nov 2021 00:14:59 +0000 (00:14 +0000)]
Merge "Fix version of box used in Vagrantfile"

2 years agokubespray_version is no longer in kud-vars 78/4478/4
Todd Malsbary [Wed, 27 Oct 2021 21:23:30 +0000 (14:23 -0700)]
kubespray_version is no longer in kud-vars

KuD now requires the specifying Kubespray version in the environment.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I793c39b815ff43df365a1e4d5de4cdf2c61a6b93

2 years agoFix version of box used in Vagrantfile 77/4477/2
Todd Malsbary [Tue, 19 Oct 2021 18:35:04 +0000 (11:35 -0700)]
Fix version of box used in Vagrantfile

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I377f4fc751c638cdb0890404b6bf927080970618

2 years agoUpdate CA certificates when installing prereqs 76/4476/4
Todd Malsbary [Tue, 5 Oct 2021 22:50:12 +0000 (15:50 -0700)]
Update CA certificates when installing prereqs

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia06d3c232fb8ec29c3c96782629e660c3530c2dd

2 years agoBump up memory allocated for virtual jump server 75/4475/2
Todd Malsbary [Tue, 5 Oct 2021 22:07:38 +0000 (15:07 -0700)]
Bump up memory allocated for virtual jump server

Add some headroom for the jump server, 16GB is close to fully
utilized.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I19958e15b14773242ca941eb752ae2d4433600d9

2 years agoUpdate jenkins version in ci/vars.yaml 69/4469/2
Todd Malsbary [Wed, 7 Jul 2021 18:10:29 +0000 (11:10 -0700)]
Update jenkins version in ci/vars.yaml

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I6328824ffff6670753d2d123a18f7ce2863160c5

2 years agoUse python3 in ci/install_ansible.sh 68/4468/2
Todd Malsbary [Wed, 7 Jul 2021 18:10:17 +0000 (11:10 -0700)]
Use python3 in ci/install_ansible.sh

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I22da2b03d09350e36f7e4373d726799c6c1f8d29

2 years agoUpdate ci/README.md 70/4470/2
Todd Malsbary [Wed, 7 Jul 2021 18:09:56 +0000 (11:09 -0700)]
Update ci/README.md

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ieb2a1923151f27d1664dd1a7bf8eec63dac9ee49

2 years agoRemove unused metal3-vm code 64/4464/7
Todd Malsbary [Thu, 30 Sep 2021 22:44:15 +0000 (15:44 -0700)]
Remove unused metal3-vm code

Change-Id: Ibc69ef89b832ef24d088fd8b6412f332bbf8cdbb
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
2 years agoUse Vagrantfile to build virtual site 63/4463/3
Todd Malsbary [Fri, 24 Sep 2021 22:07:14 +0000 (15:07 -0700)]
Use Vagrantfile to build virtual site

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I9498be3425877ed21b48c1499c0c9db969be6185

2 years agoUpdate golang version in bpa-restapi-agent 62/4462/3
Todd Malsbary [Thu, 30 Sep 2021 20:08:22 +0000 (13:08 -0700)]
Update golang version in bpa-restapi-agent

This resolves the
  go: error loading module requirements
error seen when building with golang 1.12.

Note that beginning with golang 1.13, WriteAt returns an error of the
file is opened with O_APPEND; this patch removes that flag.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I862d54a2dba11aa15822a33f5d326d99b04a7b79

2 years agoInclude boot MAC address when listing nodes 61/4461/3
Todd Malsbary [Thu, 30 Sep 2021 18:47:03 +0000 (11:47 -0700)]
Include boot MAC address when listing nodes

This enables the metal3 scripts to be used with both bare metal and
virtual machines.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ice18fe91bc7788b410604a20aff816d038fbb02b

2 years agoFix go error in package_prerequisite step 60/4460/3
Todd Malsbary [Fri, 24 Sep 2021 22:25:29 +0000 (15:25 -0700)]
Fix go error in package_prerequisite step

The common.sh file is sourced before go is installed and it wants to
execute go env.  Defer the execution until after go is installed.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I53063c60eb6140eeb79b7567ac3585ca477ce3fd

2 years agoRemove IRONIC_IPMI_INTERFACE_IP 59/4459/3
Todd Malsbary [Fri, 24 Sep 2021 23:23:41 +0000 (16:23 -0700)]
Remove IRONIC_IPMI_INTERFACE_IP

The scripts don't actually do anything with it except to check that
it's assigned to IRONIC_IPMI_INTERFACE.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I3699639a2264d184e52df6c6a45caab47dcb0402

2 years agoFix hang during addon termination in e2etest 12/4412/2
Todd Malsbary [Fri, 3 Sep 2021 19:34:10 +0000 (12:34 -0700)]
Fix hang during addon termination in e2etest

Terminating the SRIOV addon causes the node to drain and become
temporarily unschedulable.  Wait for this to complete before
continuing with termination of the other resources.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Iaef8fbd2bce5b167cc98861ec5cce93db9537242

2 years agoRemove unused environment variables 55/4455/2
Todd Malsbary [Fri, 17 Sep 2021 23:50:53 +0000 (16:50 -0700)]
Remove unused environment variables

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I00414ce17c3ad3b3a3c925f02876b941338c8992

2 years agoRemove stale offline option to scripts 54/4454/2
Todd Malsbary [Fri, 17 Sep 2021 23:44:29 +0000 (16:44 -0700)]
Remove stale offline option to scripts

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I4d80d0d0d3a809d347b70306bba99dbdd87b867c

2 years agoRemove unsupported podman container runtime 53/4453/2
Todd Malsbary [Fri, 17 Sep 2021 23:16:58 +0000 (16:16 -0700)]
Remove unsupported podman container runtime

Remove unused functions and code as part of this work.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I838ee3a8ef0b54d1caf4df4732d3d416af0f4d93

2 years agoRemove empty files 56/4456/2
Todd Malsbary [Fri, 17 Sep 2021 23:54:35 +0000 (16:54 -0700)]
Remove empty files

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I88f655b40a0133f5a0c64f0fdfda0fa084e113f0

2 years agoRemove usage of deprecated ifconfig, bridge-utils 57/4457/2
Todd Malsbary [Tue, 14 Sep 2021 22:27:43 +0000 (15:27 -0700)]
Remove usage of deprecated ifconfig, bridge-utils

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I08d1430fff30801b5d034b3af5349e19839bb0ce

2 years agoMerge "Let kubespray install the correct docker versions"
Kuralamudhan Ramakrishnan [Thu, 23 Sep 2021 21:21:59 +0000 (21:21 +0000)]
Merge "Let kubespray install the correct docker versions"

2 years agonetworkslice: Added free5gc helm charts. 52/4452/1
palaniap [Thu, 23 Sep 2021 04:22:41 +0000 (21:22 -0700)]
networkslice: Added free5gc helm charts.

Added the helm charts for the free5gc NFs.
Added script to test the basic network slicing.

Signed-off-by: palaniap <palaniappan.ramanathan@intel.com>
Change-Id: I26217629053967423edd7d19743f17c262cda0c3

2 years agoLet kubespray install the correct docker versions 11/4411/1
Todd Malsbary [Thu, 2 Sep 2021 17:21:57 +0000 (10:21 -0700)]
Let kubespray install the correct docker versions

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I1fdfa7a47856f9122232285ed274052bf496d3d5

2 years agoRemove bootstrap network 62/4362/2
Todd Malsbary [Tue, 15 Jun 2021 19:17:58 +0000 (12:17 -0700)]
Remove bootstrap network

Issue-ID: ICN-598
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia44c08ad3c47467cfc47cf055f6dc6daa6b02a84

2 years agoRun go fmt over bpa-operator 61/4361/2
Todd Malsbary [Mon, 14 Jun 2021 20:15:51 +0000 (13:15 -0700)]
Run go fmt over bpa-operator

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I7652333843f5099ebc25d3efe70f742243df72ae

2 years agoMerge "Select addons namespace with kubectl in e2e tests"
Kuralamudhan Ramakrishnan [Wed, 1 Sep 2021 18:49:44 +0000 (18:49 +0000)]
Merge "Select addons namespace with kubectl in e2e tests"

2 years agoMerge "Add kubevirt to e2e tested addons"
Kuralamudhan Ramakrishnan [Wed, 1 Sep 2021 18:49:16 +0000 (18:49 +0000)]
Merge "Add kubevirt to e2e tested addons"

2 years agoSelect addons namespace with kubectl in e2e tests 99/4399/1
Todd Malsbary [Tue, 17 Aug 2021 17:50:54 +0000 (10:50 -0700)]
Select addons namespace with kubectl in e2e tests

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ic8e75cfd6f450a38250d11e903a108133c4f65f3

2 years agoFix conditional test in 02_configure.sh script 88/4388/1
Geoffroy Van Cutsem [Wed, 4 Aug 2021 14:06:55 +0000 (16:06 +0200)]
Fix conditional test in 02_configure.sh script

Fix a conditional statement that returns an error although the
command ran successfully. Fortunately, this did not affect the
functionality and logic in the script but it generated extra
noise on the console logs that are unnecessary and potentially
confusing to users.

Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Change-Id: Ic59c09e2b2890af37bbb023d0b372baa2f718c2d

2 years agoAdd kubevirt to e2e tested addons 81/4381/1
Todd Malsbary [Thu, 22 Jul 2021 21:16:55 +0000 (14:16 -0700)]
Add kubevirt to e2e tested addons

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I100f2ec09b88a12c29740220bb3ff33a350596e2

2 years agoUpdate to python3 72/4372/2
Todd Malsbary [Wed, 7 Jul 2021 23:00:54 +0000 (16:00 -0700)]
Update to python3

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ib85b95e48cc1ce4d64cf54b8a6e82c8cd810c3c5

2 years agoBump version to remove dependency on stale module 60/4360/2
Todd Malsbary [Fri, 11 Jun 2021 19:22:58 +0000 (12:22 -0700)]
Bump version to remove dependency on stale module

The bitbucket.org/ww/goautoneg repository no longer exists.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ibd5f4a0a99c7f7ee88a421731662e609460d25b4

2 years agoMerge "Add topology-manager to e2e tested addons"
Kuralamudhan Ramakrishnan [Tue, 29 Jun 2021 22:15:25 +0000 (22:15 +0000)]
Merge "Add topology-manager to e2e tested addons"

2 years agoAdd topology-manager to e2e tested addons 52/4352/1
Todd Malsbary [Mon, 21 Jun 2021 16:57:24 +0000 (09:57 -0700)]
Add topology-manager to e2e tested addons

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia178336a79da60e8241d8deebcf46b1ba798259e

2 years agoRefactor deploy of addons via EMCO 04/4304/2
Todd Malsbary [Wed, 2 Jun 2021 23:47:24 +0000 (16:47 -0700)]
Refactor deploy of addons via EMCO

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I97ac25b4a1a404595217df980cbcf5e964bf3513

2 years agoDisable qat addon test under containerd 1.2.13 11/4311/1
Todd Malsbary [Mon, 7 Jun 2021 19:00:37 +0000 (12:00 -0700)]
Disable qat addon test under containerd 1.2.13

The error reported via describe pod is:
  Error: failed to create containerd container: error unpacking image
This error is fixed in newer versions of containerd, however 1.2.13 is
the supported version of kubespray 2.14.1.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I2c880ee6c4f9e3f51e4f591c337735d6291b0c72

2 years agoFix typo in 06_host_cleanup.sh 06/4306/1
Todd Malsbary [Thu, 3 Jun 2021 21:25:39 +0000 (14:25 -0700)]
Fix typo in 06_host_cleanup.sh

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ibe2674df70d2bea8924a242f9c60475b87508fbb

3 years agoUpdate python version from 2.7.5 to 2.7.18 01/4301/1
Todd Malsbary [Wed, 26 May 2021 18:56:29 +0000 (11:56 -0700)]
Update python version from 2.7.5 to 2.7.18

This resolves the
  error: failed to install pip via get-pip.py
during the bmh_install target of the verifier build.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I236c1d921971876ce1c8bfca2930b1eaec856894

3 years agoDeploy addons via EMCO 18/4218/7
Todd Malsbary [Fri, 9 Apr 2021 00:25:36 +0000 (17:25 -0700)]
Deploy addons via EMCO

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ie99b91cea63e081c6400a07d8fe1c7dd177eb32f

3 years agoAdd in configmap for KUD variables to bpa-operator 88/4188/4
Eric Adams [Wed, 31 Mar 2021 00:26:50 +0000 (00:26 +0000)]
Add in configmap for KUD variables to bpa-operator

Signed-off-by: Eric Adams <eric.adams@intel.com>
Change-Id: I296c24875138ea3c2a3b90688dd097c2abca608a

3 years agoEnable KUD tests in both bmh and vm verifiers 19/4219/2
Todd Malsbary [Fri, 9 Apr 2021 22:38:38 +0000 (15:38 -0700)]
Enable KUD tests in both bmh and vm verifiers

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Idb11a67d4104adb59c3854b4e7e4a84602e845a2

3 years agoRemove reference to non-existent vm_install 46/4246/2
Todd Malsbary [Thu, 13 May 2021 22:13:00 +0000 (15:13 -0700)]
Remove reference to non-existent vm_install

REAMDE.md instructs the user to 'make vm_install'.  The vm_install
target does not exist in the Makefile; verify_all is the expected
target to use.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ie3df54ff026e7294e441dd7f9eb37e462bb164fc

3 years agoDo not use hardcoded kubespray version 48/4248/2
Todd Malsbary [Thu, 13 May 2021 23:20:06 +0000 (16:20 -0700)]
Do not use hardcoded kubespray version

The installed version is available in kud-vars.yml.  Read the value
from there before running the reset playbook.

Issue-ID: ICN-525
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I13f6f54ac3794d2a7ee9e7329c4f81305abf8ebe

3 years agoDon't fail host cleanup if bridge does not exist 47/4247/2
Todd Malsbary [Thu, 13 May 2021 23:18:02 +0000 (16:18 -0700)]
Don't fail host cleanup if bridge does not exist

When host cleanup is run after a failed install, the provisioning and
dhcp0 bridges may not exist.  Continue with cleanup steps when they do
not.

Issue-ID: ICN-525
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia9ed6024f823d9398696c0cbcb7cd3c03a7c19d7

3 years agoEnable VM nesting for kata support in VM deploy 92/4292/1
Todd Malsbary [Wed, 19 May 2021 22:47:27 +0000 (15:47 -0700)]
Enable VM nesting for kata support in VM deploy

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I881ed5c6d522e7e095eaee1e96e44066f6300d73

3 years agoAdd SR-IOV NIC to nodes.json sample 20/4220/2
Todd Malsbary [Tue, 27 Apr 2021 21:16:15 +0000 (14:16 -0700)]
Add SR-IOV NIC to nodes.json sample

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I30af45ce3cb08aa3d685eb41bcfc1a9a20d4c53a

3 years agoMake BPA VM verifier aware of NUM_WORKERS 81/4181/4
Todd Malsbary [Fri, 26 Feb 2021 21:23:27 +0000 (13:23 -0800)]
Make BPA VM verifier aware of NUM_WORKERS

Exporting NUM_WORKERS creates additional worker VMs, but prior to this
fix only the first worker was provisioned by the BPA operator.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I1f8f56a26e6a94b3c6788b08f545b5f1c1713300

3 years agoThe bootstrap DHCP server is not a router 17/4217/2
Todd Malsbary [Tue, 27 Apr 2021 17:34:54 +0000 (10:34 -0700)]
The bootstrap DHCP server is not a router

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ifa94900be9372e4ec94021443480e214e644d2aa

3 years agoAdd explicit network configuration to nodes.json 16/4216/1
Todd Malsbary [Mon, 26 Apr 2021 20:20:43 +0000 (13:20 -0700)]
Add explicit network configuration to nodes.json

A "net" section is added to nodes.json to provide the value of the
networkData field to the created BareMetalHost resource.  This allows
static configuration of a given host's interface, for example.

Due to limitations with the networkData field, all interfaces must now
be explicitly listed.  Previously, dhclient was run against all
interfaces on the host and gateway and DNS information was provided
via the PROVIDER_NETWORK variables in user_config.sh.  Now that
information must be provided in nodes.json.

Issue-ID: ICN-575
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Icbf29856a0e1209bd1bcfe7da563f8e6cc1057cd

3 years agoFix typo in golang image tag 09/4209/1
Todd Malsbary [Fri, 9 Apr 2021 22:33:34 +0000 (15:33 -0700)]
Fix typo in golang image tag

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I0664383cf74ccf946e28be1738810ac942b2b920

3 years agoFix function declaration reported by bashate 94/4194/2
Todd Malsbary [Mon, 29 Mar 2021 17:57:54 +0000 (10:57 -0700)]
Fix function declaration reported by bashate

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I622a7a6a93b75f0ab7a1f556c7f15d0d4999d3f0

3 years agoUpdate make-bm-worker call for Go 1.16 82/4182/3
Todd Malsbary [Fri, 26 Feb 2021 21:28:02 +0000 (13:28 -0800)]
Update make-bm-worker call for Go 1.16

From https://blog.golang.org/go116-module-changes, GO111MODULE=auto
must be to set to enable the previous version's behavior.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I4f430959969717adf83f75217f1642b5d79f3775

3 years agoUpdate golang image location to official repo 07/4207/1
Todd Malsbary [Wed, 7 Apr 2021 18:23:59 +0000 (11:23 -0700)]
Update golang image location to official repo

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I29b997b72cdc342629c974598ac21e7977703954

3 years agoadding kud upgrade fix 44/4044/1
r.kuralamudhan [Thu, 7 Jan 2021 14:37:29 +0000 (06:37 -0800)]
adding kud upgrade fix

Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I5879025cd23c43f5204eb7a545ee348430b220f4

3 years agopod11-node5 bm_verify configuration 28/3928/3 release-v0.4.0 v0.4.0
Todd Malsbary [Fri, 20 Nov 2020 22:48:55 +0000 (14:48 -0800)]
pod11-node5 bm_verify configuration

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I5d0549dff6005e7ab05861ca235490207b525c51

3 years agoMerge "Add intel_iommu to kernel cmdline"
Kuralamudhan Ramakrishnan [Wed, 9 Dec 2020 23:13:15 +0000 (23:13 +0000)]
Merge "Add intel_iommu to kernel cmdline"

3 years agoAdd intel_iommu to kernel cmdline 78/3978/1
Todd Malsbary [Tue, 8 Dec 2020 00:14:24 +0000 (16:14 -0800)]
Add intel_iommu to kernel cmdline

This is a necessary prerequisite for QAT support.

Issue-ID: ICN-513
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I54d9a8906210ea467fc6822388da981abf9afa48

3 years agoDo not error when a deleted resource is not found 60/3960/2
Todd Malsbary [Thu, 3 Dec 2020 00:17:22 +0000 (16:17 -0800)]
Do not error when a deleted resource is not found

Issue-ID: ICN-504
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I6bf9aa9bba7342258d4d3943fa76ff44e3416166

3 years agoMerge "Schedule icn-bluval-daily-master at midnight"
Kuralamudhan Ramakrishnan [Mon, 30 Nov 2020 23:23:30 +0000 (23:23 +0000)]
Merge "Schedule icn-bluval-daily-master at midnight"

3 years agoSchedule icn-bluval-daily-master at midnight 40/3540/4
Igor D.C [Tue, 2 Jun 2020 23:36:47 +0000 (23:36 +0000)]
Schedule icn-bluval-daily-master at midnight

This patch makes the Jenkins icn-bluval-daily-master job run
recurrently at midnight of every day, similar to other ICN CI jobs.

To fulfill that, the patch also defines all default parameters
for the Bluval job to run correctly and unattended.

Change-Id: I48aa10b707186e30aa334edb4a97047383814e03
Signed-off-by: Igor D.C <igordcard@gmail.com>
3 years agoAlways install/clean KUD on Bluval job 51/3551/7
Igor D.C [Sat, 6 Jun 2020 20:18:53 +0000 (20:18 +0000)]
Always install/clean KUD on Bluval job

This commit makes the Bluval job (icn-bluval-daily-master) always
ensure KUD/kubespray is installed before running the validation steps.
Additionally, it fully uninstalls KUD and purges all Docker images
and Docker itself, so that the next run will be as clean as possible
and also using the latest available KUD version and EMCO k8s code.

Since Jenkins is automatically installing k8s, this commit also
makes Jenkins automatically patch the security vulnerabilities
that would otherwise break conformance and kube-hunter.

Change-Id: Ie3e604315514b00b8a3933d8c69ca8fd3ff50458
Signed-off-by: Igor D.C <igordcard@gmail.com>
3 years agoUpgrade baremetal-operator 93/3893/3
Todd Malsbary [Thu, 15 Oct 2020 20:42:14 +0000 (13:42 -0700)]
Upgrade baremetal-operator

This adds the newer rootDeviceHints to the resource that enables
provisioning to both SSD and NVMe drives.

IssueID: ICN-481
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I6a5e6e1c9ce16ff3fe36c702186d01e0abe2347f

3 years agoChange KUD plugin from onap4k8s to emco. 37/3737/5
Todd Malsbary [Tue, 22 Sep 2020 18:19:30 +0000 (11:19 -0700)]
Change KUD plugin from onap4k8s to emco.

Note: memory for VM nodes was increased to run the v2 firewall test.

Issue-ID: ICN-456
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I938e242da3fb34f6f104b7bd03214a38bbd3d657

3 years agoMake ipa-downloader error fail the build 76/3876/3
Todd Malsbary [Thu, 5 Nov 2020 23:23:24 +0000 (15:23 -0800)]
Make ipa-downloader error fail the build

Running the image in the background and then issuing docker wait fails
to detect a failed return code from the container as docker wait
prints the return code of the container and exits with 0.

Check explicitly that the ironic-python-agent files the httpd
container needs are downloaded.

This change also removes extraneous whitespace from the generated
ironic.env.

Issue-ID: ICN-499
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Icc0f7ce5b19c47008c37d59c3f029809c68b16cc