Skip to content

Template setting 'guest.cpu.mode' is not set on instances imported from QCOW2 #12594

@rajujith

Description

@rajujith

problem

For instances imported using importVm , importsource=shared and templateid passed the template property 'guest.cpu.mode' is not set on the imported instance.

versions

4.22.0

The steps to reproduce the bug

1.Import a VM from QCOW2 file in the primary storage: importVm , importsource=shared and templateid set to a template having 'guest.cpu.mode' set for example host-model.
2.Check the instance settings for 'guest.cpu.mode'

...

What to do about it?

'guest.cpu.mode' need to be set on the imported instance if present on the associated template.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions