multicloud/k8s.git
2 years agoFixed issue of leftovers after instace create failure 06/123206/1
Lukasz Rajewski [Mon, 9 Aug 2021 20:44:48 +0000 (22:44 +0200)]
Fixed issue of leftovers after instace create failure

Fixed issue of leftovers after instace create failure

Issue-ID: MULTICLOUD-1269
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I69b4a170d72a482f29fd79ecdfc949f55c70a61a

2 years agoMerge "Update k8splugin snapshot image"
Ritu Sood [Fri, 6 Aug 2021 19:28:38 +0000 (19:28 +0000)]
Merge "Update k8splugin snapshot image"

2 years agoUpdate k8splugin snapshot image 71/123171/1
Lukasz Rajewski [Fri, 9 Apr 2021 12:25:30 +0000 (14:25 +0200)]
Update k8splugin snapshot image

Update image version of k8splugin to 0.9.1-SNAPSHOT

Issue-ID: MULTICLOUD-1294
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I9c8f9b77163edaf798a2fdafbd115aa9fa34be80

2 years agoAdd k8splugin releases file for 0.9.0 70/123170/1
Lukasz Rajewski [Thu, 5 Aug 2021 21:38:48 +0000 (23:38 +0200)]
Add k8splugin releases file for 0.9.0

Add k8splugin releases file for 0.9.0

Issue-ID: MULTICLOUD-1345
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: Ic5e476a498983027350a22019e36108402c20efd

2 years agoOptimized status discovery 68/123168/1 0.9.0
Lukasz Rajewski [Fri, 6 Aug 2021 14:43:32 +0000 (16:43 +0200)]
Optimized status discovery

Optimized status discovery

Issue-ID: MULTICLOUD-1372
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I854bc88676f4bc3b5f35e8a303d94603ce61a91d

2 years agoFixed issue in Status handler 64/123164/1
Lukasz Rajewski [Fri, 6 Aug 2021 12:49:29 +0000 (14:49 +0200)]
Fixed issue in Status handler

Fixed issue in Status handler when reading status of
not ready resource

Issue-ID: MULTICLOUD-1372
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I3739bb30a7ab28f6bb4b6648c522bddee37db96b

2 years agoUpdate status check endpoint  17/123117/3
hthieu [Wed, 4 Aug 2021 17:50:24 +0000 (19:50 +0200)]
Update status check endpoint 

 
Update status check endpoint to use helm (3.5) official implementation of resource status check.
Move utils to new module and update import.

Issue-ID: MULTICLOUD-1372
Signed-off-by: hthieu <huu_trung.thieu@nokia-bell-labs.com>
Change-Id: I57a827d09466f5f554c89c2fa5533696285f9c37

2 years agoMerge "Add suport for query api on root level"
Lukasz Rajewski [Mon, 2 Aug 2021 22:21:17 +0000 (22:21 +0000)]
Merge "Add suport for query api on root level"

2 years agoAdd suport for query api on root level 23/123023/2
Lukasz Rajewski [Sun, 1 Aug 2021 19:01:44 +0000 (21:01 +0200)]
Add suport for query api on root level

Add suport for query api on root level. Instance
query handler and root query handler merged.

Issue-ID: MULTICLOUD-1379
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I1dc95c7aca0e734edf5794e7c36143dc12070f2b

2 years agoConfig List handler added to Config API 44/123044/2
Lukasz Rajewski [Mon, 2 Aug 2021 20:15:35 +0000 (22:15 +0200)]
Config List handler added to Config API

Config List handler added to Config API

Issue-ID: MULTICLOUD-1332
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I63355dd6b05e70398cfc89744efa332926286c40

2 years agoMerge "Update EMCO playbook to 21.03.06"
Ritu Sood [Thu, 29 Jul 2021 16:33:02 +0000 (16:33 +0000)]
Merge "Update EMCO playbook to 21.03.06"

2 years agoMerge "Add kubevirt to list of EMCO deployed addons"
Ritu Sood [Thu, 29 Jul 2021 16:32:01 +0000 (16:32 +0000)]
Merge "Add kubevirt to list of EMCO deployed addons"

2 years agoFix of release name for config 69/122969/1
Lukasz Rajewski [Thu, 29 Jul 2021 14:42:45 +0000 (16:42 +0200)]
Fix of release name for config

Fix of release name for config. It is taken now from
the instance first, and then from the profile.

