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

Planter NOK with Podman instead of Docker on Fedora #13044

Closed
vorburger opened this issue Jun 14, 2019 · 9 comments
Closed

Planter NOK with Podman instead of Docker on Fedora #13044

vorburger opened this issue Jun 14, 2019 · 9 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@vorburger
Copy link
Contributor

vorburger commented Jun 14, 2019

What happened:
Build Failures when running e.g. ../test-infra/planter/planter.sh bazel build //cmd/kubectl as suggested here on a Fedora 30 with podman instead of docker.

What you expected to happen:
I guess i expected build/run.sh as advertised in the README? smile

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

  1. Install Fedora 30 Server
  2. sudo dnf install podman-docker
  3. git clone https://github.com/kubernetes/test-infra.git
  4. git clone https://github.com/kubernetes/kubernetes.git
  5. cd kubernetes
  6. ../test-infra/planter/planter.sh bazel build //cmd/kubectl

There are probably a series of several (small) problems:

  1. Error: Invalid --security-opt 1: "label:disable"
  2. Error: invalid option type "delegated"
@vorburger
Copy link
Contributor Author

  1. Error: Invalid --security-opt 1: "label:disable"

seems to be related to containers/skopeo#567, and #13045 fixes that for me.

  1. Error: invalid option type "delegated"

probably related to containers/podman#3340

@BenTheElder
Copy link
Member

BenTheElder commented Jun 17, 2019

I guess i expected build/run.sh as advertised in the README? smile

?

Note that this is definitely not tested with podman and is mostly in maintenance mode, I no longer use this and ixdy no longer works on Kubernetes actively. We haven't seen terribly many active users of this tool.
I would seriously consider https://github.com/bazelbuild/bazelisk moving forward if you're using linux. 😅

@BenTheElder
Copy link
Member

is this still an issue? also not sure what the build/run.sh reference is.

@vorburger
Copy link
Contributor Author

Note that this is definitely not tested with podman and is mostly in maintenance mode, I no longer use this and ixdy no longer works on Kubernetes actively. We haven't seen terribly many active users of this tool.

OK, learning here.. I just blindly followed where First Contact README doc was taking me.

I would seriously consider https://github.com/bazelbuild/bazelisk moving forward if you're using linux

interesting, didn't know. If I understand correctly, that just saves you the initial dnf copr enable vbatts/bazel; sudo dnf install bazel, am I getting this right, or is there more to it than that? (The problems I ran into here were when initially trying to build K8s (itself, from source) inside a container. When I realized that was a path not much threaded, I've moved to building it on the host, and that, obviously, worked smoothly.)

is this still an issue?

I take absolutely no offense if you close this. It's not blocking me at all.

I'm hesitant to "just" close it myself already - because Planter is (still) NOK with Podman instead of Docker on Fedora... 😸 and Podman maintainers have been (very) reactive to fix related problems, note containers/podman#3340 and containers/buildah#1675.

also not sure what the build/run.sh reference is.

I meant this here but copy/pasted from another issue I had opened - ignore.

@BenTheElder
Copy link
Member

interesting, didn't know. If I understand correctly, that just saves you the initial dnf copr enable vbatts/bazel; sudo dnf install bazel,

More than that, it's a launcher for various versions. You'll need to switch if you go to an older Kubernetes release for example. One of the main motivations for planter was trivially being able to use different versions.

I'm hesitant to "just" close it myself already - because Planter is (still) NOK with Podman instead of Docker on Fedora... 😸 and Podman maintainers have been (very) reactive to fix related problems, note containers/podman#3340 and containers/buildah#1675.

Sure, please keep it open until it is fixed. It looked like it might have been complete and there were no further comments :-)

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 22, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 22, 2019
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants