Bug #12567
openLibvirt VM details not showing correct architecture
Description
Hi
I create a libvirt compute resource, that has powerKVM as platform.
When i create a vm on this host with architecture ppc, the template says "Machine Type: kvm / x86_64"
Architecture is defined as pcc, media a.s.o. also
What information do you need to be able to look in this problem?
Files
Updated by Dominic Cleal over 8 years ago
When i create a vm on this host with architecture ppc, the template says "Machine Type: kvm / x86_64"
Sorry, what template are you talking about here precisely?
Updated by Hans Scheffers over 8 years ago
- File foreman_img.gif foreman_img.gif added
Dominic Cleal wrote:
When i create a vm on this host with architecture ppc, the template says "Machine Type: kvm / x86_64"
Sorry, what template are you talking about here precisely?
The properties when you click on the create VM under the compute resource
Updated by Dominic Cleal over 8 years ago
- Subject changed from Architecture not in yaml to Libvirt VM details not showing correct architecture
- Category set to Compute resources - libvirt
This is probably a bug in fog-libvirt, it isn't populating the 'arch' attribute when retrieving the list of domains so it's falling back to the default that the fog-libvirt model defines (x86_64). (Assuming the arch is even supplied by libvirt.)
https://github.com/fog/fog-libvirt/blob/v0.0.2/lib/fog/libvirt/requests/compute/list_domains.rb#L52
Updated by Anonymous over 7 years ago
It seems at the moment even the ruby bindings for libvirt don't have that information available, which is why the x86_64 default of fog-libvirt wins here.