-
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
api: return imageID instead of imageName, for "Image" when Podman api is queried #15360
api: return imageID instead of imageName, for "Image" when Podman api is queried #15360
Conversation
… is queried Signed-off-by: Josh Patterson <[email protected]>
Tests are red, but changes LGTM otherwise |
/approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's the error:
[+0078s] not ok 414 [20-containers] GET containers/8d97d1ece10812a6e793307a813ddb4d34f0d83ecd05d1af3fbc68fffcad303b/json : .Image
[+0078s] # expected: localhost/test/testformultitag:tag
[+0078s] # actual: sha256:5e9e9275e4d60569c72dde5d1e31cee0795df81a386bdc325873b8ed22875bc6
And if it's useful, the 1043 test failure:
|
Do you have any guidance on the current test failures? |
On the initial PR request, only two tests failed CI. After correcting those two tests, which were confirmed to be affected by this PR, they are now passing. However, now the |
That's unrelated to your changes. Apologies for the inconvenience. I suspect that the Ubuntu tests are using a broken containers/conmon. @lsm5 @cevich can we bump conmon to v2.1.4 in the VMs? v2.1.3 is broken. Cc: @edsantiago |
There is no conmon-2.1.4 for Ubuntu. As of yesterday, it's still 2.1.3 I've restarted the flakes. I think the only solution here is to file yet another ubuntu-is-broken issue, then add |
It's building at https://build.opensuse.org/package/show/devel:kubic:libcontainers:unstable/conmon , so this should make progress in sometime. |
v2.1.4 should now be available on the kubic repo. And I see the tests are green, unless I'm looking in the wrong place. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: m0duspwnens, mheon, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks!
[NO NEW TESTS NEEDED]
This PR is intended to resolve a discrepancy for the "Image" key when the Podman API is queried.
Query example:
The Docker API returns the imageID for Image when querying a container as seen below:
When querying the Podman API, the imageName is currently being returned:
Once the change is implemented, the imageID is returned for the Image key.
Does this PR introduce a user-facing change?