Xynnn007
70c4df6d47
agent: update image-rs version
...
Update image-rs dep version the same as attestation-agent
Fixes : #7285
Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
2023-07-11 15:19:50 +08:00
Xynnn007
7deafacdee
version: Update attestation-agent
...
- Update attestation-agent to work with the KBS/AS to be released.
Fixes : #7285
Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
2023-07-11 15:18:12 +08:00
Steve Horsman
f8a4966aaa
Merge pull request #7266 from stevenhorsman/kata-deploy-remote-annotations
...
kata-deploy: Remove remote annotation logic
2023-07-07 16:18:34 +01:00
stevenhorsman
82d44320e6
kata-deploy: Remove remote annotation logic
...
Remove the logic that made the kata-remote containerd config not support
io.katacontainers annotations
Fixes : #7265
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-07-07 14:08:00 +01:00
Steve Horsman
61f3e58abf
Merge pull request #7257 from stevenhorsman/remote-config-instance-type-support
...
config: Update remote hypervisor config
2023-07-07 11:21:34 +01:00
stevenhorsman
335a456425
config: Update remote hypervisor config
...
- Add annotation enablement for machine_type, default_memory and
default_vcpus
- Remove note that says that cpu and memory settings are ignored.
Fixes : #7256
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-07-07 08:37:46 +01:00
Fabiano Fidêncio
80df87321f
Merge pull request #7246 from fidencio/topic/cc-gha-fix-measured-rootfs-builds-follow-up-again-follow-up
...
cc: gha: Avoid building twice the components set as "include"
2023-07-06 14:12:04 +02:00
Fabiano Fidêncio
0425c4fe7c
cc: gha: Avoid building twice the components set as "include"
...
Those components are being built twice, one as part of the normal matrix
assets, and the second one as part of the include.
Fixes : #7235
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2023-07-06 12:55:11 +02:00
Fabiano Fidêncio
a2218f0a99
Merge pull request #7244 from fidencio/topic/cc-gha-fix-measured-rootfs-builds-follow-up-again
...
cc: gha: Export MEASURE_ROOTFS=yes for rootfs-image builds
2023-07-06 12:06:02 +02:00
Fabiano Fidêncio
8d47e34558
cc: gha: Export MEASURE_ROOTFS=yes for rootfs-image builds
...
We need to export MEASURED_ROOTFS=yes for the rootfs-image builds, as
shown here[0], otherwise the root_hash.txt file won't be generated.
A huge thanks to Choi for quickly finding this out.
Fixes : #7235
[0]:
https://github.com/kata-containers/kata-containers/blob/CCv0/tools/osbuilder/image-builder/image_builder.sh#L507 ,
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2023-07-06 10:50:17 +02:00
Fabiano Fidêncio
a40cd94a66
Merge pull request #7241 from fidencio/topic/cc-gha-fix-measured-rootfs-builds-follow-up
...
cc: gha: Matrix "include" cannot be a list
2023-07-05 23:23:11 +02:00
Fabiano Fidêncio
5751781879
cc: gha: Matrix "include" cannot be a list
...
TIL that when using "include" for a matrix we must duplicate the value
we're overriding for each element we want that to happen.
Fixes : #7235
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2023-07-05 21:46:51 +02:00
Fabiano Fidêncio
2ae98093f6
Merge pull request #7237 from fidencio/topic/cc-gha-fix-measured-rootfs-builds
...
cc: gha: Pass MEASURED_ROOTFS to the artefacts build
2023-07-05 20:27:44 +02:00
Fabiano Fidêncio
8bc30b8a24
cc: gha: Pass MEASURED_ROOTFS to the artefacts build
...
Since the measured rootfs work has been merged to main, and then
brought in to the CCv0 via the weekly merge, we have introduced a few
regressions related to how we build it / use it.
This PR attempts to make sure the artefacts are properly built, using
GitHub Actions, so the feature can be used with the operator.
Fixes : #7235
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2023-07-05 17:10:39 +02:00
Fabiano Fidêncio
2cf48e4a55
Merge pull request #7234 from fidencio/topic/fix-cc-operator-uninstall-issue
...
cc: kata-deploy: Adapt the SNP's QEMU name
2023-07-05 13:39:35 +02:00
Fabiano Fidêncio
701a0defb6
cc: kata-deploy: Adapt the SNP's QEMU name
...
SNP's QEMU has changed its name some time ago and, due to that, we have
been leaving the new binary behind during the uninstall process, which
lead to the Operator hanging when uninstalling.
Fixes : #7233
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
2023-07-05 12:04:14 +02:00
Fabiano Fidêncio
191071b10b
Merge pull request #7228 from stevenhorsman/update-dependencies
...
Update dependencies after guest-components repo updates
2023-07-05 08:55:39 +02:00
stevenhorsman
aadc68633e
agent: Update image-rs
...
- Update location and version of image-rs after
the repo merge
Fixes : #7152
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-07-04 17:07:00 +01:00
stevenhorsman
6e67d52242
version: Update attestation-agent
...
- Update attestation-agent to reflect the new URL and version
Fixes : #7152
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-07-04 16:56:27 +01:00
stevenhorsman
1fc8f7040f
rootfs: Update attestation-agent install logic
...
- Update attestation-agent install now the create
is in the guest-components repo
Fixes : #7152
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-07-04 16:55:54 +01:00
Steve Horsman
bef48f4a9e
Merge pull request #7205 from stevenhorsman/CCv0-merge-28th-june
...
CCv0: Merge main into CCv0 branch
2023-07-03 19:17:15 +01:00
stevenhorsman
e75435944f
guest-image: Add failure check
...
Handle unknown image_initrd_suffix better
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-07-03 12:32:43 +01:00
stevenhorsman
75bdc94636
packaging: Bump kernel config_version
...
Bump kata_config_version as upstream has kernel changes
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-07-03 12:32:43 +01:00
stevenhorsman
1fefa3790a
packaging: Fix bad merges
...
- Fix issues found with auto-merged
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-06-30 10:30:43 +01:00
stevenhorsman
51eb0c5130
runtime: SEV sysconfig fix
...
- SEV and SNP need a different sysconfig path
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-06-29 20:52:57 +01:00
stevenhorsman
6fee9fbe4e
CCv0: Merge main into CCv0 branch
...
Merge remote-tracking branch 'upstream/main' into CCv0
Fixes : #7083
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
2023-06-29 10:05:59 +01:00
Fupan Li
4288b935e1
Merge pull request #7104 from openanolis/physical/endpoint
...
runtime-rs: support physical endpoint using device manager
2023-06-29 14:43:44 +08:00
GabyCT
19890133e9
Merge pull request #7189 from Apokleos/direct-vol-bugfix
...
runtime-rs: bugfix for direct volume path's validation.
2023-06-28 12:26:22 -06:00
GabyCT
3f87d0fbfe
Merge pull request #7180 from dborquez/run_ret_hypervisor_version_w_sudo
...
metrics: Fix retrieving hypervisor version on metrics
2023-06-28 10:54:23 -06:00
Fabiano Fidêncio
c8d33da8a4
Merge pull request #7188 from jongwu/fix_vfio
...
runtime-rs: fix build error on AArch64
2023-06-28 15:43:14 +02:00
Jianyong Wu
1f3e837e4b
runtime-rs: fix build error on AArch64
...
Vfio support introduce build error on AArch64. Remove arch related
annotation can avoid this error.
Fixes : #7187
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
2023-06-28 07:10:43 +00:00
alex.lyn
6fd25968c6
runtime-rs: bugfix for direct volume path's validation.
...
The failure mainly caused by the encoded volume path and
the mount/src. As the src will be validated with stat,but
it's not a full path and encoded, which causes the stat
mount source failed.
Fixes : #7186
Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
2023-06-28 10:07:07 +08:00
GabyCT
3885ba4910
Merge pull request #7173 from GabyCT/topic/addcheckm
...
checkmetrics: Add checkmetrics makefile and documentation
2023-06-27 16:30:44 -06:00
Gabriela Cervantes
415578cf3b
docs: Add general README
...
This PR adds link to the unreference docs in the cmd path to make
them more discoverable.
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2023-06-27 20:29:37 +00:00
Steve Horsman
70e6e40a8d
Merge pull request #7134 from stevenhorsman/CCv0-merge-19th-june
...
CCv0: Merge main into CCv0 branch
2023-06-27 09:16:49 +01:00
Zhongtao Hu
c76583a08f
Merge pull request #7171 from GabyCT/topic/enabletimedoc
...
docs: Add boot time metrics documentation
2023-06-27 10:28:56 +08:00
Zhongtao Hu
bff4672f7d
runtime-rs: support physical endpoint using device manager
...
use device manager to attach physical endpoint
Fixes : #7103
Signed-off-by: Zhongtao Hu <zhongtaohu.tim@linux.alibaba.com>
2023-06-27 10:25:51 +08:00
David Esparza
32cba7e44a
metrics: Fix retrieving hypervisor version on metrics
...
This PR makes use of sudo to retrieve the hypervisor version.
Fixes : #7178
Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
2023-06-26 16:26:27 -06:00
Gabriela Cervantes
aa7946de47
checkmetrics: Add general checkmetrics documentation
...
This PR adds the general checkmetrics documentation for kata metrics tests.
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2023-06-26 17:07:57 +00:00
Gabriela Cervantes
2fac2b72fe
checkmetrics: Add checkmetrics makefile
...
This PR adds checkmetrics makefile which is used to process the
metrics json results files.
Fixes #7172
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2023-06-26 16:31:55 +00:00
Gabriela Cervantes
e45899ae0e
docs: Add time tests documentation reference
...
This PR adds time tests documentation reference in the general README
for kata metrics.
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2023-06-26 16:30:20 +00:00
Gabriela Cervantes
28130d3cef
docs: Add boot time metrics documentation
...
This PR adds boot time metrics documentation for kata metrics tests.
Fixes #7170
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2023-06-26 16:19:28 +00:00
Zhongtao Hu
ce8e3cc091
Merge pull request #7073 from Apokleos/spdk-vol
...
runtime-rs: add support spdk/vhost-user based volume.
2023-06-26 11:34:44 +08:00
alex.lyn
0df2fc2702
runtime-rs: add support spdk/vhost-user based volume.
...
Unlike the previous usage which requires creating
/dev/xxx by mknod on the host, the new approach will
fully utilize the DirectVolume-related usage method,
and pass the spdk controller to vmm.
And a user guide about using the spdk volume when run
a kata-containers. it can be found in docs/how-to.
Fixes : #6526
Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
2023-06-25 16:23:19 +08:00
GabyCT
4cf552c151
Merge pull request #7097 from stevenhorsman/remove-unecessary-kata-versions
...
static-build: Remove kata-version parameter
2023-06-23 16:53:57 -06:00
GabyCT
4b8229c252
Merge pull request #7141 from bpradipt/fix-7140
...
runtime: Add support for key annotations to remote hyp
2023-06-23 16:47:20 -06:00
GabyCT
388b55175e
Merge pull request #7056 from FuuuOverclocking/fuu/fix-console_manager
...
dragonball: avoid obtaining lock twice in create_stdio_console
2023-06-23 16:47:00 -06:00
GabyCT
1a80fd66a2
Merge pull request #7161 from GabyCT/topic/enablemetricslimits
...
metrics: Add checkmetrics for kata metrics CI
2023-06-23 16:45:16 -06:00
Gabriela Cervantes
17198089ee
vendor: Add vendor checkmetrics dependencies
...
This PR adds the vendor for the checkmetrics.
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2023-06-23 20:55:30 +00:00
David Esparza
cfd6da9467
Merge pull request #7159 from dborquez/enable_launchtimes_test
...
metrics: enable launch-times test on gha-run metrics script
2023-06-23 12:59:46 -06:00