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

Error handling docker v2 schema #15

Closed
ericgravelle-energir opened this issue Nov 17, 2023 · 1 comment
Closed

Error handling docker v2 schema #15

ericgravelle-energir opened this issue Nov 17, 2023 · 1 comment

Comments

@ericgravelle-energir
Copy link

ericgravelle-energir commented Nov 17, 2023

Running cf push redis-cache --docker-image redis:7.2.3 -m 1G --no-route produces the following error:

builder exited with error: failed to fetch metadata from [library/redis] with tag [7.2.3] and insecure registries [] due to unsupported schema version 2

Running Version:

- name: diego
  sha1: 085fb57c12ea3d3900e673b6adb5eac7ac058707
  url: https://bosh.io/d/github.com/cloudfoundry/diego-release?v=2.85.0
  version: 2.85.0

Full push:

21:19.2	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 creating container for instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:19.2	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 successfully created container for instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:19.2	INFO	Staging process started ...
21:19.2	INFO	builder exited with error: failed to fetch metadata from [library/redis] with tag [7.2.3] and insecure registries [] due to unsupported schema version 2
21:19.2	INFO	Exit status 2
21:19.2	INFO	Failed to stage build: staging failed
21:14.6	INFO	Staging...
21:14.6	INFO	Staging process failed: Exit trace for group:
21:14.6	INFO	Staging Failed: STG: Exited with status 2
21:14.6	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 stopping instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:14.6	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 destroying container for instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:14.6	INFO	Cell ea153bfd-f162-4abb-acde-063489cfa8a6 successfully destroyed container for instance 4901c58d-e8f6-4570-9f56-730c3cbd1f1c
21:14.6	INFO	docker:
21:14.6	INFO	image: redis:7.2.3
21:14.6	INFO	Scaling process: "web"
21:14.6	INFO	Creating build for app with guid e1b1714d-04ca-430a-9565-8163d23a69b7
21:08.9	INFO	Added process: "web"
21:08.9	INFO	Created app with guid e1b1714d-04ca-430a-9565-8163d23a69b7
21:08.9	INFO	Applied manifest to app with guid e1b1714d-04ca-430a-9565-8163d23a69b7 (---
21:08.9	INFO	applications:
21:08.9	INFO	- name: redis-cache
21:08.9	INFO	memory: 1G
21:08.9	INFO	no-route: true
21:08.9	INFO	)
21:08.9	INFO	Updated app with guid e1b1714d-04ca-430a-9565-8163d23a69b7 ({"lifecycle"=>{"type"=>"docker"}})
21:08.9	INFO	Updated app with guid e1b1714d-04ca-430a-9565-8163d23a69b7 ({"environment_variables"=>"[PRIVATE DATA HIDDEN]"})
@ericgravelle-energir
Copy link
Author

cloudfoundry/diego-release#833 appears to have resolved this issue. Thanks!

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

1 participant