multicloud/k8s.git
2 months agoadd python compatibility module 05/137305/6 master
thmsdt [Tue, 20 Feb 2024 13:11:07 +0000 (14:11 +0100)]
add python compatibility module

Issue-ID: DOC-823
Change-Id: Ia28c11642eeddd9b2bbbac913ba2352bb6cbb7e3
Signed-off-by: thmsdt <thomas.kulik@telekom.de>
10 months agoSet Python and Ubuntu versions in .readthedocs.yaml 92/135292/1
Cédric Ollivier [Mon, 3 Jul 2023 12:27:30 +0000 (14:27 +0200)]
Set Python and Ubuntu versions in .readthedocs.yaml

It now follows the ONAP gate configurations.
It also fixes the settings and formats it.

Issue-ID: DOC-811
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I3e0df992c2f8149f5f72d44cd19169f7a2ba6836

17 months agoFix DOC config files 56/132256/2
marineMD [Wed, 16 Nov 2022 10:48:19 +0000 (11:48 +0100)]
Fix DOC config files

Issue-ID: DOC-798

Signed-off-by: marineMD <marine.de.dorlodot@intl.att.com>
Change-Id: Ic3c021c91e356b4141c567cbaced814c6d608bf8

20 months agoForce py3.8 in tox.ini 71/130571/1
Cédric Ollivier [Wed, 31 Aug 2022 19:57:10 +0000 (21:57 +0200)]
Force py3.8 in tox.ini

It allows leveraging on OpenStack Yoga's upper-contraints
without any exception.

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I575da63e515573eef67212f2488a1af091d5da00

2 years agoAdd bounds to sphinx requirement 19/128619/1
Cédric Ollivier [Thu, 14 Apr 2022 08:04:38 +0000 (10:04 +0200)]
Add bounds to sphinx requirement

As ONAP was created before Oct 20 2020 in RTD, we
must set bounds to enforce a compatible Sphinx version
(see manual).

Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I93154dca725b82d04a372f81b30a754347c7e5f8

2 years agoAdd release file for 0.10.1 image 86/128486/1
Lukasz Rajewski [Tue, 12 Apr 2022 11:11:25 +0000 (13:11 +0200)]
Add release file for 0.10.1 image

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

2 years agoMerge "Update k8splugin snapshot image"
Bin Yang [Tue, 12 Apr 2022 07:37:40 +0000 (07:37 +0000)]
Merge "Update k8splugin snapshot image"

2 years agoUpdate k8splugin snapshot image 78/128478/1 0.10.1
Lukasz Rajewski [Tue, 12 Apr 2022 07:11:57 +0000 (09:11 +0200)]
Update k8splugin snapshot image

Update image version of k8splugin to 0.10.1-SNAPSHOT

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

2 years agoFixed detection of the etcd connection status 77/128477/1
Lukasz Rajewski [Mon, 11 Apr 2022 18:36:00 +0000 (20:36 +0200)]
Fixed detection of the etcd connection status

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

2 years agoFixed verification of the status for PVC 55/127655/1
Lukasz Rajewski [Thu, 10 Mar 2022 12:30:17 +0000 (13:30 +0100)]
Fixed verification of the status for PVC

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

2 years agoAdd k8splugin releases file for 0.10.0 51/127551/1
Lukasz Rajewski [Tue, 8 Mar 2022 10:17:59 +0000 (11:17 +0100)]
Add k8splugin releases file for 0.10.0

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

2 years agoUpdate k8splugin snapshot image 50/127550/1
Lukasz Rajewski [Tue, 8 Mar 2022 09:50:49 +0000 (10:50 +0100)]
Update k8splugin snapshot image

Update image version of k8splugin to 0.10.0-SNAPSHOT

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

2 years agoImplementation of status notification mechanism 55/127455/2 0.10.0
Lukasz Rajewski [Tue, 15 Feb 2022 21:39:37 +0000 (22:39 +0100)]
Implementation of status notification mechanism

- Subscription CRUD endpoints
- Subscription notifu executor
- Cleanup of subscriptions on instance delete
- Sending notification to the specified callback

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

2 years agoUpgrade handler implementation 10/127310/2
Lukasz Rajewski [Mon, 7 Feb 2022 18:34:25 +0000 (19:34 +0100)]
Upgrade handler implementation

Implementation of the upgrade handler for the instance.
As a result, exsting instance is modified, resources
upated and lefovers removed from the cluster.

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

2 years agoConfigAPI and Query API improvements 54/127254/1
Lukasz Rajewski [Thu, 3 Feb 2022 18:18:07 +0000 (19:18 +0100)]
ConfigAPI and Query API improvements

- Config Template create from the definition content
- Missing CRUD Config handlers added
- Improved Rollback and Config delete
- Query API name filtering improved

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

2 years agoUse kubectl wait in KuD wait_for_pod test function 49/126649/1
Todd Malsbary [Wed, 19 Jan 2022 21:54:14 +0000 (13:54 -0800)]
Use kubectl wait in KuD wait_for_pod test function

This handles intermittent Err* Pod status such as ErrImagePull.
Additionally, remove the duplication of wait_for_pod among the tests.

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

2 years agoUpgrade KubeVirt to v0.49.0 35/126635/1
Todd Malsbary [Fri, 14 Jan 2022 22:33:43 +0000 (14:33 -0800)]
Upgrade KubeVirt to v0.49.0

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

2 years agoFix validation error in cdi-operator 36/125536/1
Todd Malsbary [Mon, 1 Nov 2021 18:55:07 +0000 (11:55 -0700)]
Fix validation error in cdi-operator

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

2 years agoUpdate k8splugin snapshot image 62/125462/1
Lukasz Rajewski [Fri, 29 Oct 2021 09:29:19 +0000 (11:29 +0200)]
Update k8splugin snapshot image

Update image version of k8splugin to 0.9.4-SNAPSHOT

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

2 years agoAdd k8splugin releases file for 0.9.3 61/125461/1
Lukasz Rajewski [Fri, 29 Oct 2021 09:27:19 +0000 (11:27 +0200)]
Add k8splugin releases file for 0.9.3

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

2 years agoMerge "Fix resolution of values for Config API"
Ritu Sood [Tue, 26 Oct 2021 22:39:48 +0000 (22:39 +0000)]
Merge "Fix resolution of values for Config API"

2 years agoMerge "Update kernel version node selector in nfd test"
Ritu Sood [Mon, 25 Oct 2021 21:09:16 +0000 (21:09 +0000)]
Merge "Update kernel version node selector in nfd test"

2 years agoFix resolution of values for Config API 34/125334/1 0.9.3
Lukasz Rajewski [Mon, 25 Oct 2021 20:21:16 +0000 (22:21 +0200)]
Fix resolution of values for Config API

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

2 years agoMerge "Remove usage of deprecated route command"
Ritu Sood [Mon, 25 Oct 2021 18:59:48 +0000 (18:59 +0000)]
Merge "Remove usage of deprecated route command"

2 years agoMerge "Disable known hosts checking in kubevirt test"
Ritu Sood [Mon, 25 Oct 2021 18:58:52 +0000 (18:58 +0000)]
Merge "Disable known hosts checking in kubevirt test"

2 years agoUpdate k8splugin snapshot image 94/125294/1
Lukasz Rajewski [Sun, 24 Oct 2021 20:39:27 +0000 (22:39 +0200)]
Update k8splugin snapshot image

Update image version of k8splugin to 0.9.3-SNAPSHOT

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

2 years agoAdd k8splugin releases file for 0.9.2 93/125293/1
Lukasz Rajewski [Sun, 24 Oct 2021 20:36:33 +0000 (22:36 +0200)]
Add k8splugin releases file for 0.9.2

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

2 years agoUpdate kernel version node selector in nfd test 83/125283/1
Todd Malsbary [Thu, 14 Oct 2021 20:56:25 +0000 (13:56 -0700)]
Update kernel version node selector in nfd test

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

2 years agoRemove usage of deprecated route command 81/125281/1
Todd Malsbary [Thu, 14 Oct 2021 20:35:31 +0000 (13:35 -0700)]
Remove usage of deprecated route command

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

2 years agoDisable known hosts checking in kubevirt test 80/125280/1
Todd Malsbary [Tue, 12 Oct 2021 22:48:11 +0000 (15:48 -0700)]
Disable known hosts checking in kubevirt test

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

2 years agoMerge "Allow KuD installer to specify Kubespray 2.14.1 or 2.16.0"
Ritu Sood [Fri, 22 Oct 2021 17:08:02 +0000 (17:08 +0000)]
Merge "Allow KuD installer to specify Kubespray 2.14.1 or 2.16.0"

2 years agoLeverage upper-constraints files to pin all dependencies 94/125194/1
Cédric Ollivier [Thu, 21 Oct 2021 13:10:26 +0000 (15:10 +0200)]
Leverage upper-constraints files to pin all dependencies

It leverages the latest change from lfdocs-conf and the
upper-constraints.txt now centralized in ONAP docs.
In a long run, upperconstraints.os.txt should be removed once ONAP
is synced with OpenStack.

It removes tox and setuptools from requirements as nothing depends on them
(most requirements should be removed except lfdocsconf)

Issue-ID: DOC-765

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Id90ff3878230ace3b46f8964621b3fefcd23a556

2 years agoMerge "Expose Update Handlers"
Ritu Sood [Fri, 15 Oct 2021 13:58:21 +0000 (13:58 +0000)]
Merge "Expose Update Handlers"

2 years agoMerge "Fixed Query api filtering of resources for Instance"
Ritu Sood [Fri, 15 Oct 2021 13:57:46 +0000 (13:57 +0000)]
Merge "Fixed Query api filtering of resources for Instance"

2 years agoUpdate k8splugin snapshot image 23/125023/1
Lukasz Rajewski [Fri, 15 Oct 2021 10:18:18 +0000 (12:18 +0200)]
Update k8splugin snapshot image

Update image version of k8splugin to 0.9.2-SNAPSHOT

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

2 years agoExpose Update Handlers 22/125022/1
Lukasz Rajewski [Fri, 15 Oct 2021 10:11:44 +0000 (12:11 +0200)]
Expose Update Handlers

Expose Update Handlers for Definition, Profile and Config Tmpl

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

2 years agoAllow KuD installer to specify Kubespray 2.14.1 or 2.16.0 97/114797/5 0.9.2
Todd Malsbary [Wed, 11 Nov 2020 20:13:03 +0000 (12:13 -0800)]
Allow KuD installer to specify Kubespray 2.14.1 or 2.16.0

The default is 2.14.1 (the existing value).  Setting
KUBESPRAY_VERSION=2.16.0 in the installer environment uses the newer
Kubespray version.

The newer Kubespray version installs Kubernetes 1.20.7.  Kubernetes
1.20.7 comes with following caveats:
- The Virtlet addon is disabled; it does not work with 1.20.7.  This
  requires removing the plugin_fw test as well.
- Kubernetes 1.20.7 removed support for basic auth.

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

2 years agoFixed Query api filtering of resources for Instance 23/124823/1
Lukasz Rajewski [Mon, 11 Oct 2021 22:16:51 +0000 (00:16 +0200)]
Fixed Query api filtering of resources for Instance

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

2 years agoAdd k8splugin releases file for 0.9.1 98/124698/1
Lukasz Rajewski [Wed, 6 Oct 2021 10:55:11 +0000 (12:55 +0200)]
Add k8splugin releases file for 0.9.1

Add k8splugin releases file for 0.9.1

Issue-ID: MULTICLOUD-1345
Issue-ID: MULTICLOUD-1269
Issue-ID: MULTICLOUD-1332
Issue-ID: MULTICLOUD-1397
Issue-ID: MULTICLOUD-1398
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: I646833a9b74150e80bc9796391beb9ed7a574b33

2 years agoFixed issue with order of deleted resources 86/124686/1 0.9.1
Lukasz Rajewski [Tue, 5 Oct 2021 12:36:01 +0000 (14:36 +0200)]
Fixed issue with order of deleted resources

For delete operation order of resources is reverse to
the order used for creation

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

2 years agoMerge "Fixed installation of CRD resources"
Ritu Sood [Mon, 4 Oct 2021 22:39:11 +0000 (22:39 +0000)]
Merge "Fixed installation of CRD resources"

2 years agoMerge "Fix iavf driver build failure"
Ritu Sood [Mon, 4 Oct 2021 22:38:50 +0000 (22:38 +0000)]
Merge "Fix iavf driver build failure"

2 years agoFixed installation of CRD resources 74/124674/2
Lukasz Rajewski [Mon, 4 Oct 2021 19:56:02 +0000 (21:56 +0200)]
Fixed installation of CRD resources

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

2 years agoMerge "Fix KubeVirt and SR-IOV addon interaction"
Ritu Sood [Mon, 4 Oct 2021 20:51:46 +0000 (20:51 +0000)]
Merge "Fix KubeVirt and SR-IOV addon interaction"

2 years agoFurther fixes for config delete operation 65/124665/1
Lukasz Rajewski [Fri, 1 Oct 2021 07:35:35 +0000 (09:35 +0200)]
Further fixes for config delete operation

The issue was related with insufficient handlijg of
different versions of config vs their delete operation
handled by the plugin.

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

2 years agoFix iavf driver build failure 57/124657/2
Todd Malsbary [Fri, 1 Oct 2021 20:51:00 +0000 (13:51 -0700)]
Fix iavf driver build failure

With kernel 4.15.0-159, Ubuntu added the skb_frag_off functions to the
kernel headers.

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

2 years agoFix for config resources delete with instance delete 38/124538/1
Lukasz Rajewski [Tue, 28 Sep 2021 19:42:24 +0000 (21:42 +0200)]
Fix for config resources delete with instance delete

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

2 years agoFix KubeVirt and SR-IOV addon interaction 89/124189/3
Todd Malsbary [Thu, 9 Sep 2021 18:24:45 +0000 (11:24 -0700)]
Fix KubeVirt and SR-IOV addon interaction

SR-IOV wants to drain the nodes during reconciliation of SriovNetwork
resources, while KubeVirt wants to keep at least one instance running
at all times via a PodDisruptionBudget.

KubeVirt's behavior is not customizable, so split the addons into
different composite apps that allow finer control of the instantiation
order.

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

2 years agoUpdate committers status 49/124049/1
Bin Yang [Mon, 13 Sep 2021 02:22:10 +0000 (10:22 +0800)]
Update committers status

Issue-ID: MULTICLOUD-1391

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

2 years agoFix issue with initial error hiding 09/123809/1
Lukasz Rajewski [Thu, 2 Sep 2021 12:36:20 +0000 (14:36 +0200)]
Fix issue with initial error hiding

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

2 years agoMerge "Add resources field to all addon charts"
Ritu Sood [Wed, 25 Aug 2021 20:10:12 +0000 (20:10 +0000)]
Merge "Add resources field to all addon charts"

2 years agoMerge "Replace virtlet with kubevirt in plugin_fw_v2"
Ritu Sood [Wed, 25 Aug 2021 20:09:58 +0000 (20:09 +0000)]
Merge "Replace virtlet with kubevirt in plugin_fw_v2"

2 years agoUse EMCO logical cloud with addons 35/123335/1
Todd Malsbary [Mon, 16 Aug 2021 21:49:04 +0000 (14:49 -0700)]
Use EMCO logical cloud with addons

The moves the addons from the default namespace into their own, "kud"
namespace.

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

2 years agoReplace virtlet with kubevirt in plugin_fw_v2 39/122939/2
Todd Malsbary [Thu, 22 Jul 2021 21:12:00 +0000 (14:12 -0700)]
Replace virtlet with kubevirt in plugin_fw_v2

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

2 years agoFix Status API resolution 97/123297/1
Michal Chabiera [Tue, 17 Aug 2021 09:43:31 +0000 (11:43 +0200)]
Fix Status API resolution

Fix Status API resolution

Issue-ID: MULTICLOUD-1372
Signed-off-by: Michal Chabiera <michal.chabiera@orange.com>
Change-Id: I4cc2c95dfe0e8be718e2083fcc328b1e2951f27d

2 years agoAdd resources field to all addon charts 93/123293/1
Todd Malsbary [Mon, 16 Aug 2021 23:54:09 +0000 (16:54 -0700)]
Add resources field to all addon charts

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

2 years agoMerge "Update ovn4nfv chart version to support kubevirt"
Ritu Sood [Mon, 16 Aug 2021 21:28:11 +0000 (21:28 +0000)]
Merge "Update ovn4nfv chart version to support kubevirt"

2 years agoMerge "Select vfio-pci deviceType in SR-IOV network"
Ritu Sood [Mon, 16 Aug 2021 21:22:02 +0000 (21:22 +0000)]
Merge "Select vfio-pci deviceType in SR-IOV network"

2 years agoMerge "Enable CPUManager feature gate in kubevirt"
Ritu Sood [Mon, 16 Aug 2021 21:21:15 +0000 (21:21 +0000)]
Merge "Enable CPUManager feature gate in kubevirt"

2 years agoSupport pre/post install/delete hooks   97/122397/14
hthieu [Thu, 1 Jul 2021 18:03:09 +0000 (20:03 +0200)]
Support pre/post install/delete hooks  

Update instance create and delete handler to support pre/post install/delete hooks. 

Add hook.go: to execute and delete hook (base on delete policy). 

Implement watchUntilReady in generic plugin to wait for readiness of hook rss.

Add hook_sorter.go: to sort hook based on weight.

User can define timeout for each type of hooks in overwrite-values. Variable name is k8s-rb-instance-pre-install-timeout (default 60s),
k8s-rb-instance-post-install-timeout (default 600s), k8s-rb-instance-pre-delete-timeout (default 60s) and k8s-rb-instance-post-delete-timeout (600s). This is timeout
for each hook of a hook event (not a total time).

Add recovery capability to continue the execution of instantiation (create or delete) when the plugin stop unexpectedly.
For now, this is disabled because we have data-race issue during test. Will enable when we find the solution.

Add basic test for hooks (in hook_test.go)

Add test for hook in instance_test

For instance get request, we can request for full data by adding query param to the request: full=true.

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

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 agoSelect vfio-pci deviceType in SR-IOV network 41/122941/1
Todd Malsbary [Wed, 28 Jul 2021 16:56:16 +0000 (09:56 -0700)]
Select vfio-pci deviceType in SR-IOV network

This enables the sriov interface type in kubevirt VMs.

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

2 years agoEnable CPUManager feature gate in kubevirt 40/122940/1
Todd Malsbary [Wed, 28 Jul 2021 16:53:56 +0000 (09:53 -0700)]
Enable CPUManager feature gate in kubevirt

This allows for CPU pinning in VirtualMachine specs with the
dedicatedCpuPlacement and isolateEmulatorThread keys.

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

2 years agoUpdate ovn4nfv chart version to support kubevirt 38/122938/1
Todd Malsbary [Thu, 22 Jul 2021 21:07:31 +0000 (14:07 -0700)]
Update ovn4nfv chart version to support kubevirt

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

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