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

Images uploaded via web interface not found with Singularity pull #445

Open
pfunzowalter opened this issue Jan 16, 2024 · 4 comments · May be fixed by #446
Open

Images uploaded via web interface not found with Singularity pull #445

pfunzowalter opened this issue Jan 16, 2024 · 4 comments · May be fixed by #446

Comments

@pfunzowalter
Copy link

Describe the bug
I am trying to pull the image from the registry that I uploaded via the web interface using Singularity CE. At the moment I can pull images that are uploaded via singularity push, however, it is not working for the images uploaded to the registry via the web interface or via Singularity Global Client . I have also noticed that there are two download buttons for images uploaded via the web interface. The first one is on the collection page and does not work for images uploaded via the web interface (see image one attached). The second download button is shown in image 2, the button works for images that are uploaded via the web interface but not there for images uploaded with singularity push.

To Reproduce
_Singularity logs
_
walter$ singularity --debug pull library://supervisedml/astror:latest DEBUG [U=10368,P=2076617]persistentPreRun() Singularity version: 3.11.3 DEBUG [U=10368,P=2076617]persistentPreRun() Parsing configuration file /usr/local/etc/singularity/singularity.conf DEBUG [U=10368,P=2076617]handleConfDir() /users/walter/.singularity already exists. Not creating. DEBUG [U=10368,P=2076617]handleRemoteConf() Ensuring file permission of 0600 on /users/walter/.singularity/remote.yaml DEBUG [U=10368,P=2076617]getCacheParentDir() environment variable SINGULARITY_CACHEDIR not set, using default image cache DEBUG [U=10368,P=2076617]apiGet() apiGet calling v1/images/supervisedml/astror:latest?arch=amd64 INFO [U=10368,P=2076617]downloadWrapper() Downloading library image DEBUG [U=10368,P=2076617]ConcurrentDownloadImage() Fallback to (legacy) library download DEBUG [U=10368,P=2076617]legacyDownloadImage() This library does not support architecture specific tags DEBUG [U=10368,P=2076617]legacyDownloadImage() The image returned may not be the requested architecture DEBUG [U=10368,P=2076617]legacyDownloadImage() Pulling from URL: v1/imagefile/supervisedml/astror:latest DEBUG [U=10368,P=2076617]DownloadImage() Cleaning up incomplete download: /users/walter/.singularity/cache/library/tmp_1840432866 FATAL [U=10368,P=2076617]pullRun() While pulling library image: error fetching image: unable to download image: error downloading image: requested image was not found in the library

Expected behavior

If applicable, add versions and screenshots to help explain your problem.
I cloned the master repo.
image-1
image-2

@vsoch
Copy link
Member

vsoch commented Jan 16, 2024

We probably should remove the download buttons from the UI. Singularity global client is not supported. If library pull works you should use that.

@pfunzowalter
Copy link
Author

Okay, the pull works but only for the images uploaded with the singularity push. The image uploaded via the web interface can not be pulled due to the error mentioned above. The image is available at the web interface but it just can't be pulled with the singularity CE.

@vsoch
Copy link
Member

vsoch commented Jan 16, 2024

Thanks @pfunzowalter these are good points, and helpful to know! I will get in a PR that removes the UI buttons and references to sregistry.

@vsoch vsoch linked a pull request Jan 16, 2024 that will close this issue
@vsoch
Copy link
Member

vsoch commented Jan 16, 2024

hi @pfunzowalter ! Here is a PR and associated container image you can use to test - let me know if it looks ok! #446

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants