Project

General

Profile

Actions

Bug #12567

open

Libvirt VM details not showing correct architecture

Added by Hans Scheffers over 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources - libvirt
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

foreman_img.gif View foreman_img.gif 43.8 KB Hans Scheffers, 11/23/2015 09:05 AM
Actions #1

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?

Actions #2

Updated by Hans Scheffers over 8 years ago

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

Actions #3

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

Actions #4

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.

Actions

Also available in: Atom PDF