Can't define a cpu_model from a different architecture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Wishlist
|
Belmiro Moreira |
Bug Description
"""
It would be great if Nova supports instances with a different architecture than the host.
My use case is to be run aarch64 guests in a x86_64 compute node.
"""
In order to create an aarch64 guest in an x86_64 compute node we need to define the emulated CPU.
However, Nova doesn't allow to define a CPU model that doesn't match with the host architecture.
For example:
CONF.libvirt.
CONF.libvirt.
CONF.libvirt.
It fails with:
nova.exception.
The problem is related with the this nova check in driver.py:
if cpu_info['arch'] not in (fields.
return model
Again, it's relying the host architecture for the x86_64.
Environment
===========
Tested using the master branch (29/10/2020)
Other
=====
I'm now opening target bugs for the generic issue reported in https:/
Changed in nova: | |
assignee: | nobody → Belmiro Moreira (moreira-belmiro-email-lists) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
tags: | added: libvirt |