Varnish 3: Can't create director

  • I have a new pfSense 2.1 setup.  I added the varnish 3 package and created 6 backends, all identical except for the IP and name.  Works fine if I don't define a director, although everything gets sent to the first backend.

    So I go to the LB Directors tab, click "add a new item" and try creating a director.  I give it a name, and then select the backends (I've tried anything from a single backend to all 6).  It won't "stick".

    The general system log shows this error:

    php: /pkg_edit.php: XML error: Attribute without value at line 2525 in /conf/config.xml

    And it reverts to a backup config.  Looking at /conf/config.xml.bad on line 2525 I see this:

    The entire varnish config section looks like this:

                    <varnishlbdirectors><config><director settings=""><directorname>cluster</directorname>

    Any ideas?

  • Did you selected the other options on lb director?

    Host equal to

    Did you filled weight option besides backend field?

  • Thanks for the reply.

    Yes, I've tried putting in the hostname and other values, a weight, etc.  Same problem.

  • Sorry for the late reply. I've found the bug.
    It's fixed on 0.2.1

Log in to reply