-
Notifications
You must be signed in to change notification settings - Fork 373
BUG: unhandled scenario: current version: 1.12.0-rc0, latest version: 1.12.0 #3069
Comments
More information: kata-runtime seems properly installed as per below. Just 'kata-runtime kata-check' seems to fail. 'kata-runtime kata-env' produces [Meta] [Runtime] [Hypervisor] [Image] [Kernel] [Initrd] [Proxy] [Shim] [Agent] [Host] [Netmon] |
Hi @didier-durand - thanks for reporting. Please can you try running the following until we investigate and fix the issue: $ kata-runtime kata-check -n |
Thanks for this workaround! I get now the final sentence that I need. Output: kata-runtime kata-check -n |
@didier-durand - I'm actually going to fix this in 2.0 first and as soon as that has landed backport the fix to the 1.x releases (here). The 2.0 PR is: |
@didier-durand - it's worth pointing out that if you run |
@jodh-intel : Thanks for this complementary info! |
@didier-durand - Well that PR is for Kata 2.x (which you may want to switch to anyway? See https://github.com/kata-containers/kata-containers/releases/tag/2.0.0 for some details of 2.x). Once kata-containers/kata-containers#1105 is merged, I will fix the problem in this repository (which is for Kata 1.x only). By the way, as an alternative to |
@jodh-intel : As said above, I currently install Kata via '$(curl -fsSL https://raw.githubusercontent.com/kata-containers/tests/master/cmd/kata-manager/kata-manager.sh) install-docker-system' as per project documentation How do I enforce 2.x in the command line above? Any additional param that I should specify? BTW, I will publish my repo encompassing a fully automated GitHub workflow driving tests on MicroK8s + GCE as soon as I get it to work. It may help others. I'll let you know by then. Didier |
@didier-durand - We are developing Kata 2.0 and onwards in a different repository. As such, to install Kata 2.0 you need to look at https://github.com/kata-containers/kata-containers/tree/2.0-dev/docs/install instead. The recently updated readme in the 2.x repository explains some of the differences between 1.x and 2.x in terms of repositories: https://github.com/kata-containers/kata-containers/blob/2.0-dev/README.md. |
Thanks! |
Fix `kata-runtime kata-check`'s network version check which was failing when the user was running a release candidate build and the latest release was a major one, two examples of the error being: - `BUG: unhandled scenario: current version: 1.12.0-rc0, latest version: 1.12.0` - `BUG: unhandled scenario: current version: 2.0.0-rc0, latest version: 2.0.0` Fixes: kata-containers#3069. Signed-off-by: James O. D. Hunt <[email protected]>
1.x PR raised: #3070. |
Fix `kata-runtime kata-check`'s network version check which was failing when the user was running a release candidate build and the latest release was a major one, two examples of the error being: - `BUG: unhandled scenario: current version: 1.12.0-rc0, latest version: 1.12.0` - `BUG: unhandled scenario: current version: 2.0.0-rc0, latest version: 2.0.0` Fixes: kata-containers#3069. Signed-off-by: James O. D. Hunt <[email protected]>
Thanks for the backport! I am trying to switch to v2.0 as suggested above. It installs fine via snap. But, I used to run 'kata-runtime kata-check' & 'kata-runtime kata-env'. Now, I get a 'command not found' on kata-runtime. What are he replacing commands? Thanks in advance. |
Please, forget my question above: I used 'find' to locate kata-runtime in the installed snap |
Hello,
After installation of kata, 'kata-runtime kata-check' now produces the following:
ERRO[0000] BUG: unhandled scenario: current version: 1.12.0-rc0, latest version: 1.12.0 arch=amd64 name=kata-runtime pid=7617 source=runtime
BUG: unhandled scenario: current version: 1.12.0-rc0, latest version: 1.12.0
My install via '$(curl -fsSL https://raw.githubusercontent.com/kata-containers/tests/master/cmd/kata-manager/kata-manager.sh) install-docker-system"' was repeatedly working just fine until the version 1.12 of the project was published 1 hour go.
Is there a workaround until you fix?
Thanks
DIdier
The text was updated successfully, but these errors were encountered: