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

[BUG] Run with podman machine #272

Closed
guillaumerose opened this issue Sep 15, 2021 · 4 comments
Closed

[BUG] Run with podman machine #272

guillaumerose opened this issue Sep 15, 2021 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@guillaumerose
Copy link

What happened:

It doesn't start properly.

$ kubectl get pods -A
NAMESPACE                       NAME                                  READY   STATUS              RESTARTS   AGE
kube-system                     kube-flannel-ds-qfmpg                 0/1     Init:0/1            0          24m
kubevirt-hostpath-provisioner   kubevirt-hostpath-provisioner-5jwfp   0/1     ContainerCreating   0          24m
openshift-dns                   dns-default-wgmmc                     0/3     ContainerCreating   0          24m
openshift-ingress               router-default-78d9fc46bb-xn44x       0/1     ContainerCreating   0          25m
openshift-service-ca            service-ca-66bcdfc59-6j998            0/1     Pending             0          25m

What you expected to happen:

It starts

How to reproduce it (as minimally and precisely as possible):

  1. podman machine init
  2. podman machine start
  3. podman machine ssh
  4. sudo -s
  5. setsebool -P container_manage_cgroup true
  6. podman volume create ushift-vol
  7. podman run -d --rm --name ushift --privileged -v /lib/modules:/lib/modules -v ushift-vol:/var/lib --hostname ushift -p 6443:6443 rootfs/ushift

Anything else we need to know?:

Environment:

  • Microshift version (use microshift version): rootfs/ushift:latest
  • Hardware configuration:
  • OS (e.g: cat /etc/os-release): macOS with podman machine (brew install podman)
  • Kernel (e.g. uname -a): Linux localhost 5.13.13-200.fc34.x86_64 Init #1 SMP Thu Aug 26 17:06:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
  • Others: It uses Fedora CoreOS

Relevant Logs

@guillaumerose guillaumerose added the kind/bug Categorizes issue or PR as related to a bug. label Sep 15, 2021
@guillaumerose guillaumerose changed the title [BUG] Run [BUG] Run with podman machine Sep 15, 2021
@rootfs
Copy link
Member

rootfs commented Sep 15, 2021

@guillaumerose i don't maintain docker.io/rootfs/ushift any more. The latest official release is at quay.io/microshift/microshift:4.7.0-0.microshift-2021-08-31-224727-linux-amd64 or if you run the all-in-one mode, the image is at quay.io/microshift/microshift:4.7.0-0.microshift-2021-08-31-224727-aio-linux-amd64

@guillaumerose
Copy link
Author

Thanks! With the second image, it works perfectly.

It is really really nice. Awesome!

@guillaumerose
Copy link
Author

I gathered the instructions here if you are interested: https://gist.github.com/guillaumerose/66417a29135cc980ca4181bec8f2f2a5

Works out of the box with podman without Docker Desktop :)

@rootfs
Copy link
Member

rootfs commented Sep 15, 2021

@guillaumerose those instructions are surely PR worthy, looking forward

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants