Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions