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 varlink search may not work properly #1255

Closed
QiWang19 opened this issue Aug 10, 2018 · 3 comments
Closed

Podman varlink search may not work properly #1255

QiWang19 opened this issue Aug 10, 2018 · 3 comments
Assignees
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@QiWang19
Copy link
Contributor

Podman searches all registries continuing after error

$ sudo podman search fed
ERRO[0002] error searching registry "quay.io": couldn't search registry "quay.io": unable to retrieve auth token: invalid username/password 
INDEX               NAME                                           DESCRIPTION                                       STARS   OFFICIAL   AUTOMATED
docker.io           docker.io/library/fedora                       Official Docker builds of Fedora                  686     [OK]       
docker.io           docker.io/resin/artik10-fedora                 Docker builds of Fedora from Resin for Samsu...   0                  
docker.io           docker.io/resin/artik710-fedora                Docker builds of Fedora from Resin for Samsu...   0                  
docker.io           docker.io/mattsch/fedora-nzbhydra              Fedora NZBHydra                                   5                  [OK]
docker.io           docker.io/smartentry/fedora                    fedora with smartentry                            0                  [OK]
docker.io           docker.io/mattsch/fedora-sonarr                Fedora Sonarr                                     0                  [OK]
docker.io           docker.io/darksheer/fedora22                   Base Fedora 22 Image -- Updated hourly            2                  [OK]
docker.io           docker.io/ovirtguestagent/fedora-atomic        The oVirt Guest Agent for Fedora Atomic Host...   0                  
docker.io           docker.io/fedora/apache                                                                          34                 [OK]
docker.io           docker.io/resin/artik710-fedora-golang         Go (golang) is a general purpose, imperative...   0                  
docker.io           docker.io/darksheer/fedora23                   Hourly updated Fedora 23                          1                  [OK]
docker.io           docker.io/darksheer/fedora24                   Hourly update Fedora 24                           1                  [OK]
docker.io           docker.io/darksheer/fedora                     Hourly update latest Fedora Image                 1                  [OK]
docker.io           docker.io/darksheer/fedora25                   Hourly updated Fedora 24 Docker Hub Image         1                  [OK]
docker.io           docker.io/vbatts/fedora-varnish                https://github.com/vbatts/laughing-octo/tree...   2                  [OK]
docker.io           docker.io/arkeys/federatedwiki                 Federated Wiki                                    2                  
docker.io           docker.io/vergissberlin/fedora-development     Docker fedora image to use for development, ...   0                  [OK]
docker.io           docker.io/vcatechnology/fedora                 A Fedora image that is updated daily              0                  [OK]
docker.io           docker.io/rhub/fedora-gcc-devel                R-devel on Fedora latest                          0                  
docker.io           docker.io/mattsch/fedora-nzbhydra2             Fedora NZBHydra2 (Java based)                     0                  [OK]
docker.io           docker.io/buildstream/buildstream-fedora       A container image that provides the BuildStr...   1                  
docker.io           docker.io/chrisshort/docker-fedora25-ansible   Docker container for Ansible Role/Playbook C...   0                  [OK]
docker.io           docker.io/urbaniak/fedora                      fedora with additional packages for python        0                  
docker.io           docker.io/rhub/fedora-clang-devel              R-devel on Fedora latest, with clang and gfo...   0                  
docker.io           docker.io/mattdm/fedora                        A basic Fedora image corresponding roughly t...   49                 
fedoraproject.org   fedoraproject.org/fedora                                                                         0                  
fedoraproject.org   fedoraproject.org/fedora-minimal                                                                 0                  

varlink stops at the first error

$ sudo varlink call unix:/run/podman/io.projectatomic.podman/io.projectatomic.podman.SearchImage '{"name": "fed"}'
Call failed with error: io.projectatomic.podman.ErrorOccurred
{
  "reason": "couldn't search registry \"quay.io\": unable to retrieve auth token: invalid username/password"
}
@QiWang19
Copy link
Contributor Author

@baude PTAL

@baude
Copy link
Member

baude commented Aug 11, 2018

@QiWang19 I saw this today too! It occurs with pull and run (when the image isnt already local).

@baude
Copy link
Member

baude commented Aug 11, 2018

actually the error I saw was different. So now two bugs ... :)

baude added a commit to baude/podman that referenced this issue Aug 13, 2018
when searching multiple registries for images, if we get an error on one
of the searches, we should keep going and complete the search.  if there
is only one search registry however, we will return an error.

Resolves: containers#1255

Signed-off-by: baude <[email protected]>
@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 Aug 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 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

No branches or pull requests

2 participants