← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1315820] [NEW] lbaas health monitor use PING failed

 

Public bug reported:

I've enabled LBaaS with haproxy, I've configured a pool with vip and
members, the health_monitor type is 'PING', then I found the status of
members is always 'INACTIVE', the code in '_get_server_health_option' is
:

    server_addon = ' check inter %(delay)ds fall %(max_retries)d' % monitor
    opts = [
        'timeout check %ds' % monitor['timeout']
    ]

    if monitor['type'] in (constants.HEALTH_MONITOR_HTTP,
                           constants.HEALTH_MONITOR_HTTPS):
        opts.append('option httpchk %(http_method)s %(url_path)s' % monitor)
        opts.append(
            'http-check expect rstatus %s' %
            '|'.join(_expand_expected_codes(monitor['expected_codes']))
        )

    if monitor['type'] == constants.HEALTH_MONITOR_HTTPS:
        opts.append('option ssl-hello-chk')

I want to know whether health_monitor  support tpye of 'PING'?

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1315820

Title:
  lbaas health monitor use PING failed

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  I've enabled LBaaS with haproxy, I've configured a pool with vip and
  members, the health_monitor type is 'PING', then I found the status of
  members is always 'INACTIVE', the code in '_get_server_health_option'
  is :

      server_addon = ' check inter %(delay)ds fall %(max_retries)d' % monitor
      opts = [
          'timeout check %ds' % monitor['timeout']
      ]

      if monitor['type'] in (constants.HEALTH_MONITOR_HTTP,
                             constants.HEALTH_MONITOR_HTTPS):
          opts.append('option httpchk %(http_method)s %(url_path)s' % monitor)
          opts.append(
              'http-check expect rstatus %s' %
              '|'.join(_expand_expected_codes(monitor['expected_codes']))
          )

      if monitor['type'] == constants.HEALTH_MONITOR_HTTPS:
          opts.append('option ssl-hello-chk')

  I want to know whether health_monitor  support tpye of 'PING'?

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1315820/+subscriptions


Follow ups

References