Closed jesusbv closed 3 months ago
When container runtime tools on the client do not send the proper credentials or an exception happens during the catalog search, handle the exception
Put wrong credentials on /etc/containers/config.json and run podman search foo and autentication required message is shown
/etc/containers/config.json
podman search foo
ec2-user@ip-172-31-21-235:~> sudo /usr/bin/cloudguestregistryauth Credentials refreshed ec2-user@ip-172-31-21-235:~> podman search foo ERRO[0000] error getting search results from v2 endpoint "registry-ec2.susecloud.net": authentication required Error: 1 error occurred: * couldn't search registry "registry-ec2.susecloud.net": authentication required ec2-user@ip-172-31-21-235:~>
Please select the correct option.
Please check off each item if the requirement is met.
MANUAL.md
package/obs/rmt-server.changes
Please check out our review guidelines and get in touch with the author to get a shared understanding of the change.
Description
When container runtime tools on the client do not send the proper credentials or an exception happens during the catalog search, handle the exception
How to test
Put wrong credentials on
/etc/containers/config.json
and runpodman search foo
and autentication required message is shownChange Type
Please select the correct option.
Checklist
Please check off each item if the requirement is met.
MANUAL.md
file with any changes to the user experience.package/obs/rmt-server.changes
.Review
Please check out our review guidelines and get in touch with the author to get a shared understanding of the change.