icn.git
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 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>
4 years agoMinor bug fix in virtlet verifier script 03/3303/2
ramamani yeleswarapu [Mon, 23 Mar 2020 22:31:44 +0000 (15:31 -0700)]
Minor bug fix in virtlet verifier script

Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
Change-Id: Id02d8fd85c4b7795ed10a1877da2172130cbfdff

4 years agobug fix for baremetal operator 56/3456/7
r.kuralamudhan [Thu, 14 May 2020 19:47:04 +0000 (12:47 -0700)]
bug fix for baremetal operator

Fixes the following minor bugs:
- Fix the bpa restapi end2end testing
- Fix the dhcp start and reset timings
- Fix the cleanup scripts for docker

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

4 years agoAdd scripts for building Openness docker images 16/3316/3
ChenjieXu [Thu, 2 Apr 2020 08:05:55 +0000 (16:05 +0800)]
Add scripts for building Openness docker images

Add the scripts for building docker images for Openness EAA and
sample-app (producer and consumer). The producer and consumer
are used to verify the functionality of EAA.

Change-Id: I68bc23534f30971e9b9c1a7b8937bd744b97d336

4 years agoadding icn version fixes in metal3 vm 92/3392/1
Kuralamudhan Ramakrishnan [Tue, 28 Apr 2020 20:09:01 +0000 (20:09 +0000)]
adding icn version fixes in metal3 vm

- adding fixes for the ubuntu installation
- adding the version
- adding clean up for directory

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

4 years agoFixed Bug in KUD installer job 78/3378/2
Itohan Ukponmwan [Tue, 21 Apr 2020 20:25:38 +0000 (13:25 -0700)]
Fixed Bug in KUD installer job

Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I754664933def37da0f677b5a3bcd01f26a5c0831

4 years agoAutomation adds INFO.yaml 44/2144/4
LF Jenkins CI [Tue, 17 Dec 2019 19:07:39 +0000 (19:07 +0000)]
Automation adds INFO.yaml

Please amend this change.
Project lead must be extracted from commiter list and set properly.
https://docs.releng.linuxfoundation.org/en/latest/committer-management.html

Change-Id: I4a097678b1e49fc4528daa24f9aee55fb08135b6
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoadding version control for metal3 projects 12/3312/1
r.kuralamudhan [Tue, 31 Mar 2020 19:01:31 +0000 (12:01 -0700)]
adding version control for metal3 projects

Issue-ID: ICN-319
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@gmail.com>
Change-Id: I472eb01c85896a8f038411493273ba143ed710cc

4 years agoModify bpa-operator for nestedk8s 91/2291/4
ramamani yeleswarapu [Fri, 6 Mar 2020 20:15:09 +0000 (12:15 -0800)]
Modify bpa-operator for nestedk8s

Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
Change-Id: I062c57951f22fab0b369d0b1d9a8f2e4e7ce6379

4 years agoRevert "Modified BPA controller and fixed bugs" 18/3318/2
Kuralamudhan Ramakrishnan [Fri, 20 Mar 2020 21:36:20 +0000 (21:36 +0000)]
Revert "Modified BPA controller and fixed bugs"

This reverts commit b16212097874deafdd9e5959b43ac5fcb4ff9269.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I8a35ac5b1a5b799ecba84634abd8f68ed02ca930

4 years agoMerge "Modified BPA controller and fixed bugs"
Kuralamudhan Ramakrishnan [Fri, 20 Mar 2020 21:35:57 +0000 (21:35 +0000)]
Merge "Modified BPA controller and fixed bugs"

4 years agodisable the fast track in metal3 env 52/2252/1
r.kuralamudhan [Sat, 22 Feb 2020 07:23:02 +0000 (23:23 -0800)]
disable the fast track in metal3 env

Change-Id: I3488cd46bc27b731db343f9380ba9b353e2596d1

4 years agoModified BPA controller and fixed bugs 02/2202/1
Itohan [Fri, 17 Jan 2020 18:26:48 +0000 (10:26 -0800)]
Modified BPA controller and fixed bugs

- Added configmap to store mac addresses for provisioning CR
- Solved MAC address config issue in multiple provisioning CR
- Changed clientset to client
- Deleting provisioning CR deletes child resources
- Updating provisiong CR will restart KUD job and update
  IP address configmap and MAC address configmap

Issue-ID: ICN-187, ICN-173
Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I473dc3e9f03bfe70e4e289a7c9402ec7d910f2ab

4 years agoadding clean up script for nested k8s 45/2045/1 icn-v0.3.0
r.kuralamudhan [Mon, 25 Nov 2019 09:34:36 +0000 (09:34 +0000)]
adding clean up script for nested k8s

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

4 years agofix the kud bm deploy bug 44/2044/1
r.kuralamudhan [Sun, 24 Nov 2019 22:26:37 +0000 (22:26 +0000)]
fix the kud bm deploy bug

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

4 years agoAdd e2e script for Virtlet VM provisioning 65/1865/33
ramamani yeleswarapu [Mon, 28 Oct 2019 22:07:48 +0000 (15:07 -0700)]
Add e2e script for Virtlet VM provisioning

- Adds e2e script, provisioning cr yaml for testing
  Virtlet VM provisioning.
- Modifies Makefiles.
- Modifies kud_bm_launch.sh.

Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
Change-Id: I6a9714b3a5c2b7a71566ce854a7b8d52e637bb17

4 years agoadding bm launch 37/2037/3
r.kuralamudhan [Fri, 22 Nov 2019 04:52:07 +0000 (04:52 +0000)]
adding bm launch

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

4 years agoadding bpa restapi test in bm verify 36/2036/1
r.kuralamudhan [Thu, 21 Nov 2019 21:27:05 +0000 (13:27 -0800)]
adding bpa restapi test in bm verify

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

4 years agofixing restapi-agent e2e test 24/2024/2
r.kuralamudhan [Thu, 21 Nov 2019 04:49:17 +0000 (20:49 -0800)]
fixing restapi-agent e2e test

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

4 years agoadding bm verify 28/2028/1
r.kuralamudhan [Thu, 21 Nov 2019 05:29:19 +0000 (05:29 +0000)]
adding bm verify

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

4 years agoUpdated E2E test 09/2009/5
Itohan [Tue, 19 Nov 2019 23:24:39 +0000 (15:24 -0800)]
Updated E2E test

- Print out job pod logs in e2etest
- Build image for bmh_e2e

Change-Id: I7b5807804d33f40827284254ed23509690b0fc25

4 years agoAdd verify.sh for jenkins unit test 10/2010/1
chengli3 [Wed, 20 Nov 2019 01:52:25 +0000 (09:52 +0800)]
Add verify.sh for jenkins unit test

Change-Id: I86c7015ae14893466d1f910ae184434a22e4c2b8

4 years agoadding clean script for verifier 08/2008/5
r.kuralamudhan [Tue, 19 Nov 2019 15:26:59 +0000 (07:26 -0800)]
adding clean script for verifier

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

4 years agoAdded OVN and virtlet parameters to hosts.ini 76/1976/2
Itohan [Wed, 13 Nov 2019 23:44:53 +0000 (15:44 -0800)]
Added OVN and virtlet parameters to hosts.ini

Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I1958764aa77e0dc690d5cd1136db9e67119a2e01

4 years agoadding make option for unit testing 06/2006/2
r.kuralamudhan [Mon, 18 Nov 2019 23:38:38 +0000 (15:38 -0800)]
adding make option for unit testing

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

optimizing makefile

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

4 years agoFix source code clean up in Jenkins 00/2000/1
chengli3 [Tue, 19 Nov 2019 05:16:47 +0000 (13:16 +0800)]
Fix source code clean up in Jenkins

Change-Id: I900d8a108896334aca9a48ee8987c918463efe26
Signed-off-by: chengli3 <cheng1.li@intel.com>
4 years agoMerge "Add job bm_verify_nestedk8s"
Cheng Li [Tue, 19 Nov 2019 04:50:59 +0000 (04:50 +0000)]
Merge "Add job bm_verify_nestedk8s"

4 years agoadding bm clean up script 78/1978/1
r.kuralamudhan [Thu, 14 Nov 2019 05:43:57 +0000 (05:43 +0000)]
adding bm clean up script

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

4 years agoAdded onap4k8s KUD plugin to e2e bmh verifier 73/1973/2
Itohan [Wed, 13 Nov 2019 21:06:44 +0000 (13:06 -0800)]
Added onap4k8s KUD plugin to e2e bmh verifier

Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I9dbd9a43625b8dee4028ed66acbbecb9ae1ed365

4 years agoAdd job bm_verify_nestedk8s 64/1964/2
chengli3 [Wed, 13 Nov 2019 02:40:21 +0000 (10:40 +0800)]
Add job bm_verify_nestedk8s

Change-Id: I4b1c974aad6bd60c9c940315d4cbbaa5fa46f6ff
Signed-off-by: chengli3 <cheng1.li@intel.com>
4 years agoMerge "Added BMH e2e test and enabled kud plugins"
Kuralamudhan Ramakrishnan [Wed, 13 Nov 2019 04:09:04 +0000 (04:09 +0000)]
Merge "Added BMH e2e test and enabled kud plugins"

4 years agoMerge "refactoring metal3 code"
Kuralamudhan Ramakrishnan [Wed, 13 Nov 2019 04:02:40 +0000 (04:02 +0000)]
Merge "refactoring metal3 code"

4 years agorefactoring metal3 code 65/1965/1
r.kuralamudhan [Wed, 13 Nov 2019 03:59:09 +0000 (03:59 +0000)]
refactoring metal3 code

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

4 years agoAdded BMH e2e test and enabled kud plugins 53/1953/7
Itohan [Tue, 12 Nov 2019 00:23:34 +0000 (16:23 -0800)]
Added BMH e2e test and enabled kud plugins

Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I8ed9607b3ae743368b3de8400dba835dc586231a

4 years agoAdd job for bm deployment 40/1940/2
chengli3 [Fri, 8 Nov 2019 06:27:10 +0000 (14:27 +0800)]
Add job for bm deployment

Change-Id: Id2ae36f0e8cca73d1fd42f8654cc69bf63761d8d
Signed-off-by: chengli3 <cheng1.li@intel.com>
4 years agoadding bm verifier 38/1938/1
r.kuralamudhan [Fri, 8 Nov 2019 00:18:56 +0000 (00:18 +0000)]
adding bm verifier

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

4 years agoBPA-RESTful_API uninstall script 37/1937/1
enyinna1234 [Thu, 7 Nov 2019 22:22:31 +0000 (14:22 -0800)]
BPA-RESTful_API uninstall script

Adds an uninstall script that removes the BPA-RESTful-API
Kubernetes and docker components - roles, services, deployments,
serviceaacount, persistent volume (pv), pv claim, and images.

Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Change-Id: Id60efa66887e59f5f8f867a0d1f04c5d9290f408

4 years agoAdd verify_nestedk8s job 68/1868/3
chengli3 [Tue, 29 Oct 2019 01:59:59 +0000 (09:59 +0800)]
Add verify_nestedk8s job

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: Iec1e1b47a00097cee9b1a2d1ee596c5a0e288dfd

4 years agocleaning metal3 logs 92/1892/4
r.kuralamudhan [Thu, 31 Oct 2019 23:24:06 +0000 (23:24 +0000)]
cleaning metal3 logs

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

4 years agoReliable volume for minio server and e2e support 84/1884/7
Chen, Tingjie [Tue, 22 Oct 2019 16:28:40 +0000 (16:28 +0000)]
Reliable volume for minio server and e2e support

1. Add E2E test for MinIO Server side, since the image upload to
MinIO Server and we need to check the actual size of the object
in MinIO Server, after PATCH operations, check the object size
with REST parameters with image size.

2. Fix an issue for MinIO Service, in the install.sh of MinIO
Server, the minio-service.yaml need to be created and then we
can get the Endpoint IP for Minio client operations.

3. Reliable Volume implementation, which use Ceph CSI to provide
Ceph RBD Volume to export by MinIO. But this feature is NOT enabled
yet, and NO impact for current local volume, since there are some
other changes since I saw REST API Agent service also use the volume
with MinIO, this feature can be enable in next release.

4. Add uninstall script to clean the Storageclass/PV/PVC and other
resources in MinIO Server deloyment.

Change-Id: I17250be6ee1d64b98ad789673621f2f2e0009c3e
Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
4 years agoRefactors unit test code 93/1893/1
enyinna1234 [Fri, 1 Nov 2019 00:31:12 +0000 (17:31 -0700)]
Refactors unit test code

- Removes OS functions from the Utility interface - /image.go
- Adds BPA_REST_API unit test Makefile recipe
- Removed vendor binary

Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Change-Id: I59696b70a9e5bca9aba70e51e385a2a78d21c760

4 years agoAdded bpa_op_unit to make file 90/1890/1
Itohan [Thu, 31 Oct 2019 20:14:44 +0000 (13:14 -0700)]
Added bpa_op_unit to make file

- Added kud image build to bpa_op_install

Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: Ie86e1a4141e4eed23e353ccedbf89c1aaf732ab5

4 years agoRefactored BPA controller code for better testing 75/1875/3
Itohan [Tue, 29 Oct 2019 22:53:22 +0000 (15:53 -0700)]
Refactored BPA controller code for better testing

- Added unit test for provisiong_controller_test.go
- Modified provisioning_controller.go for better testing
- Updated vendor directory
- Updated bpa operator Makefile and icn Makefile
- Update E2E test script and renamed to bpa_verifier.sh

Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I5a1135536f6f299894becd1554925c465fc2c86d

4 years agoAdds unit tests and K8s artifacts 53/1753/21
enyinna1234 [Wed, 9 Oct 2019 17:18:22 +0000 (10:18 -0700)]
Adds unit tests and K8s artifacts

This adds unit tests, a Kubernetes Service, and
Deployment to create objects that enable the RESTful API as
a Kubenetes service, and adds end to end testing.

Change-Id: I0439ff51931ac0abe7c5bff8b7d75e8ced19a06f
Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>