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

Podman --remote argument ordering can instead run local Podman #7211

Closed
mheon opened this issue Aug 3, 2020 · 2 comments · Fixed by #7212
Closed

Podman --remote argument ordering can instead run local Podman #7211

mheon opened this issue Aug 3, 2020 · 2 comments · Fixed by #7212
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@mheon
Copy link
Member

mheon commented Aug 3, 2020

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

Argument ordering with podman --remote can cause Podman to not run remote, and instad execute locally.

Steps to reproduce the issue:

  1. podman run -t -i --rm --name testctr fedora bash

  2. podman system service --log-level=debug

  3. podman exec --log-level=debug --remote exec -t -i testctr bash

Describe the results you received:

Note that podman exec debug logs indicate that it started Conmon, and there are no debug logs out of podman system service

Describe the results you expected:

Debug logs for podman system service indicate that podman exec executed remotely.

Additional information you deem important (e.g. issue happens only occasionally):

N/A

Output of podman version:

Master

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 3, 2020
@jwhonce
Copy link
Member

jwhonce commented Aug 3, 2020

@mheon From previous discussions --remote must be given before subcommand. Otherwise, it gets eaten before the subcommand can see it. #7212 does allow --remote to be given anywhere between podman and subcommand.

@mheon
Copy link
Member Author

mheon commented Aug 3, 2020

@jwhonce Oops, I mistyped the example - omit the first exec

It should be podman --log-level=debug --remote ...

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants