-
Notifications
You must be signed in to change notification settings - Fork 92
kata-deploy: Add support for qemu and kernel with virtio-fs 3.0 #710
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add the corresponding virtio-fs enabled kernel as well?
c6c0fdc
to
5fd590d
Compare
@egernst , I did some changes to the |
5fd590d
to
0894645
Compare
/cc @egernst and @jcvenegas changes applied |
0894645
to
bd8968a
Compare
@jcvenegas , I open the #717 about of what we discussed, thanks |
This adds the kata deploy for QEMU and kernel with virtio-fs 3.0 Depends-on: github.com/kata-containers/runtime#2052 Fixes kata-containers#709 Signed-off-by: Gabriela Cervantes <[email protected]>
/test |
bd8968a
to
59fc529
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you gaby - added some question and suggestions \cc @egernst
@@ -103,6 +103,15 @@ install_kernel() { | |||
) | |||
} | |||
|
|||
#Install experimental kernel asset | |||
install_experimental_kernel() { | |||
info "build experimental kernel" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you will need to enter to the dir of the downloaded packaging kernel.
This script is to ask to create a tarball based on a tag or branch. If we use the the current scripts and someone does a binaries potentially use the old kernel. Additionally I recently sent a patch do it in this way.
Talking offline with you the issue using the the content the issue is that if you do
./kata-deploy-binaries.sh master this will use the packaging of master and not your local changes. Probably would be good to have a flag or argument to say to not use master but what we have locally.
\cc @egernst
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the main issue I had in the past was ./kata-deploy-binaries.sh 1.9.0-alpha1 could you take if that works for you @GabyCT ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GabyCT I suppose #722 addresses the above issue that @jcvenegas pointed out?
If so, does that PR need to go before this one?
kernel/build-kernel.sh
Outdated
#Remove extra 'v' | ||
kernel_version="${kernel_version#v}" | ||
if [[ ${experimental_kernel} == "true" ]]; then | ||
kernel_version="virtio-fs-v0.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@egernst should we have defined this in versions.yaml ?
And do
kernel_version="kernel_version=$(get_from_kata_deps "assets.kernel.experimental.version")
If we have hidden here will not not help for people or scripts that use this centralized place of what is used for a kata release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, ultimately this should end up coming from versions.yaml.
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: php-apache-kata-qemu-virtiofs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We dont have a test today for this you better try locally to see if we are not missing something here :)
@GabyCT : Are arch specific kernel fragment directory a must to build experimental kernel for virtio-fs?
|
This adds QEMU and the kernel with virtiofs 3.0 at the versions.yaml file. Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2051 Signed-off-by: Gabriela Cervantes <[email protected]>
This adds QEMU and the kernel with virtiofs 3.0 at the versions.yaml file. Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2051 Signed-off-by: Gabriela Cervantes <[email protected]>
59fc529
to
2eadcb7
Compare
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
@jcvenegas changes applied, here are the related PRs |
/test |
kernel/kata_config_version
Outdated
@@ -1 +1 @@ | |||
49 | |||
50 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you have bumped the version here but still CI is failing with:
23:01:19 Kernel directory has changes check kernel/kata_config_version changed
23:01:19 ERROR: Please bump version in kernel/kata_config_version
23:01:19 Makefile:24: recipe for target 'test' failed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcvenegas any idea of this failure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jcvenegas and @nitkon, I just fixed it
df57b6f
to
88d2048
Compare
/test |
/AzurePipelines run |
Azure Pipelines successfully started running 2 pipeline(s). |
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I wonder if we should wait for a runtime toml to be in place before merging?
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
@egernst , I already submitted the changes for the runtime toml kata-containers/runtime#2054 |
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
Enable a new configuration file for QEMU with virtiofs 3.0 Depends-on: github.com/kata-containers/packaging#710 Fixes kata-containers#2053 Signed-off-by: Gabriela Cervantes <[email protected]>
@amshinde , I include the changes at kata-containers/runtime#2054 |
This adds the kata deploy for QEMU and kernel with virtio-fs 3.0
Depends-on: github.com/kata-containers/runtime#2052
Fixes #709
Signed-off-by: Gabriela Cervantes [email protected]