icn.git
2 years agoMake userData optional in cluster chart 62/4562/1
Todd Malsbary [Mon, 13 Dec 2021 20:33:46 +0000 (12:33 -0800)]
Make userData optional in cluster chart

The userData may be specified completely by the machine chart.

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

2 years agoAllow overriding of nodes.json location 61/4561/1
Todd Malsbary [Fri, 19 Nov 2021 23:27:06 +0000 (15:27 -0800)]
Allow overriding of nodes.json location

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

2 years agoAdd pod11 site definition 52/4552/4
Todd Malsbary [Thu, 9 Dec 2021 00:56:13 +0000 (16:56 -0800)]
Add pod11 site definition

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

2 years agoFlux install of compute cluster 50/4550/8
Todd Malsbary [Fri, 3 Dec 2021 00:17:57 +0000 (16:17 -0800)]
Flux install of compute cluster

This includes SOPS encryption of BMC and cluster secrets.

NOTE: Keys are included in this commit.  These are only intended to be
used in this ICN virtual environment for testing and demonstration
purposes.

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

2 years agoUpdate README.md for CAPI install 55/4555/2
Todd Malsbary [Wed, 1 Dec 2021 17:35:51 +0000 (09:35 -0800)]
Update README.md for CAPI install

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

2 years agoNetwork slicing Demo 57/4557/1
palaniap [Fri, 10 Dec 2021 14:12:50 +0000 (06:12 -0800)]
Network slicing Demo

Added Readme to point the network slicing demo to another repo.

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

2 years agoMerge "Move e2etest cluster resources to parent directory"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 21:13:39 +0000 (21:13 +0000)]
Merge "Move e2etest cluster resources to parent directory"

2 years agoMerge "Eliminate warning about apt stable CLI interface"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 21:12:58 +0000 (21:12 +0000)]
Merge "Eliminate warning about apt stable CLI interface"

2 years agoInstall flux into jump server 49/4549/1
Todd Malsbary [Fri, 3 Dec 2021 00:26:17 +0000 (16:26 -0800)]
Install flux into jump server

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

2 years agoMove e2etest cluster resources to parent directory 48/4548/1
Todd Malsbary [Fri, 3 Dec 2021 00:31:03 +0000 (16:31 -0800)]
Move e2etest cluster resources to parent directory

This will allow the resources to be shared among sites.

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

2 years agoMerge "Increase robustness of control plane wait"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 19:18:11 +0000 (19:18 +0000)]
Merge "Increase robustness of control plane wait"

2 years agoMerge "Fix cluster chart for single-node cluster"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 19:17:55 +0000 (19:17 +0000)]
Merge "Fix cluster chart for single-node cluster"

2 years agoMerge "Create namespace outside of HelmRelease"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 19:17:37 +0000 (19:17 +0000)]
Merge "Create namespace outside of HelmRelease"

2 years agoMerge "Increase provisioning timeout for HA VM testing"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 19:17:22 +0000 (19:17 +0000)]
Merge "Increase provisioning timeout for HA VM testing"

2 years agoMerge "Add missing kubelet config to HA control plane"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 19:16:59 +0000 (19:16 +0000)]
Merge "Add missing kubelet config to HA control plane"

2 years agoEliminate warning about apt stable CLI interface 47/4547/1
Todd Malsbary [Thu, 2 Dec 2021 19:16:53 +0000 (11:16 -0800)]
Eliminate warning about apt stable CLI interface

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

2 years agoIncrease robustness of control plane wait 46/4546/1
Todd Malsbary [Thu, 2 Dec 2021 18:30:16 +0000 (10:30 -0800)]
Increase robustness of control plane wait

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

2 years agoFix cluster chart for single-node cluster 45/4545/1
Todd Malsbary [Thu, 2 Dec 2021 18:29:14 +0000 (10:29 -0800)]
Fix cluster chart for single-node cluster

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

2 years agoCreate namespace outside of HelmRelease 44/4544/1
Todd Malsbary [Wed, 1 Dec 2021 22:53:36 +0000 (14:53 -0800)]
Create namespace outside of HelmRelease

An attempt to rollback a Helm release installed via Flux showed that
the targetNamespace was not working as expected: the helm CLI only
operated in the namespace of the HelmRelease resource, not the
targetNamespace.

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

2 years agoIncrease provisioning timeout for HA VM testing 43/4543/1
Todd Malsbary [Wed, 1 Dec 2021 19:28:23 +0000 (11:28 -0800)]
Increase provisioning timeout for HA VM testing

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

2 years agoAdd missing kubelet config to HA control plane 42/4542/1
Todd Malsbary [Wed, 1 Dec 2021 19:26:59 +0000 (11:26 -0800)]
Add missing kubelet config to HA control plane

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

2 years agoUse BUILDDIR instead of relative path in script 41/4541/1
Todd Malsbary [Mon, 29 Nov 2021 22:41:16 +0000 (14:41 -0800)]
Use BUILDDIR instead of relative path in script

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

2 years agoReduce machine, cluster charts to single instances 40/4540/1
Todd Malsbary [Fri, 19 Nov 2021 17:01:22 +0000 (09:01 -0800)]
Reduce machine, cluster charts to single instances

The prior versions of the chart allow defining multiple instances of
machines and clusters to be defined in a single release of the chart.
This change now requires that each instance be defined as a unique
release.  While slightly more verbose intially, this simplifies
documentation and allows default values to be provided in a sensible
way.

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

2 years agoMerge "Fix typo in Vagrantfile post up instructions"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 00:28:42 +0000 (00:28 +0000)]
Merge "Fix typo in Vagrantfile post up instructions"

2 years agoMerge "Temporarily remove kubevirt from addons self-test"
Kuralamudhan Ramakrishnan [Tue, 7 Dec 2021 00:28:23 +0000 (00:28 +0000)]
Merge "Temporarily remove kubevirt from addons self-test"

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