XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XO spawned VM from template has wrong VIF network order

    Scheduled Pinned Locked Moved Xen Orchestra
    25 Posts 4 Posters 4.7k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mietek @tjkreidl
      last edited by

      @tjkreidl This is surprising then that VM spawned from the template would even be able to change NIC order. This make no sense.
      On the other hand how does the template know what is the list on NICs attached to the VM created from it and what should be the order of them then?

      tjkreidlT 1 Reply Last reply Reply Quote 0
      • tjkreidlT Offline
        tjkreidl Ambassador @mietek
        last edited by

        @mietek Depends on the VIF that the VM had in the template, I would imagine. Easy enough to change once you have your new VM. Worst case, create a new template.
        I have seen NICs randomly change order on hosts in the past - scary stuff!

        M ForzaF 2 Replies Last reply Reply Quote 0
        • M Offline
          mietek @tjkreidl
          last edited by

          @tjkreidl This is what I am trying to figure it out. There has to be a reason and there has to be a solution to it. Any other tips or ideas?

          1 Reply Last reply Reply Quote 0
          • ForzaF Offline
            Forza @tjkreidl
            last edited by

            @tjkreidl said in XO spawned VM from template has wrong VIF network order:

            I have seen NICs randomly change order on hosts in the past - scary stuff!

            This is why Linux switched from eth0 naming to names like enp5s0 etc. https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mietek @Forza
              last edited by

              @Forza Hey - thanks for the input. It would be valid if I would reboot xcp host though. All this is happening on live xcp server which is problematic.
              It's no the end of the world but there has to be a way to debug it.
              Any tips on that?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post