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

feat(ssh): make debugging ssh show command #10798

Conversation

georgettica
Copy link

@georgettica georgettica commented Jun 28, 2021

EDIT: needs also support on adding the debug flag to the podman machine ssh command

in order to use the SSH variables for other uses, expose these args as a string, which can be used elsewhere

I wanted to build a container but I got the error:

Error: stat /var/tmp/libpod_builder758690613/build/["Dockerfile"]: no such file or directory

so I wanted to copy the docker file and the repo that came with it into the VM
which I was able to do

also I am now stuck on running

podman images
localhost/IMAGE            latest      XXXX  12 minutes ago  XXXX

podman run --rm -it IMAGE bash
Error: Error initializing source docker://localhost/IMAGEr:latest: error pinging docker registry localhost: Get "https://localhost/v2/": dial tcp [::1]:443: connect: connection refused

I can create an issue if needed

(specs of my machine will be given upon request)
I am using macOS

in order to use the SSH variables for other uses, expose these args as a string, which can be used elsewhere
@mheon
Copy link
Member

mheon commented Jun 28, 2021 via email

Co-authored-by: Jhon Honce <jhonce@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 4, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: georgettica
To complete the pull request process, please assign vrothberg after the PR has been reviewed.
You can assign the PR to them by writing /assign @vrothberg in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@georgettica
Copy link
Author

No reason, just copied from somewhere else in the codebase

@vrothberg
Copy link
Member

@georgettica, do you want to push this PR forward?

@georgettica
Copy link
Author

Sadly no, but I think the feature is a good addition to the tool.

@baude
Copy link
Member

baude commented Aug 4, 2021

ill push it over the finish line. thanks @georgettica

@baude
Copy link
Member

baude commented Aug 4, 2021

Replaced by #11136

@baude baude closed this Aug 4, 2021
@georgettica georgettica deleted the georgettica/make-podman-machine-ssh-verbose branch August 5, 2021 11:39
baude added a commit to baude/podman that referenced this pull request Aug 5, 2021
A user contributed a one line PR that enabled logging the podman machine
ssh command for debug. The user was not able to complete the submission
so this PR replaces that.

[NO TESTS NEEDED]

Replaces containers#10798

Signed-off-by: Brent Baude <bbaude@redhat.com>
mheon pushed a commit to mheon/libpod that referenced this pull request Aug 11, 2021
A user contributed a one line PR that enabled logging the podman machine
ssh command for debug. The user was not able to complete the submission
so this PR replaces that.

[NO TESTS NEEDED]

Replaces containers#10798

Signed-off-by: Brent Baude <bbaude@redhat.com>
@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 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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 this pull request may close these issues.

5 participants