Skip to content

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

@sleipnir

Description

@sleipnir

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions