[7.875][QUESTION][CLOSED] NIC Sorting

Hi folks,
does the NIC sorting apply to v8b backup/restore?

I have just built v7.875b and used the backup from v7.866. I had to edit the ASG rules file again to get the eths in the correct order.

Ian M
Parents
  • Astaro Beta Report
    --------------------------------
    Version: 7.875
    Type: QUESTION
    State: OPEN
    Reporter: RFCat_vk
    Contributor:  
    MantisID: 
    Target version: 
    Fixed in version: 
    --------------------------------

  • I don't know what you mean exactly. What I can tell you is that there is a still an unresolved Mantis ID which covers keeping the NIC sort for v7 -> v8 upgrade / backup restore or NIC sort restore in general.

    BTW: There never was such a mechanism in lower ASG versions.

    In v7 it is /var/lib/nics, in v8 it is /etc/udev/rules.d/70-net-persistent.rules. These files a responsible for the sorting of the NICs. What we will try to do is restoring the NIC order by extracting the data from the confd storage and 'convert' it into the udev rules file.
Reply
  • I don't know what you mean exactly. What I can tell you is that there is a still an unresolved Mantis ID which covers keeping the NIC sort for v7 -> v8 upgrade / backup restore or NIC sort restore in general.

    BTW: There never was such a mechanism in lower ASG versions.

    In v7 it is /var/lib/nics, in v8 it is /etc/udev/rules.d/70-net-persistent.rules. These files a responsible for the sorting of the NICs. What we will try to do is restoring the NIC order by extracting the data from the confd storage and 'convert' it into the udev rules file.
Children
  • Hi,
    In v7.5xx and previous versions you used a different sorting algorithm which by ASG admission in an earlier post was very inefficient. In the v8b you implemented a more efficient sort which changed the order of the NICs from the previous version.

    I have a config which uses a low performance NIC on the external interface and to ensure that it becomes the external NIC after a restore I have to edit the rules file. 
    I was under the impression that the restoring the order of the NICs as per a config file had been implemented. But to be sure I asked a question, because I had to edit the file again in this build.

    Ian M