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 start guests that use virtiofs with microvm command #266

Open
Neon-44 opened this issue Aug 11, 2024 · 3 comments
Open

cannot start guests that use virtiofs with microvm command #266

Neon-44 opened this issue Aug 11, 2024 · 3 comments

Comments

@Neon-44
Copy link

Neon-44 commented Aug 11, 2024

basically #260 but 260 has been fixed if starting via systemd but not if starting via the microvm command

microvm.service needs to wait for microvm-virtiofsd.service, then it works.

the Microvm command doesn't wait for virtiofsd to finish

@astro
Copy link
Owner

astro commented Aug 11, 2024

What does start virtiofsd in your case? The systemd service only runs when used through systemd.

That behaviour is buried somewhere in the handbook. Feel free to point to another location where I should document that.

@Neon-44
Copy link
Author

Neon-44 commented Aug 14, 2024

When i use systemctl, it starts by itself.

When I use the MicroVM Command, I have to start it myself. I found a Hack by starting the microvm service, stopping it, starting the microvm-virtiofsd service, then running the microvm command.

If i don't do that, the MicroVM won't start and spit out a Error.

Is it possible to integrate the virtiofsd-mounting into the microvm command?
I often use the microvm command for troubleshooting new configs.

@astro
Copy link
Owner

astro commented Aug 14, 2024

I think that would be easily doable in combination with https://github.com/F1bonacc1/process-compose...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants