← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1317870] Re: LBAAS :Lbaas conf on network node doesnot reflect the correct mode for https

 

Marking as invalid per comment #3

** Changed in: neutron
       Status: Incomplete => Invalid

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

Title:
  LBAAS :Lbaas conf on network node doesnot reflect the correct mode for
  https

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  Steps to Reproduce: 
  Setup onto ICEHouse GA:
  Build :2014.1-0ubuntu1~cloud0

  1. Create a lbaas site with one client and two web server.
  2. Create pool with protocol as https
  +--------------------------------------+-------+-------------+----------+----------------+--------+
  | id                                   | name  | lb_method   | protocol | admin_state_up | status |
  +--------------------------------------+-------+-------------+----------+----------------+--------+
  | aebd47e9-d125-49f6-aef2-2a97954c051a | pool1 | ROUND_ROBIN | HTTPS    | True           | ACTIVE |
  +--------------------------------------+-------+-------------+----------+----------------+--------+
   
  3. Create a health monitor for type https
  +--------------------------------------+-------+----------------+
  | id                                   | type  | admin_state_up |
  +--------------------------------------+-------+----------------+
  | affb69f6-e6b0-4f34-ab42-a89acecc60b3 | HTTPS | True           |
  +--------------------------------------+-------+----------------+
   
  4. Create vip with protocol port as 443 and protocol as HTTPS
  +--------------------------------------+------+-----------+----------+----------------+--------+
  | id                                   | name | address   | protocol | admin_state_up | status |
  +--------------------------------------+------+-----------+----------+----------------+--------+
  | 405609a8-0e50-4d2c-a7b5-ab206290303d |      | 10.10.1.6 | HTTPS    | True           | ACTIVE |
  +--------------------------------------+------+-----------+----------+----------------+--------+
   
  5. Varify the same onto network node lbaas.conf file.
   
   

  Actual Results: 
  vi var/lib/neutron/lbaas/aebd47e9-d125-49f6-aef2-2a97954c051a/conf
  global
          daemon
          user nobody
          group haproxy
          log /dev/log local0
          log /dev/log local1 notice
          stats socket /var/lib/neutron/lbaas/aebd47e9-d125-49f6-aef2-2a97954c051a/sock mode 0666 level user
  defaults
          log global
          retries 3
          option redispatch
          timeout connect 5000
          timeout client 50000
          timeout server 50000
  frontend 405609a8-0e50-4d2c-a7b5-ab206290303d
          option tcplog
          bind 10.10.1.6:443
          mode tcp
          default_backend aebd47e9-d125-49f6-aef2-2a97954c051a
  backend aebd47e9-d125-49f6-aef2-2a97954c051a
           mode tcp
          balance roundrobin
          timeout check 1s
          option httpchk GET /
          http-check expect rstatus 200
          option ssl-hello-chk
          server dd7a7f63-9218-4d21-b8f8-967018a3ae9f 10.10.1.4:443 weight 2 check inter 4s fall 3
          server f844e226-4c3f-4351-9750-7cb14f614c3c 10.10.1.5:443 weight 2 check inter 4s fall 3 
  Expected Results: for http: we have mod as http

  global
                  daemon
                  user nobody
                  group haproxy
                  log /dev/log local0
                  log /dev/log local1 notice
                  stats socket /var/lib/neutron/lbaas/0e0577c1-d58b-4c82-84aa-a7a2da2b33b7/sock mode 0666 level user
  defaults
                  log global
                  retries 3
                  option redispatch
                  timeout connect 5000
                  timeout client 50000
                  timeout server 50000
  frontend 6fdb8775-101b-49f8-a466-5d2919dda13f
                  option tcplog
                  bind 10.10.1.6:80
                   mode http
                  default_backend 0e0577c1-d58b-4c82-84aa-a7a2da2b33b7
                  option forwardfor
  backend 0e0577c1-d58b-4c82-84aa-a7a2da2b33b7
                   mode http
                  balance roundrobin
                  option forwardfor
                  timeout check 1s
                  option httpchk GET /
                  http-check expect rstatus 200
                  server 1343e8c8-ed87-4fc5-a927-a5e1bd0ae61b 10.10.1.5:80 weight 2 check inter 4s fall 3
                  server 8c2187b5-8c70-40f7-b41e-98c3a2ef8470 10.10.1.4:80 weight 2 check inter 4s fall 3
  Similarly for https it should be https.

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


References