Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kata doesn't work on cgroupv2 with kubespray #10137

Open
MrFreezeex opened this issue May 25, 2023 · 5 comments
Open

Kata doesn't work on cgroupv2 with kubespray #10137

MrFreezeex opened this issue May 25, 2023 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@MrFreezeex
Copy link
Member

MrFreezeex commented May 25, 2023

The kata role doesn't work on cgroupv2 only distro (i.e: ubuntu22 apparently). Our testinfra unitest that calls kata-runtime check is failing and is reporting that kata containers can't be created.

See https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/4352349900

@MrFreezeex MrFreezeex added the kind/bug Categorizes issue or PR as related to a bug. label May 25, 2023
@oomichi
Copy link
Contributor

oomichi commented Jun 7, 2023

Thanks for reporting this issue.

As https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/4401520415 the details are

=================================== FAILURES ===================================
______________________ test_run_check[ansible://ubuntu20] ______________________
host = <testinfra.host.Host ansible://ubuntu20>
    def test_run_check(host):
        kataruntime = "/opt/kata/bin/kata-runtime"
        with host.sudo():
            cmd = host.command(kataruntime + " check")
>       assert cmd.rc == 0
E       assert 1 == 0
E        +  where 1 = CommandResult(command=b"sudo /bin/sh -c '/opt/kata/bin/kata-runtime check'", exit_status=1, stdout=None, stderr=b'time...ners" arch=amd64 name=kata-runtime pid=5435 source=runtime\nERROR: System is not capable of running Kata Containers\n').rc
molecule/default/tests/test_default.py:21: AssertionError

@VannTen
Copy link
Contributor

VannTen commented Nov 23, 2023

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 21, 2024
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Mar 22, 2024
@VannTen
Copy link
Contributor

VannTen commented Mar 22, 2024 via email

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
Development

No branches or pull requests

5 participants