-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Error: failed to parse 'podman info' results: json: cannot unmarshal string into Go value of type define.Info #11984
Comments
Anything strange in our paths? |
Is it possible that the "podman info" on the remote side is called not in JSON output format? |
@ichbindannmalwegmann : the podman system connection call uses |
Something is a bit weird, it calls an extra json.Marshal on the --format=json output ? So everything is quoted twice, and it looks like |
@afbjorklund Agreed, that should be removed. |
* Fix connection JSON encoding * Add custom ginkgo matchers for connection testing * Cleanup code Fixes containers#11984 Signed-off-by: Jhon Honce <[email protected]>
i am using podman 3.4.4 on windows,still got the problem ,what should i do .why not a bug fixed release ?
|
We don't tend to back port releases, unless you are doing it on RHEL. Podman 4.0 is in it's third RC. |
THanks, i already figure it's out. because the podman does not promiss API the same different by version. I downgrade each client into the same version. it's ok. |
and i also try the podman@master branch。looks it has fixed the problem, |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Steps to reproduce the issue:
podman system connection add ...
Describe the results you received:
Error: failed to parse 'podman info' results: json: cannot unmarshal string into Go value of type define.Info
Describe the results you expected:
Podman should add the connection.
Additional information you deem important (e.g. issue happens only occasionally):
The error appears only with local podman version 3.4.0. If I downgrade the local podman version to 3.1.0 it works. The remote podman version remains 3.4.0.
Output of
podman version
:Local podman:
Remote podman:
Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
n.a.
The text was updated successfully, but these errors were encountered: