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

hydra doesn't work with podman (Fedora 39) - [workaround? use Docker] #7037

Closed
mykaul opened this issue Dec 31, 2023 · 3 comments · Fixed by #7038
Closed

hydra doesn't work with podman (Fedora 39) - [workaround? use Docker] #7037

mykaul opened this issue Dec 31, 2023 · 3 comments · Fixed by #7038
Assignees

Comments

@mykaul
Copy link
Contributor

mykaul commented Dec 31, 2023

[ykaul@ykaul scylla-cluster-tests]$ docker/env/hydra.sh --help
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
There is scylladb/hydra:v1.53-cryptography-41.0.6-update in local cache, using it.
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Going to run './sct.py --help '...
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
WARN[0000] Using the Podman API service with TCP sockets is not recommended, please see `podman system service` manpage for details
Error: crun: chown `/dev/pts/1`: Operation not permitted: OCI permission denied

I think it'd be great if we could support Podman - I see no reason we'd need root for this - perhaps I'm missing the reason.

@fruch
Copy link
Contributor

fruch commented Dec 31, 2023

looks like podman doesn't like mounting the /dev/ folder into a rootless container
we need for some specific cases to run local k8s, and using loopback devices
we can make it work on docker

fruch added a commit to fruch/scylla-cluster-tests that referenced this issue Dec 31, 2023
ac82797 introduce a mount point for /dev/, this seems
to be breaking rootless podman support:
```
Error: crun: chown `/dev/pts/1`: Operation not permitted: OCI permission denied
```

we'll move the move to be use only when using docker.
(at least until we'll have better option for podman)

Fixes: scylladb#7037
@fruch
Copy link
Contributor

fruch commented Dec 31, 2023

#7038 might solve the issue
if someone would be able to take it, and give feedback (i.e. on my laptop it's working)

fruch added a commit that referenced this issue Jan 1, 2024
ac82797 introduce a mount point for /dev/, this seems
to be breaking rootless podman support:
```
Error: crun: chown `/dev/pts/1`: Operation not permitted: OCI permission denied
```

we'll move the move to be use only when using docker.
(at least until we'll have better option for podman)

Fixes: #7037
@mykaul
Copy link
Contributor Author

mykaul commented Apr 14, 2024

I could not get it to work (podman on F40 beta). I ended up uninstalling podman, using docker (but then S3 creds did not work, as I had to sudo everything :-/ )
We need to get it to work. I'll re-install Podman, reproduce and open a new issue.

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

Successfully merging a pull request may close this issue.

2 participants