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

[BUG] CLI error during spawn run download image phase #374

Open
sleipnir opened this issue Sep 24, 2024 · 0 comments
Open

[BUG] CLI error during spawn run download image phase #374

sleipnir opened this issue Sep 24, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@sleipnir
Copy link
Member

Describe the bug
When running the spawn dev run command on MacOS M1 I get an error while downloading the proxy image. See the images below.

To Reproduce
Steps to reproduce the behavior:

  1. Run: spawn dev run -p ./protos -s spawn-system

Expected behavior
May the command be executed successfully.

Screenshots
Captura de Tela 2024-09-23 às 23 17 59

If I try to download the proxy image manually I get an error about the OCI manifest:
Captura de Tela 2024-09-23 às 23 18 20

Spawn Operator (please complete the following information):

  • Version [1.4.3]

Spawn Proxy (please complete the following information):

  • Version [1.4.3]

Spawn CLI (please complete the following information):

  • Version [1.4.3]

Additional context
To workaround it was necessary to download the image ghcr.io/eigr/spawn-proxy:1.4.3@sha256:aef677ba48a3f7fd7a594354eabcbc7c46657492244fe2b5ad256819d1daf05b and create a tag from the oci registry as below:

Captura de Tela 2024-09-23 às 23 26 52

Captura de Tela 2024-09-23 às 23 27 09

After this it was possible to successfully run the downloaded image locally:
Captura de Tela 2024-09-23 às 23 28 08

It was also possible to run the command by passing the --proxy-image option with the following:

spawn dev run --proxy-image=ghcr.io/eigr/spawn-proxy:1.4.3@sha256:aef677ba48a3f7fd7a594354eabcbc7c46657492244fe2b5ad256819d1daf05b -p ./protos -s spawn-system

Captura de Tela 2024-09-23 às 23 31 38

@sleipnir sleipnir added bug Something isn't working good first issue Good for newcomers labels Sep 24, 2024
@sleipnir sleipnir added this to the 1.6.0 milestone Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant