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

Error restarting podman machine too quickly #18648

Closed
deboer-tim opened this issue May 18, 2023 · 5 comments
Closed

Error restarting podman machine too quickly #18648

deboer-tim opened this issue May 18, 2023 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine podman-desktop

Comments

@deboer-tim
Copy link

Bug description

If I stop and restart a Podman machine 'too quickly' I get the failure below. It doesn't happen often - most of the time I can click as fast as possible and there's no problem, but other times I was slower and see this.

Operating system

macOS 13.3 M1

Version

next (development version)

Steps to reproduce

Create a new Podman machine. Start it, then try to stop and restart as fast as possible from the Settings > Resources page.

Relevant log output

index.ts:134 main ↪️ [podman] Error: Error: qemu exited unexpectedly with exit code 1, stderr: qemu-system-aarch64: cannot create PID file: Cannot lock pid file: Resource temporarily unavailable

    at ChildProcess.<anonymous> (/Users/deboer/git/podman-desktop/extensions/podman/dist/extension.js:140:24)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)
(

Additional context

No response

@deboer-tim deboer-tim added the kind/bug Categorizes issue or PR as related to a bug. label May 18, 2023
@benoitf
Copy link
Contributor

benoitf commented May 18, 2023

looks like an upstream issue

@deboer-tim
Copy link
Author

Agreed, but so far I haven't been able to reproduce by using podman machine stop/start from the CLI. Not sure if there is something we're doing differently, or some odd behaviour like certain usage causes the stop to drag out abnormally.

@benoitf
Copy link
Contributor

benoitf commented May 22, 2023

$ podman machine start                                                                                                                                                                                                                             Starting machine "podman-machine-default"
Waiting for VM ...
Error: qemu exited unexpectedly with exit code 1, stderr: qemu-system-aarch64: cannot create PID file: Cannot lock pid file: Resource temporarily unavailable

moving to upstream as it's not related to Podman Desktop

@benoitf benoitf transferred this issue from podman-desktop/podman-desktop May 22, 2023
@Luap99 Luap99 added the machine label May 23, 2023
@Luap99 Luap99 changed the title Error restarting podman too quickly Error restarting podman machine too quickly May 23, 2023
@benoitf
Copy link
Contributor

benoitf commented May 31, 2023

looks like a dup of #16054

@deboer-tim
Copy link
Author

Yup, agreed.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Aug 30, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. machine podman-desktop
Projects
Archived in project
Development

No branches or pull requests

4 participants