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

3 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>
3 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

3 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

3 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>
3 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

3 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

3 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>
3 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

3 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

3 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>
4 years agoMerge "Exclude vendor directory and ignore several err"
Cheng Li [Wed, 30 Oct 2019 23:03:39 +0000 (23:03 +0000)]
Merge "Exclude vendor directory and ignore several err"

4 years agoKuD test should be enabled only in aio deployment. 83/1883/2
Akhila Kishore [Wed, 30 Oct 2019 21:24:47 +0000 (14:24 -0700)]
KuD test should be enabled only in aio deployment.

KuD tests is set to false by default. The testing should
be enabled only when the deployment is an all-in-one kind.

Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Change-Id: Ib876dcb68a3216df4b318d804865fbf275cd7331

4 years agoAdd SDWAN build and test script 69/1869/8
hle2 [Tue, 29 Oct 2019 02:45:06 +0000 (10:45 +0800)]
Add SDWAN build and test script

Signed-off-by: hle2 <huifeng.le@intel.com>
Change-Id: I9cd855dc2361d28cb2b5669b4631f86577026fc3

4 years agoExclude vendor directory and ignore several err 78/1878/2
chengli3 [Wed, 30 Oct 2019 14:22:58 +0000 (22:22 +0800)]
Exclude vendor directory and ignore several err

Change-Id: Ic6cf693d02a4a0885143c51c7ebfae1c7ff07f3f

4 years agoupdate metal3 scripts 76/1876/4
r.kuralamudhan [Wed, 30 Oct 2019 06:15:21 +0000 (06:15 +0000)]
update metal3 scripts

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

4 years agochanges in kud_bm_launch.sh 67/1867/1
r.kuralamudhan [Tue, 29 Oct 2019 00:52:35 +0000 (00:52 +0000)]
changes in kud_bm_launch.sh

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

4 years agoadding virtlet changes in Makefile 64/1864/1
r.kuralamudhan [Mon, 28 Oct 2019 21:12:32 +0000 (21:12 +0000)]
adding virtlet changes in Makefile

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

4 years agoadding metal3 vm verifier 54/1854/6
r.kuralamudhan [Mon, 28 Oct 2019 05:33:56 +0000 (22:33 -0700)]
adding metal3 vm verifier

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

4 years agoIncrease vagrant VM size and fix shel indent 58/1858/1
chengli3 [Mon, 28 Oct 2019 06:52:54 +0000 (14:52 +0800)]
Increase vagrant VM size and fix shel indent

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

4 years agoAllow running multiple jobs 48/1848/1
chengli3 [Fri, 25 Oct 2019 09:28:47 +0000 (17:28 +0800)]
Allow running multiple jobs

The Vm created by vagrant has the same name. So we add a random suffix
to alllow running multiple jobs.

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: I8adfba55192f7a965c4a4a18277a6c747fd7514c
(cherry picked from commit 08cbe6395d795c3964b618abe0720b76d883d8d0)

4 years agoInstall private jenkins for CD jobs 47/1847/1
chengli3 [Thu, 24 Oct 2019 10:44:36 +0000 (18:44 +0800)]
Install private jenkins for CD jobs

This patch is to create ansible playbook for jenkins installation.
The private jenkins is for CD jobs. So it needs vagrant/libvirt to
create VMs.

Also this patch covers the jjb scripts.

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: I5a2f050a269842aa9cb6258c0039ae2573553087
(cherry picked from commit 3890c6760c2e980dcd95fd04f16e956cffae1b0e)

4 years agoAdding k8s cluster for the CD 45/1845/1
r.kuralamudhan [Thu, 24 Oct 2019 15:59:51 +0000 (08:59 -0700)]
Adding k8s cluster for the CD

Change-Id: I070fbd128f08cda702a7b5c88d57219055759f00
Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com>
4 years agochanges to Makefile - adding CD testing log 42/1842/1
Kuralamudhan Ramakrishnan [Wed, 23 Oct 2019 01:37:09 +0000 (18:37 -0700)]
changes to Makefile - adding CD testing log

Change-Id: I6e04a383335adeb3e3b377c7119756925c614e77
Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com>
4 years agoAdded e2e scripts and modified Makefile 38/1838/1
Itohan [Tue, 15 Oct 2019 20:46:42 +0000 (13:46 -0700)]
Added e2e scripts and modified Makefile

- Fixed Bug in Makefile and operator.yaml
- Added bpa delete option to Makefile
- Added e2e test and bpa_op verifier
- Added e2e testing files

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

4 years agoAdd 'jobs' resource to role.yaml 37/1837/1
ramamani yeleswarapu [Tue, 15 Oct 2019 22:37:56 +0000 (15:37 -0700)]
Add 'jobs' resource to role.yaml

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

4 years agoUpdate deploy/crds for provisioning Virtlet VMs 36/1836/1
ramamani yeleswarapu [Tue, 15 Oct 2019 23:20:10 +0000 (16:20 -0700)]
Update deploy/crds for provisioning Virtlet VMs

Updates deploy/crds with sample provisioning CRs for Virtlet VMs.

Adds a Flannel network attachment definition for VMs and
a sample virtlet deployment yaml to deploy.

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

4 years agoAdd support for provisioning Virtlet VMs in BPA 35/1835/1
ramamani yeleswarapu [Tue, 15 Oct 2019 22:56:07 +0000 (15:56 -0700)]
Add support for provisioning Virtlet VMs in BPA

Adds code to list Virtlet VMs and check mac addresses of running VMs
to create hosts.ini for a VM cluster.

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

4 years agoCode refactoring for bpa operator 34/1834/1
Itohan [Tue, 20 Aug 2019 20:18:36 +0000 (13:18 -0700)]
Code refactoring for bpa operator

- Added bpa operator deployment yaml
- Added Makefile for bpa operator
- Added dhcp deployment
- Added dhcp configuration for the configuration script
- Added Code to create job for KUD install
- Added Software CR API
- Added code to install software in cluster using software CR

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

4 years agoAdd bashate verification and fix shell errors 95/1795/2
chengli3 [Thu, 17 Oct 2019 04:53:09 +0000 (12:53 +0800)]
Add bashate verification and fix shell errors

This patch is to add bashate verification. The verification ignores line
too line error. To ensure the test pass, I also fix the shell errors
reported by bashate:
1. delete line ending spaces
2. avoid 'do' in a single line
3. ensure indent is multiple of 4
4. fix function declare
...

Change-Id: Id7112f898a9c56048801455696d32266d9deb19f
Signed-off-by: chengli3 <cheng1.li@intel.com>
4 years agoAdding TLS authentication 15/1715/1
enyinna1234 [Fri, 13 Sep 2019 00:13:40 +0000 (17:13 -0700)]
Adding TLS authentication

This creates auth.go and adds tls authentication to main.go.
Also, containerization is introduced using Dockerfile.
It also fixes patch 1431 revert issues

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

4 years agoAdd the script for Jenkins setup 14/1714/1
chengli3 [Mon, 9 Sep 2019 02:17:14 +0000 (10:17 +0800)]
Add the script for Jenkins setup

This patch is to add the script/ansible_playbook for Jenkins setup:
1. Setup jenkins server by leverage jenkins role from galaxy
2. Add akraino gerrit server to gerrit list
3. Add pipeline job for ICN CI check

Change-Id: I2baf2a35ba246faab8a7be599af7bd5b2123dd79

4 years agoAdd the initial Jenkinsfile for test purpose 13/1713/1
chengli3 [Fri, 20 Sep 2019 03:11:28 +0000 (11:11 +0800)]
Add the initial Jenkinsfile for test purpose

Change-Id: Iff077dd1cdc1142d9354cf86e65015e18071bba6

4 years agoImplement MinIO as cloud storage for RESTAPI agent 12/1712/1
Chen, Tingjie [Tue, 27 Aug 2019 07:38:45 +0000 (07:38 +0000)]
Implement MinIO as cloud storage for RESTAPI agent

Current support with patchHandler, since MinIO support multipart upload
and resumable download, it is no need to add special implementation
with tus protocol for resumable upload on cloud storage.

Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
Change-Id: I0e928d3401168ea946b5d6790312842e0a54784d

4 years agoRevert "Patch 1431" 11/1711/1
Enyinna Ochulor [Mon, 16 Sep 2019 18:45:29 +0000 (18:45 +0000)]
Revert "Patch 1431"

This reverts commit 316f4dbb4033cf3278880bd0661fbe8533621a40.

Change-Id: Iea85ba5083b26f2e75ca7aee5eeed3d6bc4e79a4

4 years agoAdd MinIO Server with Kubernetes deployment 10/1710/1
Chen, Tingjie [Mon, 16 Sep 2019 14:03:07 +0000 (14:03 +0000)]
Add MinIO Server with Kubernetes deployment

Since Local controller support one node only, deploy standalone mode.
Using local persistent volume instead of hostpath.

Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
Change-Id: I91eaa7c14fdd112a8232e655b571ddeddfe5ccec

4 years agoImplementing image update inside patchHandler 31/1431/2 abandoned dev/icn-v0.1.0
enyinna1234 [Mon, 19 Aug 2019 23:47:30 +0000 (16:47 -0700)]
Implementing image update inside patchHandler

This updates the README, deletes file from file system
after DELETE, and does some refactoring.

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

4 years agoMerge "Add script for usb bootable support" into dev/icn-v0.1.0
Cheng Li [Mon, 19 Aug 2019 04:16:15 +0000 (04:16 +0000)]
Merge "Add script for usb bootable support" into dev/icn-v0.1.0