Issue-ID: MULTICLOUD-1379
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I3bd41a1e51abf6326de1eda42361782bea3147b2

2 years agoAdd kubevirt to list of EMCO deployed addons 37/122937/1
Todd Malsbary [Mon, 7 Jun 2021 19:44:48 +0000 (12:44 -0700)]
Add kubevirt to list of EMCO deployed addons

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I5e2c2ebe5af7ee86cc213f0861516664cf4399a7

2 years agoUpdate EMCO playbook to 21.03.06 36/122936/1
Todd Malsbary [Thu, 22 Jul 2021 17:58:56 +0000 (10:58 -0700)]
Update EMCO playbook to 21.03.06

Issue-ID: MULTICLOUD-1376
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I91422116714e16f520ed37bd00185383b01d41aa

2 years agoChange rb-definition-version identifier 32/122832/1
Lukasz Rajewski [Fri, 23 Jul 2021 09:58:03 +0000 (11:58 +0200)]
Change rb-definition-version identifier

rb-definition-version identifier was changed
to vf-omdule-model-customization-uuid to enable
vf-module model update scenarios

Issue-ID: MULTICLOUD-1377
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I2877d9c282abcdbad14f4120e5e67f8c5e5d3e59

2 years agoUpdate KUD to python3 65/122665/5
Todd Malsbary [Thu, 8 Jul 2021 21:04:20 +0000 (14:04 -0700)]
Update KUD to python3

Issue-ID: MULTICLOUD-1375
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I0433a55ef2ac9caba976a267fa9e1f41d5353248

2 years agoUpdate project committers info 79/122479/1
Bin Yang [Wed, 7 Jul 2021 06:57:14 +0000 (14:57 +0800)]
Update project committers info

Issue-ID: MULTICLOUD-1374

Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I8010f3dffdc6f79151c4ad4de845b71bead0b9ce

2 years agoFix error when attempting to remove missing webhook 00/122300/2
Todd Malsbary [Mon, 28 Jun 2021 19:54:46 +0000 (12:54 -0700)]
Fix error when attempting to remove missing webhook

Issue-ID: MULTICLOUD-1370
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: If3b71f64b5994bbe6bd68e2b620452f4081cd705

2 years agoMerge "Add ovn4nfv-network addon"
Ritu Sood [Wed, 30 Jun 2021 18:57:08 +0000 (18:57 +0000)]
Merge "Add ovn4nfv-network addon"

2 years agoUpdate python version used in KUD installers to python3 79/122279/2
Todd Malsbary [Fri, 25 Jun 2021 23:42:58 +0000 (16:42 -0700)]
Update python version used in KUD installers to python3

A dependency of kubespray-2.14 now requires python3.  Specifically,
ruamel.yaml now fetches ruamel.yaml.clib-0.2.4 whereas it used to
fetch ruamel.yaml.clib-0.2.2.  The 0.2.4 requires python 3.5 or
greater.

Issue-ID: MULTICLOUD-1369
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia362d5adfbe6e08750b493dbceea17df640f26ed

2 years agoAdd ovn4nfv-network addon 94/122194/1
Todd Malsbary [Fri, 18 Jun 2021 23:05:20 +0000 (16:05 -0700)]
Add ovn4nfv-network addon

This chart contains the ovn-networkobj NetworkAttachmentDefinition
required by EMCO.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Iaf10bacaf7ff263b165ca18a427958f7e75c3628

2 years agoAdd kubevirt test 24/121724/10
Todd Malsbary [Mon, 8 Feb 2021 23:19:20 +0000 (15:19 -0800)]
Add kubevirt test

Some minor refactoring of _functions.sh was done to allow setup and
related functions to use the "vmi" resource type in addition to the
"deployment" type.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I42b5ef1c48412675a095f2aab68a0efdfdbe0df9

2 years agoMerge "Move topology-manager configuration to kubespray"
Eric Multanen [Thu, 24 Jun 2021 20:50:20 +0000 (20:50 +0000)]
Merge "Move topology-manager configuration to kubespray"

2 years agoMerge "Remove warning displayed from ssh commands in baremetal test"
Eric Multanen [Thu, 24 Jun 2021 20:47:56 +0000 (20:47 +0000)]
Merge "Remove warning displayed from ssh commands in baremetal test"

2 years agoMerge "Fix jq null error in tests"
Eric Multanen [Thu, 24 Jun 2021 20:47:20 +0000 (20:47 +0000)]
Merge "Fix jq null error in tests"

