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

Push via website or cli are two different things? #379

Closed
hashkeks opened this issue Nov 5, 2021 · 4 comments
Closed

Push via website or cli are two different things? #379

hashkeks opened this issue Nov 5, 2021 · 4 comments

Comments

@hashkeks
Copy link
Contributor

hashkeks commented Nov 5, 2021

Hello there,

first I want to thank you for this awesome software!
Me and a partner were working on porting this to Kubernetes as a little project and then stumbled across the problem, that images which are uploaded via the website are stored in a different place (sregistry/minio) than images pushed via singularity on the cli (sregistry/minio-images).
We first thought this would be an error in our (unpolished) Kubernetes port, but we also noticed this behaviour with the docker-compose version.
One can download both images via the website but when one tries to pull the web-uploaded image via singularity cli, this error message occurs:

FATAL:   While pulling library image: error fetching image: unable to download image: error downloading image: requested image was not found in the library

We guess that's due to minio not being aware of the other image location sregistry/minio. Is this normal/known behaviour or do we maybe have missed something in the documentation or setup?

All the best

@vladdoster
Copy link
Contributor

@hashkeks Could you share the command your'e attempting to run?

@hashkeks
Copy link
Contributor Author

hashkeks commented Nov 5, 2021

Hey @vladdoster , thank you for your super fast response.
Sure, please see the two attached screenshots that show the commands, error messages and what our collection looks like online. We cleaned the cache and locally saved images inbetween the commands so we can demonstrate it in a clean way :)

cli-push is the image we pushed via cli, web-push is the image we uploaded via the web-gui into the collection. They're actually the exact same images, just named differently.

gitIssue1
gitIssue2

@vsoch
Copy link
Member

vsoch commented Nov 5, 2021

The "upload via web" functionality is fairly deprecated - I really should have removed it. The primary avenue for push/pull should really be the singularity client. I'd be open to either just removing it, or if someone wants to look into consolidating the two actions that would work too.

@hashkeks
Copy link
Contributor Author

hashkeks commented Nov 5, 2021

Alright then, thanks a lot for clarifying this issue @vsoch !
We actually don't plan to use the web-upload, but stumbled upon this in our tests.
Gonna close this issue then.

@hashkeks hashkeks closed this as completed Nov 5, 2021
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

No branches or pull requests

3 participants