• [6.8.0 - 6.8.1] VM template is deleted if cpu topology is not defined


    ghost82
    • Minor

    Hi all,

    this happens on both 6.8.0 and 6.8.1 (can't test previous versions).

     

    Bug replication:

     

    1- Have a virtual machine (mine is osx vm with the attached customized xml template - oskey is removed accordingly to forum rules); I'm specifying topology as a qemu:arg value with argument smp, so there's no <topology> line in the xml. All cores are pinned to this vm (16 cores); there's no cpu isolation.

     

    2- Unraid webUI: Settings-->CPU pinning--> CPU pinning VM: all cores are selected:

    1.thumb.png.37461bf31b061a1966a89e43668088f1.png

     

    3- Deselect some cores (in my example cores 0-7 are deselected):

    2.thumb.png.b8b4ca184fe117805004d472bb72e5e1.png

     

    4- Click apply: error "missing sockets attribute in cpu topology" pop up:

    3.thumb.png.649da35d25187551254f058521e1f15c.png

     

    5- Click OK

     

    6- in Unraid WebUI go to VM: you can see that the VM template has been deleted (luckily disks are in their places)

    4.thumb.png.7124d1983af8e999acbac9b10aa1ee56.png

     

    Issue description: Unraid should popup an error window or better be aware that the topology can be specified by qemu:arg (or not specified at all), but absolutely not deleting the vm template.

    Take also into account that the <topology> line or the smp+topology are not a must for an osx vm, as they can lead to kernel panics, so one more case is no smp by qemu:arg and no <topology> line in the xml.

     

    Thanks

     

    Marking as minor, as the vm disks are not deleted, but some problems to rebuild the template if you have customized it and you didn't save it somewhere else.

    xml-template.txt




    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.