You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to only the fact that only Intel flavored T2 and C3 instance types are supported, when I ran the quick start example on an AMD x86 machine firecracker threw
DEBU[2021-07-25T21:53:08.494627213+01:00] sending signal 9 to 2606 jailer=noop runtime=aws.firecracker vmID=9b003085-bb35-4a68-82d8-1313e6d28a80
ERRO[2021-07-25T21:53:08.494743477+01:00] failed to create VM error="failed to start the VM: [PUT /actions][400] createSyncActionBadRequest &{FaultMessage:Internal error while starting microVM: Error configuring the vcpu for boot: Cpuid error: InvalidVendor}" runtime=aws.firecracker vmID=9b003085-bb35-4a68-82d8-1313e6d28a80
DEBU[2021-07-25T21:53:08.494793305+01:00] stopVMM(): sending sigterm to firecracker runtime=aws.firecracker
WARN[2021-07-25T21:53:08.496218704+01:00] firecracker exited: signal: killed runtime=aws.firecracker
DEBU[2021-07-25T21:53:08.496377449+01:00] closing the exitCh 1 error occurred:
* signal: killed
runtime=aws.firecracker
ERRO[2021-07-25T21:53:08.496589230+01:00] shim CreateVM returned error error="rpc error: code = Unknown desc = failed to create VM: failed to start the VM: [PUT /actions][400] createSyncActionBadRequest &{FaultMessage:Internal error while starting microVM: Error configuring the vcpu for boot: Cpuid error: InvalidVendor}"
DEBU[2021-07-25T21:53:08.500861255+01:00] shim has been terminated error="signal: killed" vmID=9b003085-bb35-4a68-82d8-1313e6d28a80
ERRO[2021-07-25T21:53:08.504788450+01:00] copy shim log error="read /proc/self/fd/13: file already closed"
This makes me wonder given non-Intel template isn't supported at the moment, will it be useful to provide an option in the config to enable/disable the CpuTemplate (maybe something called disable_cpu_template default to false), so that firecracker-containerd can run on AMD/Arm.
The text was updated successfully, but these errors were encountered:
Hi!
Currently firecracker-containerd is enforcing CPU template as a runtime config where default T2 template is pinned in the config
firecracker-containerd/config/config.go
Line 90 in 4f43968
Due to only the fact that only Intel flavored T2 and C3 instance types are supported, when I ran the quick start example on an AMD x86 machine firecracker threw
I believe this error is raised by:
https://github.com/firecracker-microvm/firecracker/blob/35829883994e69c807f52b9efea915c5ad42f45f/src/cpuid/src/template/intel/mod.rs#L14-L16
On the other hand it runs perfectly fine on the AMD machine when
CPUTemplate
is not passed intomodels.MachineConfiguration
with something looks like:This makes me wonder given non-Intel template isn't supported at the moment, will it be useful to provide an option in the config to enable/disable the CpuTemplate (maybe something called
disable_cpu_template
default to false), so thatfirecracker-containerd
can run on AMD/Arm.The text was updated successfully, but these errors were encountered: