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

Cannot create Windows Hyperv Podman Machine with airgapped Podman Desktop with access to internet #9314

Open
odockal opened this issue Oct 10, 2024 · 1 comment

Comments

@odockal
Copy link
Contributor

odockal commented Oct 10, 2024

Bug description

Creating podman machine with hyperv provider with airgap podman desktop with access to internet throws an error.

Image

Operating system

Windows 10

Installation Method

Other

Version

1.13.0

Steps to reproduce

  1. Have HyperV enabled, no network restriction
  2. Install/start podman desktop airgapped (1.13.2)
  3. Create podman machine with hyperv
  4. Assert: Machine is created
    Actual result: Error creating the image

Relevant log output

Flag --image-path has been deprecated, use --image instead

Error: failed to add resource: Job failed with error code: 32768 ('podman-machine-default' failed to add device 'Virtual Hard Disk'. (Virtual machine ID 61AF76EC-1B4F-4FFB-AFC7-7004E0283682)  Failed to open attachment 'C:\Users\Ondrej\.local\share\containers\podman\machine\hyperv\podman-machine-default-amd64.vhdx'. Error: 'The file or directory is corrupted and unreadable.'.  'podman-machine-default': Cannot get information for attachment 'C:\Users\Ondrej\.local\share\containers\podman\machine\hyperv\podman-machine-default-amd64.vhdx'. (Virtual machine ID 61AF76EC-1B4F-4FFB-AFC7-7004E0283682)  Failed to open attachment 'C:\Users\Ondrej\.local\share\containers\podman\machine\hyperv\podman-machine-default-amd64.vhdx'. Error: 'The file or directory is corrupted and unreadable.'.)

Additional context

After we have fixed #9296. We have now regression in this issue, where we cannot create hyperv at all with airgapped installer.

@benoitf
Copy link
Collaborator

benoitf commented Oct 10, 2024

it was like that in previous versions

won't fix it in 1.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants