Lagg edit input error



  • Hi everyone.

    I came across an error while trying to edit a LAGG configuration.

    When trying to either change the LAGG description or the LAGG Proto, i get the following error.

    The following input errors were detected: The field ',' is required.

    Is this a known issue?

    I'm running the following version:

    2.0-BETA4 (i386)
    built on Mon Dec 6 08:20:16 EST 2010



  • I'm not sure whether there is another bug or not, but there was a bug that it was showing the wrong text for the field name on input validation, fixed by https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/1634524df797d0c428ff07a8644387dfb9d4a39c



  • @Efonne:

    I'm not sure whether there is another bug or not, but there was a bug that it was showing the wrong text for the field name on input validation, fixed by https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/1634524df797d0c428ff07a8644387dfb9d4a39c

    I just updated to the latest build [[i]2.0-BETA4 (i386) built on Wed Dec 8 14:27:51 EST 2010 ] and the problem seem to still be present.



  • The time on that is before the time on the commit.



  • @Efonne:

    The time on that is before the time on the commit.

    I just updated to version 2.0-BETA4 (i386) built on Sat Dec 11 05:06:09 EST 2010

    I am still unable to change details (Lag proto or Description) on a LAGG interface.

    The error has changed though. I get the following error.

    The following input errors were detected: The field 'Member interfaces' is required.



  • Please post a screenshot!



  • @ermal:

    Please post a screenshot!

    I attached two screenshots.
    The first if of "Interfaces: LAGG" page.
    The second is of the "Firewall: LAGG: Edit" page with the error message.

    I'm running: 2.0-BETA4 (i386) built on Sun Dec 12 23:37:33 EST 2010






  • Well to me this seems correct.
    In your screenshots you show that the lagg has members re3 and re2  but when you edit them they are not there, possibly you assigned them which discards them as lagg candidates.

    You have not even selected re0 and to create a lagg you need to select at least one interface. To me this is working properly and its not a bug!


  • Rebel Alliance Developer Netgate

    I imagine that some people will hit that screen expecting it to work like some switches, where you first create the interface and then later go back and add interfaces to it after you configure the lagg settings.

    Looks like it might be time for a simple howto. :-)



  • @ermal:

    Well to me this seems correct.
    In your screenshots you show that the lagg has members re3 and re2  but when you edit them they are not there, possibly you assigned them which discards them as lagg candidates.

    You have not even selected re0 and to create a lagg you need to select at least one interface. To me this is working properly and its not a bug!

    I'm not trying to add or remove a parent interface to LAGG0. What i'd like to be able to do is modify the "Lag proto" and/or description for LAGG0 after it's been already created.



  • @jimp:

    I imagine that some people will hit that screen expecting it to work like some switches, where you first create the interface and then later go back and add interfaces to it after you configure the lagg settings.

    Looks like it might be time for a simple howto. :-)

    True. I may be going about this the wrong way so what follows are the steps i took.
    I'm assuming that once a LAGG interface is created; I should be able edit it's settings (members, proto, description) at a later date.
    Is my assumption correct?

    Interfaces:

    • re0 (wan - pppoe)
    • re1 (lan)
    • re2 (free: to be used for lagg)
    • re3 (free: to be used for lagg)

    Create LAGG with unused interfaces

    1- Interfaces -> Assign (drop down)

    2- Interfaces - LAGG (tab menu)
    -Click on "+" to add.

    3- Firewall: LAGG: Edit (page)
    -Highlight both em2 and em3 from "Parent Interface".
    -Select "FAILOVER" for "Lag Proto"
    -click on Save.

    So far so good.
    Now let's say i want to change the "Lag proto" for LAGG0 from "FAILOVER" to "LACP".
    Here's what i do.

    EDIT LAGG

    1- Interfaces -> Assign (drop down)

    2- Interfaces - LAGG (tab menu)
    -Click on "edit" button next to interface LAGG0 (members em2, em3).

    3- Firewall: LAGG: Edit (page)
    -Change "Lag proto" from "FAILOVER" to "LACP".
    -Click on save. (PROBLEM APPEARS with the following Message)

    Error Message: The following input errors were detected:The field 'Member interfaces' is required.

    What am i doing wrong?


  • Rebel Alliance Developer Netgate

    Actually that sounds right, but I wonder if there is a bug in some of the code meant to prevent assigning interfaces to a lagg that are already in use by other laggs. It may be a little too good in that it might be excluding interfaces assigned to the current lagg from displaying.



  • Please try the latest version of snapshots it should be fixed.
    Jim was right that the code was 'too good' and was removing even present members of the lagg.



  • @ermal:

    Please try the latest version of snapshots it should be fixed.
    Jim was right that the code was 'too good' and was removing even present members of the lagg.

    It's a step in the right direction; but there's a new problem now.

    I was able to successfully add two nics to an already configured lagg (bringing the total to 4 nics). (see lagg_edit_error_5.JPG)

    But if i try to edit anything on this lagg or even delete it, pfSense reboots with the following message at the console (see lagg_edit_error_4.JPG).

    Cannot dump. Device not defines or unavailable.
    Automatic reboot in 15 seconds - press a key on the console to abort

    A dmesg at the console show the interfaces and so does an ifconfig. (see lagg_edit_error_6.JPG)

    If i do hit a key at the console, this is what show's up (see lagg_edit_error_7.JPG).









Locked