Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

"vagrant up fedora" does not work on Ubuntu 20.04 host #3942

Closed
@wainersm

Description

The vagrant up fedora command fails on Ubuntu 20.04 with the following error:

Vagrant attempted to execute the capability 'reboot'
on the detect guest OS 'fedora', but the guest doesn't
support that capability. This capability is required for your
configuration of Vagrant. Please either reconfigure Vagrant to
avoid this capability or fix the issue by creating the capability.

@Jakob-Naucke reported the issue here: #3923 (comment)

Currently it is required to configure the Fedora guest with cgroups v1 and that requires a reboot. Vagrant on Ubuntu host seems unable to reboot guests (whether Fedora or Ubuntu guests doesn't matter, it still fails).

vagrant up ubuntu on Ubuntu host works fine as it doesn't require reboot.

Possible solutions:

  1. (mitigation actually) Mentions in https://github.com/kata-containers/tests/blob/main/README.md#using-vagrant-to-test-your-code-changes that vagrant up fedora on Ubuntu host is not supported.
  2. Setup an account on Vagrant cloud to store a version of the Fedora's box with cgroups v1 enabled, therefore we just fetch the image and no reboot is needed.
  3. Work to get the CI scripts running on Fedora with cgroups v2. That would be the best solution IMHO.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions