Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-11194

haproxy : incorrect mailers config order

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
      MODULES Bug Template
    • Team:
      Modules
    • Method Found:
      Manual Test

      Description

      Mailers config block must go before listeners or else you will get an error

       

      ERROR:

      Error: Execution of '/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg20210916-63186-1n6z1i -c' returned 1: [ALERT] 258/170909 (63606) : parsing [/etc/haproxy/haproxy.cfg20210916-63186-1n6z1i:37] : unknown keyword 'mailers' in 'listen' section
      [ALERT] 258/170909 (63606) : parsing [/etc/haproxy/haproxy.cfg20210916-63186-1n6z1i:38] : unknown keyword 'mailer' in 'listen' section
      [ALERT] 258/170909 (63606) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg20210916-63186-1n6z1i
      [WARNING] 258/170909 (63606) : config : 'stats' statement ignored for proxy '50' as it requires HTTP mode.

       

      changing the `order` for the concat in both haproxy::mailers and haproxy::mailer would fix this issue

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            oniGino Gino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support