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

Could you try this plugin out with Podman #98

Open
rhatdan opened this issue Jan 22, 2021 · 6 comments
Open

Could you try this plugin out with Podman #98

rhatdan opened this issue Jan 22, 2021 · 6 comments
Assignees

Comments

@rhatdan
Copy link
Member

rhatdan commented Jan 22, 2021

Podman now has volume support, interested whether this works with podman 3.0 or not.

@rhatdan
Copy link
Member Author

rhatdan commented Jan 22, 2021

I don't have access to systems with extra LVM space to try this out.

@shishir-a412ed
Copy link
Collaborator

shishir-a412ed commented Jan 22, 2021

I don't have access to systems with extra LVM space to try this out.

Hi @rhatdan!

I have added a Vagrantfile for you in #99. Once we merge this PR.

You can run:

  1. vagrant up from the $root of the project (This process should take around ~2 minutes)

This will start a fedora33 VM with everything (docker, docker-lvm-plugin, a pseudo loopback device, pv, volume group, thinpool) installed/running.

  1. You can just ssh into the VM using vagrant ssh docker-lvm-plugin-fedora33.

  2. Once in, you can remove docker and install podman and try it out.

  3. vagrant destroy will completely destroy the VM for you.

@shishir-a412ed
Copy link
Collaborator

@rhatdan Just tried this on the vagrant VM.

[root@fedora33 docker-lvm-plugin]# podman volume create --driver lvm --opt size=0.2G --opt vg=vg1 foobar
Error: error running volume create option: unrecognized volume option "size" is not supported with local driver: invalid argument

Looks like this is not supported today. Will try to debug, what's needed in the codebase.

@shishir-a412ed shishir-a412ed self-assigned this Mar 18, 2021
@rhatdan
Copy link
Member Author

rhatdan commented Mar 22, 2021

rpm -q podman?

@rhatdan
Copy link
Member Author

rhatdan commented Mar 22, 2021

@mheon FYI

@mheon
Copy link
Member

mheon commented Mar 22, 2021

I believe this one will be fixed in 3.1.0

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

3 participants