vmware / vic

vSphere Integrated Containers Engine is a container runtime for vSphere.
http://vmware.github.io/vic
Other
639 stars 173 forks source link

not working with v2-only registry #8565

Open greut opened 5 years ago

greut commented 5 years ago

Summary

Using a Nexus registry which doesn't have V1 image, pulling an image fails because it mostly tries to use the v1 (although saying otherwise)

https://github.com/vmware/vic/blob/master/lib/imagec/imagec.go#L621

VIC version

v1.5.2

Steps to reproduce
$ docker run my-nexus-repository/foo/bar
Actual behavior
Error while pulling image manifest: missing signature key.
Expected behavior

:rainbow:

Logs

n/a

Troubleshooting attempted

greut commented 5 years ago

my bad 1 and 2 means schema version. #8566

michmike commented 5 years ago

is there any action required on this ticket still?

greut commented 5 years ago

In the meantime, VIC became out of scope for us. That's up to you I'd say.

Cheers,

mariolenz commented 4 years ago

is there any action required on this ticket still?

I've had a similar problem recently. A "normal" docker was able to pull an image, but vic failed. Naturally, I assumed a vic problem but it turned out that it was a problem with our registry. But only with schema v1, not with schema v2. It's really hard to troubleshoot such an issue when vic doesn't work like a "normal" docker, that is using schema v1 instead of v2.

So I'd say yes, there is some action required on this ticket: Make vic use schema version 2.