2 years agoMerge "Replace curl in plugin_fw_v2.sh with emcoctl"
Eric Multanen [Thu, 24 Jun 2021 20:46:25 +0000 (20:46 +0000)]
Merge "Replace curl in plugin_fw_v2.sh with emcoctl"

2 years agoMerge "Refactor EMCO deploy of addons"
Eric Multanen [Thu, 24 Jun 2021 20:45:24 +0000 (20:45 +0000)]
Merge "Refactor EMCO deploy of addons"

2 years agoMerge "Add kubevirt and cdi addon helm charts"
Eric Multanen [Thu, 24 Jun 2021 20:39:22 +0000 (20:39 +0000)]
Merge "Add kubevirt and cdi addon helm charts"

2 years agoMerge "The sink app needs the CAP_NET_RAW capability"
Eric Multanen [Thu, 24 Jun 2021 20:35:52 +0000 (20:35 +0000)]
Merge "The sink app needs the CAP_NET_RAW capability"

2 years agoMerge "Let kubespray choose installed docker version"
Eric Multanen [Thu, 24 Jun 2021 20:34:32 +0000 (20:34 +0000)]
Merge "Let kubespray choose installed docker version"

2 years agoRemove warning displayed from ssh commands in baremetal test 85/122085/1
Todd Malsbary [Mon, 21 Jun 2021 19:13:29 +0000 (12:13 -0700)]
Remove warning displayed from ssh commands in baremetal test

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: If2845857cd72768b0a1c6cf3831e64f3dc412ebf

2 years agoMove topology-manager configuration to kubespray 56/122056/2
Todd Malsbary [Fri, 18 Jun 2021 00:10:38 +0000 (17:10 -0700)]
Move topology-manager configuration to kubespray

The steps performed by the existing ansible playbook can be
performed directly by kubespray.  In addtion, fix and enable the
topology-manager.sh test.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Iee2197c1fc3e35288796399cccff0d3ae0925a6c

2 years agoFix jq null error in tests 33/122033/1
Todd Malsbary [Fri, 18 Jun 2021 00:06:58 +0000 (17:06 -0700)]
Fix jq null error in tests

The specific error is:
  jq: error (at <stdin>:1232): null (null) cannot be parsed as a
  number

Issue-ID: MULTICLOUD-1361
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I1821e5002260cd65ac467756753e2a2ffa01a4ce

2 years agoReplace curl in plugin_fw_v2.sh with emcoctl 98/121998/1
Todd Malsbary [Wed, 16 Jun 2021 17:05:39 +0000 (10:05 -0700)]
Replace curl in plugin_fw_v2.sh with emcoctl

Issue-ID: MULTICLOUD-1360
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Iac32b8a1551253302134ad34b829ea9aa578ff8e

2 years agoSDEWAN CNF helm chart 36/109436/19
Yao Le [Tue, 23 Jun 2020 10:19:07 +0000 (18:19 +0800)]
SDEWAN CNF helm chart

Create SDEWAN CNF helm chart and configure it with default value

Issue-ID: MULTICLOUD-1092
Signed-off-by: Yao Le <le.yao@intel.com>
Change-Id: Ib80e6b734c599a91f90d2fa4c32b098d6d279c0b
Signed-off-by: Ruoyu <ruoyu.ying@intel.com>
2 years agoAdd kubevirt and cdi addon helm charts 23/121723/4
Todd Malsbary [Fri, 4 Jun 2021 21:24:56 +0000 (14:24 -0700)]
Add kubevirt and cdi addon helm charts

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I6ba134140f0aca6717c656ffa35c6576426a8b98

2 years agoRefactor EMCO deploy of addons 71/121671/3
Todd Malsbary [Wed, 2 Jun 2021 23:31:22 +0000 (16:31 -0700)]
Refactor EMCO deploy of addons

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I90b33cd99c42017b50f3174b6f9033a861e11dd3

2 years agoLet kubespray choose installed docker version 28/121728/1
Todd Malsbary [Mon, 7 Jun 2021 20:09:42 +0000 (13:09 -0700)]
Let kubespray choose installed docker version

Specifying 'latest' as the docker_version without specifying a
compatible version of containerd can lead to package dependency
errors.  Let kubespray select the versions to ensure consistency.

Also, installing docker from vagrant installer instead of letting
kubespray install it can lead to the same issues.

Issue-ID: MULTICLOUD-1359
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Iff41682fa0897fae8200e0f179137af844e314c0

2 years agoThe sink app needs the CAP_NET_RAW capability 94/121694/2
Todd Malsbary [Fri, 4 Jun 2021 00:05:16 +0000 (17:05 -0700)]
The sink app needs the CAP_NET_RAW capability

The CAP_NET_RAW capability is not available with the default
PodSecurityPolicy.  Create a service account and role binding to the
privileged policy and specify the sink to use it.

Issue-ID: MULTICLOUD-1310
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ib00ee1e8797d497d024a167fc9a0336d4c2a7ae1

2 years agoExpose installer ENV vars through Dockerfile 11/121711/1
Todd Malsbary [Fri, 4 Jun 2021 19:56:31 +0000 (12:56 -0700)]
Expose installer ENV vars through Dockerfile

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ie913d3f26d039fae0bff98149ebe0a6e6dea2ebd

2 years agoMerge "Exit cmk test script on error"
Ritu Sood [Fri, 21 May 2021 00:23:45 +0000 (00:23 +0000)]
Merge "Exit cmk test script on error"

2 years agoMerge "Mount /var/run as shared"
Ritu Sood [Fri, 21 May 2021 00:23:17 +0000 (00:23 +0000)]
Merge "Mount /var/run as shared"

2 years agoAdded initial kata files and containerd support as well as adding the Kata webhook 75/119875/10
Eric Adams [Thu, 14 Jan 2021 22:34:54 +0000 (22:34 +0000)]
Added initial kata files and containerd support as well as adding the Kata webhook

Issue-ID: MULTICLOUD-1320
Signed-off-by: Eric Adams <eric.adams@intel.com>
Change-Id: I9ef0bcde7c2ef22a04c32311d4571abc3b688ffe

2 years agoMount /var/run as shared 27/121427/1
Todd Malsbary [Tue, 18 May 2021 22:16:03 +0000 (15:16 -0700)]
Mount /var/run as shared

This fixes the "unknown FS magic" error reported by nfn-agent:

  E0518 22:05:58.596460 20593 cni.go:150] Failed to configure
  interface in pod: failed to open netns
  "/var/run/netns/cni-c24e4d8e-819c-6a0c-9ae5-6b4e5cf8f68d": unknown
  FS magic on
  "/var/run/netns/cni-c24e4d8e-819c-6a0c-9ae5-6b4e5cf8f68d": 1021994

It can be observed as a failure of the ovn4nfv.sh test when
CONTAINER_RUNTIME is "containerd".

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: If979110d125511827a65a5de5101a2832d5efeb5

3 years agoMerge "EMCO deploy of addons"
Ritu Sood [Mon, 10 May 2021 21:25:48 +0000 (21:25 +0000)]
Merge "EMCO deploy of addons"

3 years agoUpdate go_version from 1.12 to 1.14. 97/121197/1
Todd Malsbary [Fri, 7 May 2021 20:03:24 +0000 (13:03 -0700)]
Update go_version from 1.12 to 1.14.

