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

How do i enforce a different architecture? #4519

Open
aronchick opened this issue Sep 24, 2024 · 1 comment
Open

How do i enforce a different architecture? #4519

aronchick opened this issue Sep 24, 2024 · 1 comment
Labels
th/game-day Issues reported during game day testing

Comments

@aronchick
Copy link
Collaborator

I have an image that is built for both linux/arm64 and linux/amd64 - how do i enforce using it on a mac?

❯ bacalhau docker run docker.io/bacalhauproject/python-runner:2024.09.24.1045
Job successfully submitted. Job ID: j-c0bfb29e-a0d8-4875-a90a-32142a543bf6
Checking job status... (Enter Ctrl+C to exit at any time, your job will continue running):

 TIME          EXEC. ID    TOPIC            EVENT
 11:57:56.800  /           Submission       Job submitted
 11:57:56.815  e-53c4c1c1  Scheduling       Requested execution on n-ccc40057
 11:57:56.838  e-53c4c1c1  Exec Scanning    rejected bid: this node does not support the available image platforms [linux/amd64] (supports
                                            [linux/arm64])
 11:57:56.849  e-d7265374  Scheduling       Requested execution on n-5a8a7e9e
 11:57:56.867  e-d7265374  Exec Scanning    rejected bid: this node does not support the available image platforms [linux/amd64] (supports
                                            [linux/arm64])
 11:57:56.877  /           Scheduling       Error: not enough nodes to run job. requested: 1, available: 2, suitable: 0.
                                            • 2 of 2 nodes: job rejected

Error: job failed

To get more details about the run, execute:
	v1.5.0/bacalhau job describe j-c0bfb29e-a0d8-4875-a90a-32142a543bf6

To get more details about the run executions, execute:
	v1.5.0/bacalhau job executions j-c0bfb29e-a0d8-4875-a90a-32142a543bf6
@aronchick aronchick added the th/game-day Issues reported during game day testing label Sep 24, 2024
@wdbaruni
Copy link
Member

This is mostly going to be addressed post v1.5.0 as most likely an existing behaviour. It worked on my arm mac, but that just means there is no deterministic behaviour on how we select the right architecture for images

@wdbaruni wdbaruni moved this from Inbox to Triage in Engineering Planning Sep 25, 2024
@wdbaruni wdbaruni moved this from Triage to Backlog in Engineering Planning Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
th/game-day Issues reported during game day testing
Projects
Status: Backlog
Development

No branches or pull requests

2 participants