summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-02-25Upgrade handler implementationLukasz Rajewski10-83/+505
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
2022-02-23ConfigAPI and Query API improvementsLukasz Rajewski11-168/+581
- 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
2022-01-19Use kubectl wait in KuD wait_for_pod test functionTodd Malsbary9-134/+19
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
2022-01-18Upgrade KubeVirt to v0.49.0Todd Malsbary8-446/+2547
Issue-ID: MULTICLOUD-1434 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ia440ee31ae772dc17fd5b7b2a589a6d634a2ba7a
2021-11-02Fix validation error in cdi-operatorTodd Malsbary2-3/+1
Issue-ID: MULTICLOUD-1417 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I194710db23a9c963be51fd47ecd7b1cce1707a91
2021-10-29Update k8splugin snapshot imageLukasz Rajewski1-1/+1
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
2021-10-29Add k8splugin releases file for 0.9.3Lukasz Rajewski1-0/+8
Issue-ID: MULTICLOUD-1414 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I005e2b6750db287b32c576e1a743c9f8034ac01b
2021-10-26Merge "Fix resolution of values for Config API"Ritu Sood7-42/+112
2021-10-25Merge "Update kernel version node selector in nfd test"Ritu Sood1-3/+7
2021-10-25Fix resolution of values for Config API0.9.3Lukasz Rajewski7-42/+112
Issue-ID: MULTICLOUD-1414 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ibca5846ffe083bfc4d505c4c3c13efac2c6e2426
2021-10-25Merge "Remove usage of deprecated route command"Ritu Sood1-2/+2
2021-10-25Merge "Disable known hosts checking in kubevirt test"Ritu Sood1-1/+1
2021-10-24Update k8splugin snapshot imageLukasz Rajewski1-1/+1
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
2021-10-24Add k8splugin releases file for 0.9.2Lukasz Rajewski1-0/+8
Issue-ID: MULTICLOUD-1409 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I2302ca0819f5ba6a0e57ea500c037d5fa12aece9
2021-10-22Update kernel version node selector in nfd testTodd Malsbary1-3/+7
Issue-ID: MULTICLOUD-1413 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I4f15f987ffb739544fd4c62f8f57ab38864bbbb3
2021-10-22Remove usage of deprecated route commandTodd Malsbary1-2/+2
Issue-ID: MULTICLOUD-1412 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I33fd716f64e04bd214002ccbbd53e1c1e2af234a
2021-10-22Disable known hosts checking in kubevirt testTodd Malsbary1-1/+1
Issue-ID: MULTICLOUD-1411 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I45a2df40fa8d1ebb7461454010e8c0713a4e8a90
2021-10-22Merge "Allow KuD installer to specify Kubespray 2.14.1 or 2.16.0"Ritu Sood25-83/+83
2021-10-21Leverage upper-constraints files to pin all dependenciesCédric Ollivier4-17/+9
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
2021-10-15Merge "Expose Update Handlers"Ritu Sood10-26/+227
2021-10-15Merge "Fixed Query api filtering of resources for Instance"Ritu Sood5-14/+55
2021-10-15Update k8splugin snapshot imageLukasz Rajewski1-1/+1
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
2021-10-15Expose Update HandlersLukasz Rajewski10-26/+227
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
2021-10-12Allow KuD installer to specify Kubespray 2.14.1 or 2.16.00.9.2Todd Malsbary25-83/+83
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
2021-10-12Fixed Query api filtering of resources for InstanceLukasz Rajewski5-14/+55
Issue-ID: MULTICLOUD-1409 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Id91d121fab264ccbe0096c99bcc29c18e7ee3b2b
2021-10-06Add k8splugin releases file for 0.9.1Lukasz Rajewski1-0/+8
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
2021-10-05Fixed issue with order of deleted resources0.9.1Lukasz Rajewski5-13/+65
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
2021-10-04Merge "Fixed installation of CRD resources"Ritu Sood8-42/+117
2021-10-04Merge "Fix iavf driver build failure"Ritu Sood3-0/+21
2021-10-04Fixed installation of CRD resourcesLukasz Rajewski8-42/+117
Issue-ID: MULTICLOUD-1397 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Id8e653f1b5c61278ee2d64da409ac5b0685b36b8
2021-10-04Merge "Fix KubeVirt and SR-IOV addon interaction"Ritu Sood9-222/+142
2021-10-04Further fixes for config delete operationLukasz Rajewski12-167/+430
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
2021-10-01Fix iavf driver build failureTodd Malsbary3-0/+21
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
2021-09-28Fix for config resources delete with instance deleteLukasz Rajewski9-47/+160
Issue-ID: MULTICLOUD-1332 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I08a3d623d6f12777d88a168af0cb804c63104887
2021-09-15Fix KubeVirt and SR-IOV addon interactionTodd Malsbary9-222/+142
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
2021-09-13Update committers statusBin Yang1-4/+4
Issue-ID: MULTICLOUD-1391 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: I66c452989764269d2eafb122c572f997c49a9650
2021-09-02Fix issue with initial error hidingLukasz Rajewski1-35/+34
Issue-ID: MULTICLOUD-1347 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I0ae4dd0c67e33fb78d4767d2b339467d19e7105f
2021-08-25Merge "Add resources field to all addon charts"Ritu Sood7-1/+13
2021-08-25Merge "Replace virtlet with kubevirt in plugin_fw_v2"Ritu Sood9-132/+196
2021-08-17Use EMCO logical cloud with addonsTodd Malsbary3-5/+51
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
2021-08-17Replace virtlet with kubevirt in plugin_fw_v2Todd Malsbary9-132/+196
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ifd8ae34b8f04da52acc4c3a6a8259d1bcd05616c
2021-08-17Fix Status API resolutionMichal Chabiera1-18/+20
Fix Status API resolution Issue-ID: MULTICLOUD-1372 Signed-off-by: Michal Chabiera <michal.chabiera@orange.com> Change-Id: I4cc2c95dfe0e8be718e2083fcc328b1e2951f27d
2021-08-16Add resources field to all addon chartsTodd Malsbary7-1/+13
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I3193fb5983394c6ac9a95dffaaa36074f07cacf6
2021-08-16Merge "Update ovn4nfv chart version to support kubevirt"Ritu Sood2-2/+2
2021-08-16Merge "Select vfio-pci deviceType in SR-IOV network"Ritu Sood1-1/+7
2021-08-16Merge "Enable CPUManager feature gate in kubevirt"Ritu Sood1-1/+2
2021-08-11Support pre/post install/delete hooks  hthieu16-27/+1857
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
2021-08-09Fixed issue of leftovers after instace create failureLukasz Rajewski2-3/+8
Fixed issue of leftovers after instace create failure Issue-ID: MULTICLOUD-1269 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I69b4a170d72a482f29fd79ecdfc949f55c70a61a
2021-08-06Merge "Update k8splugin snapshot image"Ritu Sood1-1/+1
2021-08-06Update k8splugin snapshot imageLukasz Rajewski1-1/+1
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