Go reports a missing crypto/ed25519 module when running the vagrant
installer with KUD_PLUGIN_ENABLED.  The package was introduced in go
1.13 (https://golang.org/doc/go1.13#crypto/ed25519).

Issue-ID: MULTICLOUD-1343
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I2fdd06b67122506308038be0fe6b00a2e737f0f0

3 years agoEMCO deploy of addons 44/120244/8
Todd Malsbary [Fri, 26 Mar 2021 21:17:49 +0000 (14:17 -0700)]
EMCO deploy of addons

An example is provided with instructions on how to install the addons
with emcoctl.  Addtionally, the containerized installer will populate
/opt/kud/addons and /opt/kud/multi-cluster/$CLUSTER_NAME/artifacts
with the files and instructions necessary as well.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I74de1c9d18a0aaec4a96e38684ec80f00ab0b940

3 years agoMerge "Remove unused deployments/helm/v2/emco"
Ritu Sood [Fri, 7 May 2021 00:51:53 +0000 (00:51 +0000)]
Merge "Remove unused deployments/helm/v2/emco"

3 years agoMerge "Replace emco with openness-21.03 release"
Ritu Sood [Fri, 7 May 2021 00:51:48 +0000 (00:51 +0000)]
Merge "Replace emco with openness-21.03 release"

3 years agoMerge "DeletePropagationPolicy changed to background"
Ritu Sood [Thu, 6 May 2021 16:57:05 +0000 (16:57 +0000)]
Merge "DeletePropagationPolicy changed to background"

3 years agoAdd qat addon helm chart 37/120037/6
Todd Malsbary [Wed, 24 Mar 2021 23:02:08 +0000 (16:02 -0700)]
Add qat addon helm chart

This chart contains the upstream qat plugin from
intel-device-plugins-for-kubernetes together with a qat driver
installer.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I3467ba204276999dac4087bdf68ac0d4439861ad

3 years agoMerge "Add cmk addon helm chart"
Ritu Sood [Wed, 5 May 2021 23:14:50 +0000 (23:14 +0000)]
Merge "Add cmk addon helm chart"

3 years agoMerge "Add sriov-network addon helm chart"
Ritu Sood [Wed, 5 May 2021 23:14:30 +0000 (23:14 +0000)]
Merge "Add sriov-network addon helm chart"

3 years agoMerge "Add ovn4nfv addon helm chart"
Ritu Sood [Wed, 5 May 2021 23:14:09 +0000 (23:14 +0000)]
Merge "Add ovn4nfv addon helm chart"

3 years agoMerge "Add sriov-network-operator addon helm chart"
Ritu Sood [Wed, 5 May 2021 23:13:29 +0000 (23:13 +0000)]
Merge "Add sriov-network-operator addon helm chart"

3 years agoDeletePropagationPolicy changed to background 18/121118/1
Lukasz Rajewski [Wed, 5 May 2021 18:39:10 +0000 (20:39 +0200)]
DeletePropagationPolicy changed to background

The policy is changed to Background operation
which is default for helm application. Later
on dedicated parametr will be added to the profile
to let it be changed for particular helm chart.

Issue-ID: MULTICLOUD-1338
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I29978bc39fe6e1d10b0278fe10736ff1b7cc2006

3 years agoAdd ovn4nfv addon helm chart 33/120033/4
Todd Malsbary [Mon, 1 Mar 2021 23:13:08 +0000 (15:13 -0800)]
Add ovn4nfv addon helm chart

This chart follows the upstream installation guide with the following
exceptions:
- The node-role.kubernetes.io/master:NoSchedule taint is not removed.
  The YAML files already included the necessary tolerations.
- No node labeling is done.  Instead, the ovn-control-plane node
  selector is for the master role, and the nfn-operator pod affinity
  is for "role: ovn-control-plane".  This ensures that the
  ovn-control-plane and nfn-operator run are scheduled on the same
  master node, equivalent to the labelling approach used upstream.

Also, additional allowed capabilities are needed to run the pods with
the restricted PodSecurityPolicy.  These capabilities are requested by
the Pods, but not available in the default set of allowed
capabilities.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I54ae12434572e2e2dd1fe2ec9298d04557331d94

3 years agoRemove unused deployments/helm/v2/emco 43/120243/8
Todd Malsbary [Wed, 31 Mar 2021 20:35:48 +0000 (13:35 -0700)]
Remove unused deployments/helm/v2/emco

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I42eed23905c848e5ea1ea829a129215817394448

3 years agoReplace emco with openness-21.03 release 42/120242/8
Todd Malsbary [Wed, 31 Mar 2021 20:34:22 +0000 (13:34 -0700)]
Replace emco with openness-21.03 release

This change also installs emcoctl in the artifacts directory, similar
to what is done for kubectl by kubespray.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I8447210487578ceeef61afc7c3e4d97905303c8a

3 years agoAdd sriov-network addon helm chart 36/120036/3
Todd Malsbary [Fri, 19 Mar 2021 22:07:32 +0000 (15:07 -0700)]
Add sriov-network addon helm chart

This chart deploys the CR used by the sriov-network-operator.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I9364868d3e58fd64e51a77aaa934284fad86a1b1

3 years agoAdd sriov-network-operator addon helm chart 35/120035/4
Todd Malsbary [Fri, 12 Mar 2021 21:48:25 +0000 (13:48 -0800)]
Add sriov-network-operator addon helm chart

This chart contains the upstream sriov-network-operator from
k8snetworkplumbingwg together with an iavf driver installer.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ic925c66f8e2b28b7604240c3ed35b1a56883b60b

3 years agoMerge "Remove unused cmk kud vars"
Ritu Sood [Fri, 30 Apr 2021 21:41:49 +0000 (21:41 +0000)]
Merge "Remove unused cmk kud vars"

3 years agoMerge "Add nfd addon helm chart"
Ritu Sood [Fri, 30 Apr 2021 21:23:37 +0000 (21:23 +0000)]
Merge "Add nfd addon helm chart"

3 years agoMerge "Add multus addon helm chart"
Ritu Sood [Fri, 30 Apr 2021 21:19:28 +0000 (21:19 +0000)]
Merge "Add multus addon helm chart"

3 years agoMerge "Add Makefile for addon helm charts"
Ritu Sood [Fri, 30 Apr 2021 21:18:14 +0000 (21:18 +0000)]
Merge "Add Makefile for addon helm charts"

3 years agoMerge "Upgrade vagrant version from 2.4 to 2.2.14"
Ritu Sood [Fri, 30 Apr 2021 21:16:23 +0000 (21:16 +0000)]
Merge "Upgrade vagrant version from 2.4 to 2.2.14"

3 years agoMerge "Use group libvirt instead of libvirtd"
Ritu Sood [Fri, 30 Apr 2021 21:15:45 +0000 (21:15 +0000)]
Merge "Use group libvirt instead of libvirtd"

3 years agoExit cmk test script on error 72/120972/3
Todd Malsbary [Wed, 28 Apr 2021 19:51:42 +0000 (12:51 -0700)]
Exit cmk test script on error

Issue-ID: MULTICLOUD-1335
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I83336983475bab25867c44153657d31b1bacb933

3 years agoAdd cmk addon helm chart 39/120039/2
Todd Malsbary [Tue, 23 Feb 2021 17:28:48 +0000 (09:28 -0800)]
Add cmk addon helm chart

The chart follows the instructions laid out in the CMK operator
manual, with the following notes:
- The nodes are prepared by running each CMK subcommand as a Pod
  instead of running cmk cluster-init.  The first reason for this is
  that the existing addon only deploys CMK to the worker nodes in the
  cluster.  This is not possible using cluster-init without explicitly
  providing the list of worker nodes to cluster-init, and this list is
  unknown by helm.  Instead it is sufficient to rely on the
  node-role.kubernetes.io/master:NoSchedule taint.  The second reason
  is that cluster-init creates resources which are unknown to helm,
  thus uninstall does not behave as expected.
- The v1.4.1 version of CMK is chosen.  In v1.5.2, the description key
  of the cmk-nodereport resource is not correct.
- All values listed as possibly requiring modification are exposed in
  values.yaml

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ibc75462de3729cd88edeb4b15602d57fe12791ca

3 years agoRemove unused cmk kud vars 38/120038/2
Todd Malsbary [Mon, 22 Feb 2021 21:19:41 +0000 (13:19 -0800)]
Remove unused cmk kud vars

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I0c1d43de8506233eb62bde52641bb7fc95b422fc

3 years agoMerge "Add X710 to iavf driver NICs"
Ritu Sood [Wed, 28 Apr 2021 21:59:19 +0000 (21:59 +0000)]
Merge "Add X710 to iavf driver NICs"

3 years agoMerge "Set helm stable repo URL value to updated URL"
Ritu Sood [Wed, 28 Apr 2021 21:25:35 +0000 (21:25 +0000)]
Merge "Set helm stable repo URL value to updated URL"

3 years agoAdd X710 to iavf driver NICs 74/120974/1
Todd Malsbary [Wed, 28 Apr 2021 19:39:01 +0000 (12:39 -0700)]
Add X710 to iavf driver NICs

Issue-ID: MULTICLOUD-1336
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I7a0ee4302c020e6b7ec785d6a85af636b6a85ecc

3 years agoMerge "Migrate to use Helm v3 libraries"
Lukasz Rajewski [Tue, 20 Apr 2021 16:59:11 +0000 (16:59 +0000)]
Merge "Migrate to use Helm v3 libraries"

3 years agoUpdate k8splugin snapshot image 49/120549/2
Konrad Bańka [Wed, 14 Apr 2021 22:29:27 +0000 (00:29 +0200)]
Update k8splugin snapshot image

Updated image tag to 0.9.0-SNAPSHOT

Issue-ID: MULTICLOUD-1294
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I052726df7d7fd7c58e39e157adb104db7d68a048

3 years agoMerge "Add k8splugin releases file for 0.8.1"
Lukasz Rajewski [Wed, 14 Apr 2021 19:50:13 +0000 (19:50 +0000)]
Merge "Add k8splugin releases file for 0.8.1"

3 years agoAdd k8splugin releases file for 0.8.1 24/120524/2
Konrad Bańka [Wed, 14 Apr 2021 08:34:02 +0000 (10:34 +0200)]
Add k8splugin releases file for 0.8.1

Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Issue-ID: MULTICLOUD-1307
Issue-ID: MULTICLOUD-1308
Issue-ID: MULTICLOUD-1311
Change-Id: I4645cc1dd9c8e6dfcf2a5c27dddf09e4c8de5e5c

3 years agoMigrate to use Helm v3 libraries 37/118337/7
Ritu Sood [Wed, 24 Feb 2021 04:18:26 +0000 (20:18 -0800)]
Migrate to use Helm v3 libraries

Moving to Helm v3. Updated unit tests.
Reworked Healthcheck Execution to align
with v3 design.
Helm v3 requires newer version for K8s
libraries. Moved to use version 0.19.4.

Issue-ID: MULTICLOUD-1295
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I091b75d69841dde56ad2c294cca2d5a0291ffa8f

3 years agoAdd multus addon helm chart 32/120032/2
Todd Malsbary [Mon, 1 Mar 2021 22:02:16 +0000 (14:02 -0800)]
Add multus addon helm chart

- Support for calico configuration is present but currently disabled.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I2d2161564c4da2e165e5cf13cea92fae4935f8b2

3 years agoUpdate k8splugin snapshot image 64/120364/1 0.8.1
Lukasz Rajewski [Fri, 9 Apr 2021 12:25:30 +0000 (14:25 +0200)]
Update k8splugin snapshot image

Update image version of k8splugin to 0.8.1-SNAPSHOT

Issue-ID: MULTICLOUD-1294
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I009da40eec82ad7fddb22018935928a62451c768

3 years agoAdd Makefile for addon helm charts 31/120031/2
Todd Malsbary [Thu, 18 Mar 2021 20:16:46 +0000 (13:16 -0700)]
Add Makefile for addon helm charts

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I90a9cf23a8fb01cbc579d2b6670b476494c2a7bb

3 years agoMerge "Fix Healthcheck API"
Ritu Sood [Fri, 2 Apr 2021 13:14:11 +0000 (13:14 +0000)]
Merge "Fix Healthcheck API"

3 years agoFix Healthcheck API 23/119223/4
Konrad Bańka [Fri, 12 Mar 2021 07:46:20 +0000 (08:46 +0100)]
Fix Healthcheck API

Fix several issues related to Healthcheck creation.
Updated GET/DELETE methods to work properly.
This commit leaves few FIXME/TODOs that will be handled within Helm3
Rebase commit

Issue-ID: MULTICLOUD-1308
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I5da50363bb240fdc85d3624f43cb0526786da542

3 years agoAdd nfd addon helm chart 34/120034/1
Todd Malsbary [Mon, 1 Mar 2021 21:42:21 +0000 (13:42 -0800)]
Add nfd addon helm chart

This change adds iavf, qat, and pci device labels to the node feature
discovery config.

Issue-ID: MULTICLOUD-1324
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ie6296caf898983149483ac581428f2c80405bca8

3 years agoSet helm stable repo URL value to updated URL 30/120030/1
Todd Malsbary [Tue, 30 Mar 2021 22:15:15 +0000 (15:15 -0700)]
Set helm stable repo URL value to updated URL

Issue-ID: MULTICLOUD-1323
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Iac2046b6df4f76efc7f7745567740fffb9b8e72a

3 years agoUse group libvirt instead of libvirtd 29/120029/1
Todd Malsbary [Tue, 30 Mar 2021 22:10:08 +0000 (15:10 -0700)]
Use group libvirt instead of libvirtd

This fixes the following error when running ./setup.sh -p libvirt:

  usermod: group 'libvirtd' does not exist

Newer versions of Ubuntu appear to have renamed the libvirtd group to
libvirt.

Issue-ID: MULTICLOUD-1322
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I54ffc4558cb8945e8c9f9ca751518b20a6de64d0

3 years agoUpgrade vagrant version from 2.4 to 2.2.14 28/120028/1
Todd Malsbary [Tue, 30 Mar 2021 22:01:16 +0000 (15:01 -0700)]
Upgrade vagrant version from 2.4 to 2.2.14

This fixes the following error when running ./setup.sh -p libvirt:

  Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
  Bundler, the underlying system Vagrant uses to install plugins,
  reported an error. The error is shown below. These errors are usually
  caused by misconfigured plugin installations or transient network
  issues. The error from Bundler is:

  nokogiri requires Ruby version < 3.1.dev, >= 2.5.

Issue-ID: MULTICLOUD-1321
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: Ia867df9df3ec1cc27e2f17df4a72ffc88f6bdf44

3 years agoMerge "Correct Day2 Config Template creation response"
Ritu Sood [Thu, 11 Mar 2021 19:33:55 +0000 (19:33 +0000)]
Merge "Correct Day2 Config Template creation response"

3 years agoCorrect Day2 Config Template creation response 35/119135/1
Konrad Bańka [Thu, 11 Mar 2021 09:58:37 +0000 (10:58 +0100)]
Correct Day2 Config Template creation response

Modified day2 config template handler to return metadata of created
configuration template on its creation.

Issue-ID: MULTICLOUD-1311
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I139486a41c7dbd67d414a07776e9a5d711d9887b

3 years agoRemove Hooks field from InstanceResponse http resp json 32/119132/1
Konrad Bańka [Thu, 11 Mar 2021 09:44:32 +0000 (10:44 +0100)]
Remove Hooks field from InstanceResponse http resp json

Addition of hooks in instantiation response needs to be handled by other
parties or else it may break connectivity. Because currently Hooks
field doesn't provide any relevant public data, this change makes it
hidden.

Issue-ID: MULTICLOUD-1311
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I4ca522cf8c6409ddf71fe06de0b905cfdf219a2f

3 years agoMerge "Correct Query API endpoint registration"
Ritu Sood [Tue, 9 Mar 2021 17:46:32 +0000 (17:46 +0000)]
Merge "Correct Query API endpoint registration"

3 years agoMerge "Enable plugin_fw.sh to preserve CNF after tests"
Ritu Sood [Tue, 9 Mar 2021 17:38:03 +0000 (17:38 +0000)]
Merge "Enable plugin_fw.sh to preserve CNF after tests"

3 years agoCorrect get-pip.py url for python2.7 78/118978/1
Konrad Bańka [Tue, 9 Mar 2021 16:08:47 +0000 (17:08 +0100)]
Correct get-pip.py url for python2.7

It turned out prior url has been further changed and pip is unavailable
by it.

Issue-ID: MULTICLOUD-1255
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Id5c9285f74bda17c28ac56de8a847ab74005beba

3 years agoEnable plugin_fw.sh to preserve CNF after tests 51/118551/5
Konrad Bańka [Fri, 26 Feb 2021 04:45:23 +0000 (05:45 +0100)]
Enable plugin_fw.sh to preserve CNF after tests

Issue-ID: MULTICLOUD-1306
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Iea0c2e2a36adadc81860f622f04e85a389f53e0c

3 years agoCorrect Query API endpoint registration 65/118965/1
Konrad Bańka [Tue, 9 Mar 2021 14:57:37 +0000 (15:57 +0100)]
Correct Query API endpoint registration

Apart from corrections, corrected handling of name-only query requests
as well as provided bunch of UTs.

Issue-ID: MULTICLOUD-1307
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Ida3d3e434525f323bd8c40ddc7ffd58df9c5e831

3 years agoMerge "Add k8splugin releases file for 0.8.0"
Ritu Sood [Fri, 26 Feb 2021 20:40:29 +0000 (20:40 +0000)]
Merge "Add k8splugin releases file for 0.8.0"

3 years agoAdd k8splugin releases file for 0.8.0 24/118424/3
Lukasz Rajewski [Wed, 24 Feb 2021 17:54:54 +0000 (18:54 +0100)]
Add k8splugin releases file for 0.8.0

Add k8splugin releases file for 0.8.0

Issue-ID: MULTICLOUD-1294
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I30991d735fc96054b0fd726a42b3b1f7d69c7201

3 years agoProvide Healthcheck API MVP 41/118441/4 0.8.0
Konrad Bańka [Wed, 24 Feb 2021 23:08:05 +0000 (00:08 +0100)]
Provide Healthcheck API MVP

Implements basic functionality of running starting Healthcheck.
Results can be inspected so-far without dedicated API, by using, for
example, Query API.

Issue-ID: MULTICLOUD-1233
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Ia4d96d936d573173d7d8f41e6c39d059bf5f8b1f

3 years agoMerge "Update k8splugin for H release"
Ritu Sood [Thu, 25 Feb 2021 14:17:56 +0000 (14:17 +0000)]
Merge "Update k8splugin for H release"