-
Notifications
You must be signed in to change notification settings - Fork 91
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
platform: linux/amd64 config is ignored. dokken image shows aarch64. #288
Comments
I digged a bit into this one and found a possible workaround, @sfdcfluong did you try and remove the local docker image for the platform you don't want to use (i.e. arm64)? If you specify a platform dokker will pull the correct arch flavour (in your excample linux/amd64), but then it seems to run the container without passing the platform of choice, resulting in the wrong platform being used if available. Thus removing the offending image for the platform you don't want should work around the problem. |
I'm running into the same issue as @sfdcfluong, also have As per @psacc 's suggestion, I've tried purging my system of all linux/arm64 images (including |
I figured out what @psacc was doing differently: they ALSO have By purging your system of arm64 WORKAROUND:
|
Glad we found a workaround. I need to kick tires on this a bit more. Ideally this should be closer to "just works" but let me know what kind of help would move this forward. |
not a lot if info on https://github.com/test-kitchen/.github/blob/main/CONTRIBUTING.md |
@sfdcfluong how can I help you with this one? What I'd usually suggest is you open a draft PR with some basic code + suggestions if it's a big PR. If it's a small PR, feel free to make the change, with some tests in a new PR. CI should now pick up any style or unit breakages. I also have the same issues so if you want any more direct help with this, please feel free to reach out on Chef Community Slack. |
Cool... I'll give it a try when I can circle back to this. Thanks for the
tip.
…On Tue, Nov 28, 2023 at 8:25 AM Dan Webb ***@***.***> wrote:
@sfdcfluong <https://github.com/sfdcfluong> how can I help you with this
one?
What I'd usually suggest is you open a draft PR with some basic code +
suggestions if it's a big PR.
If it's a small PR, feel free to make the change, with some tests in a new
PR.
CI should now pick up any style or unit breakages. I also have the same
issues so if you want any more direct help with this, please feel free to
reach out on Chef Community Slack.
—
Reply to this email directly, view it on GitHub
<#288 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWXZWUDNZJ7EO65G5BLZPVTYGXQ2TAVCNFSM6AAAAAAUOFYAJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRZHAZTKOBTGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
*Franco (Francis Luong)*
*Principal Engineer, Network Visibility and Telemetry (NVT)*
*Salesforce.com*
|
👻 Brief Description
platform: linux/amd64
config is ignored. dokken image shows aarch64.https://kitchen.ci/docs/drivers/dokken/#platform
Version
Environment
Macos ventura
Darwin Kernel Version 21.6.0: Sun Nov 6 23:31:13 PST 2022; root:xnu-8020.240.14~1/RELEASE_ARM64_T6000 arm64
Scenario
My chef recipe adds a yum repo and updates a package but I get
No candidate version available for <package>
. Probably because of the architecture: aarch64.Steps to Reproduce
I can't really provide this in a usable fashion because my current chef recipe specifies an internal yum repo.
Expected Result
[What are you expecting to happen as the consequence of above reproduction steps?]
Actual Result
note: this works just fine with
kitchen-docker
but I can't get this to work with kitcken-dokken... I suspect the platform aarch64 is the problem.➕ Additional context
here's what my kitchen.yml looks like:
The text was updated successfully, but these errors were encountered: