icn.git
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

3 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

3 years agoClone baremetal-operator.git in baremetal deploy 83/3783/5
Todd Malsbary [Tue, 6 Oct 2020 21:16:21 +0000 (14:16 -0700)]
Clone baremetal-operator.git in baremetal deploy

Without this, the bmh_install step will fail if the repo is not
already present.

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

3 years agoReconcile IF3, eno3, and BS_DHCP in README.md 91/3891/2
Todd Malsbary [Tue, 10 Nov 2020 18:37:12 +0000 (10:37 -0800)]
Reconcile IF3, eno3, and BS_DHCP in README.md

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

3 years agoQuote the state value, it may include spaces. 84/3784/4
Todd Malsbary [Fri, 2 Oct 2020 16:52:37 +0000 (09:52 -0700)]
Quote the state value, it may include spaces.

This prevents the "./02_verify.sh: line 22: [: too many arguments"
error when the state is, for example, "registration error".

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

3 years agoUse username and password from "os" in nodes.json 73/3873/2
Todd Malsbary [Wed, 4 Nov 2020 18:29:56 +0000 (10:29 -0800)]
Use username and password from "os" in nodes.json

This removes COMPUTE_NODE_PASSWORD from the environment.  A check is
left in place to ensure that any existing users of
COMPUTE_NODE_PASSWORD will be warned that the nodes.json value is what
is used now.

Also, COMPUTE_NODE_FQDN is removed from common.sh.  It was/is
overwritten immediately before use.

Note: the "os" object does not exist in the equivalent JSON file for
the VM deployment.  The default username and password continues to be
used in the VM case.

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

3 years agoMake generation of VM MAC addresses idempotent. 12/3712/2
Todd Malsbary [Mon, 21 Sep 2020 18:20:00 +0000 (11:20 -0700)]
Make generation of VM MAC addresses idempotent.

This ensures that the network XML, VM XML, and Ironic node definitions
remain in sync when the vm-setup playbooks is run multiple times.

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

3 years agoUpdate broken IPA URL 69/3869/2
Todd Malsbary [Tue, 3 Nov 2020 00:12:30 +0000 (16:12 -0800)]
Update broken IPA URL

The master URL is no longer available, replace with the latest (train)
image available at this time.

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

3 years agoCheck for errors by default in scripts 75/3875/2
Todd Malsbary [Thu, 5 Nov 2020 17:40:31 +0000 (09:40 -0800)]
Check for errors by default in scripts

Inconsistent usage led to continuing after failure in, for example,
kud_bm_deploy_mini when kud_bm_launch.sh failed to get the necessary
packages.

Scripts in ci, cmd/bpa-operator/vendor, deploy/kud-plugin-addons, and
sdwan are excluded from this change.

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

3 years agoExtract CLUSTER_NAME and use it consistently. 86/3786/2
Todd Malsbary [Tue, 6 Oct 2020 21:32:11 +0000 (14:32 -0700)]
Extract CLUSTER_NAME and use it consistently.

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

3 years agoFix spelling error. 85/3785/2
Todd Malsbary [Fri, 2 Oct 2020 16:51:50 +0000 (09:51 -0700)]
Fix spelling error.

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

3 years agoReplace README.md with ICN install instructions 01/3801/3
Todd Malsbary [Fri, 16 Oct 2020 21:45:54 +0000 (14:45 -0700)]
Replace README.md with ICN install instructions

README.md is identical to the ICN install instructions with the
following exceptions:
- Minor grammatical fixes.
- The deployment figure, bare metal node tables, and user-provided
  configuration are in sync.

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

3 years agoUpdate Jenkins from 2.192 to 2.263 41/3541/4
Igor D.C [Thu, 22 Oct 2020 16:59:46 +0000 (16:59 +0000)]
Update Jenkins from 2.192 to 2.263

Additionally, adding quotes around the version number as I have
previously seen a parsing issue where 2.2xx became an incorrect
version number after parsing, thus failing installation.

Change-Id: I9900b25b3fb3a9f5606df1df62255c64fefeee7b
Signed-off-by: Igor D.C <igordcard@gmail.com>
3 years agoadding demo yaml files 78/3778/1
r.kuralamudhan [Wed, 30 Sep 2020 08:11:24 +0000 (01:11 -0700)]
adding demo yaml files

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

3 years agoMerge "Update ci readme file to add one note"
Cheng Li [Fri, 12 Jun 2020 02:21:36 +0000 (02:21 +0000)]
Merge "Update ci readme file to add one note"

4 years agoAdd kud_bm_verifier for CI tag 49/3449/17
Chen, Tingjie [Wed, 27 May 2020 03:03:18 +0000 (11:03 +0800)]
Add kud_bm_verifier for CI tag

Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
Change-Id: I0a697705ea257175c671fe35ed252ecddeb8dad9
Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
4 years agofixing testing for baremetal end2end testing 22/3522/1
r.kuralamudhan [Wed, 27 May 2020 21:20:05 +0000 (14:20 -0700)]
fixing testing for baremetal end2end testing

Signed-off-by: Kural Ramakrishnan<kuralamudhan.ramakrishnan@intel.com>
Change-Id: I8ff45f98233d3fdde51898dc3e9d5e48e8f5ab94

4 years agominor fix in baremetal clean up script 20/3520/1
r.kuralamudhan [Wed, 27 May 2020 18:58:59 +0000 (11:58 -0700)]
minor fix in baremetal clean up script

Signed-off-by: Kural Ramakrishnan<kuralamudhan.ramakrishnan@intel.com>
Change-Id: Ibb38562ba7657d89a6c77f166ef09a57be254731

4 years agoUpdate ci readme file to add one note 16/3516/1
chengli3 [Wed, 27 May 2020 08:20:30 +0000 (16:20 +0800)]
Update ci readme file to add one note

Change-Id: I9e8f4593910555b186520c6f50a67d31d8ea84dd
Signed-off-by: chengli3 <cheng1.li@intel.com>
4 years agoAdding bm deploy all option 12/3512/1
Kuralamudhan Ramakrishnan [Tue, 26 May 2020 21:47:08 +0000 (21:47 +0000)]
Adding bm deploy all option

Co-authored-by: Chen, Tingjie <tingjie.chen@intel.com>
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamduhan.ramarkishnan@intel.com>
Change-Id: Ic37023f6f11adcd7188afe9690f85541e99fd996

4 years agofixing baremetal operator version in VM deployment 00/3500/10
r.kuralamudhan [Thu, 21 May 2020 21:54:14 +0000 (14:54 -0700)]
fixing baremetal operator version in VM deployment

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

4 years agoAdd icn-bluval-daily-master CI job 71/3371/5
Igor DC [Fri, 17 Apr 2020 22:10:52 +0000 (22:10 +0000)]
Add icn-bluval-daily-master CI job

Creates icn-bluval-run-daily-tests template (based on ci-management)
which gets triggered by the new icn-bluval project definition.

To update an existing private Jenkins installation via JJB, run the
following upon download of the icn and ci-management repos:

$ jenkins-jobs test ci-management/jjb:icn/ci/jjb icn-bluval-daily-master
$ jenkins-jobs update ci-management/jjb:icn/ci/jjb icn-bluval-daily-master

Change-Id: I1e9a59e9e25458cc8f9bdc01ab05178529515cf3
Signed-off-by: Igor DC <igordcard@gmail.com>