aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2021-08-06Add k8splugin releases file for 0.9.0Lukasz Rajewski1-0/+8
Add k8splugin releases file for 0.9.0 Issue-ID: MULTICLOUD-1345 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ic5e476a498983027350a22019e36108402c20efd
2021-08-06Optimized status discovery0.9.0Lukasz Rajewski1-10/+7
Optimized status discovery Issue-ID: MULTICLOUD-1372 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I854bc88676f4bc3b5f35e8a303d94603ce61a91d
2021-08-06Fixed issue in Status handlerLukasz Rajewski1-7/+12
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
2021-08-05Update status check endpoint hthieu22-17/+1595
  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
2021-08-02Merge "Add suport for query api on root level"Lukasz Rajewski13-84/+247
2021-08-02Add suport for query api on root levelLukasz Rajewski13-84/+247
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
2021-08-02Config List handler added to Config APILukasz Rajewski7-7/+132
Config List handler added to Config API Issue-ID: MULTICLOUD-1332 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I63355dd6b05e70398cfc89744efa332926286c40
2021-07-29Merge "Update EMCO playbook to 21.03.06"Ritu Sood3-3/+10
2021-07-29Merge "Add kubevirt to list of EMCO deployed addons"Ritu Sood2-0/+10
2021-07-29Fix of release name for configLukasz Rajewski2-7/+16
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
2021-07-28Select vfio-pci deviceType in SR-IOV networkTodd Malsbary1-1/+7
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
2021-07-28Enable CPUManager feature gate in kubevirtTodd Malsbary1-1/+2
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
2021-07-28Update ovn4nfv chart version to support kubevirtTodd Malsbary2-2/+2
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I38a8dab6b57847f9f7b4f6a816772783fa981079
2021-07-28Add kubevirt to list of EMCO deployed addonsTodd Malsbary2-0/+10
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I5e2c2ebe5af7ee86cc213f0861516664cf4399a7
2021-07-28Update EMCO playbook to 21.03.06Todd Malsbary3-3/+10
Issue-ID: MULTICLOUD-1376 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I91422116714e16f520ed37bd00185383b01d41aa
2021-07-23Change rb-definition-version identifierLukasz Rajewski1-1/+1
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
2021-07-16Update KUD to python3Todd Malsbary9-28/+33
Issue-ID: MULTICLOUD-1375 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I0433a55ef2ac9caba976a267fa9e1f41d5353248
2021-07-07Update project committers infoBin Yang1-5/+13
Issue-ID: MULTICLOUD-1374 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: I8010f3dffdc6f79151c4ad4de845b71bead0b9ce
2021-06-30Fix error when attempting to remove missing webhookTodd Malsbary1-1/+1
Issue-ID: MULTICLOUD-1370 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: If3b71f64b5994bbe6bd68e2b620452f4081cd705
2021-06-30Merge "Add ovn4nfv-network addon"Ritu Sood10-1/+65
2021-06-28Update python version used in KUD installers to python3Todd Malsbary2-28/+22
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
2021-06-24Add ovn4nfv-network addonTodd Malsbary10-1/+65
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
2021-06-24Add kubevirt testTodd Malsbary4-21/+175
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
2021-06-24Merge "Move topology-manager configuration to kubespray"Eric Multanen8-84/+135
2021-06-24Merge "Remove warning displayed from ssh commands in baremetal test"Eric Multanen1-1/+1
2021-06-24Merge "Fix jq null error in tests"Eric Multanen4-5/+5
2021-06-24Merge "Replace curl in plugin_fw_v2.sh with emcoctl"Eric Multanen3-951/+507
2021-06-24Merge "Refactor EMCO deploy of addons"Eric Multanen14-314/+426
2021-06-24Merge "Add kubevirt and cdi addon helm charts"Eric Multanen42-2/+6057
2021-06-24Merge "The sink app needs the CAP_NET_RAW capability"Eric Multanen5-0/+53
2021-06-24Merge "Let kubespray choose installed docker version"Eric Multanen3-42/+0
2021-06-21Remove warning displayed from ssh commands in baremetal testTodd Malsbary1-1/+1
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: If2845857cd72768b0a1c6cf3831e64f3dc412ebf
2021-06-21Move topology-manager configuration to kubesprayTodd Malsbary8-84/+135
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
2021-06-17Fix jq null error in testsTodd Malsbary4-5/+5
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
2021-06-16Replace curl in plugin_fw_v2.sh with emcoctlTodd Malsbary3-951/+507
Issue-ID: MULTICLOUD-1360 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Iac32b8a1551253302134ad34b829ea9aa578ff8e
2021-06-16SDEWAN CNF helm chartYao Le6-0/+351
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>
2021-06-15Add kubevirt and cdi addon helm chartsTodd Malsbary42-2/+6057
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I6ba134140f0aca6717c656ffa35c6576426a8b98
2021-06-09Refactor EMCO deploy of addonsTodd Malsbary14-314/+426
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: I90b33cd99c42017b50f3174b6f9033a861e11dd3
2021-06-07Let kubespray choose installed docker versionTodd Malsbary3-42/+0
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
2021-06-04The sink app needs the CAP_NET_RAW capabilityTodd Malsbary5-0/+53
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
2021-06-04Expose installer ENV vars through DockerfileTodd Malsbary3-1/+9
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ie913d3f26d039fae0bff98149ebe0a6e6dea2ebd
2021-05-21Merge "Exit cmk test script on error"Ritu Sood1-13/+19
2021-05-21Merge "Mount /var/run as shared"Ritu Sood1-0/+1