← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1746450] [NEW] Failed to create healthmonitor using pool-id which is directly connected to LB

 

Public bug reported:

Creation of healthmonitor using pool-id (pool which doesn't have
listener connected but connected via LB) shows exception on prompt.

After checking q-svc.log it shows: "TypeError: unhashable type: 'dict'"

########################
Openstack Commands used:
########################

Create LB Graph:

neutron lbaas-loadbalancer-create --name lb1 public-subnet.
neutron lbaas-listener-create --loadbalancer lb1 --protocol HTTP --protocol-port 80 --name listener1.
neutron lbaas-pool-create --lb-algorithm ROUND_ROBIN --listener listener1 --protocol HTTP --name pool1.
neutron lbaas-member-create --subnet private-subnet --address 10.0.0.5 --protocol-port 80 pool1.
neutron lbaas-member-create --subnet private-subnet --address 10.0.0.10 --protocol-port 80 pool1.
neutron lbaas-healthmonitor-create --name health-1 --max-retries=3 --delay=3 --timeout=10 --type=HTTP --pool=pool1.
Create pool2:

neutron lbaas-pool-create --name pool2 --lb-algorithm ROUND_ROBIN --loadbalancer lb1 --protocol HTTP.
neutron lbaas-member-create --subnet private-subnet --address 10.0.0.3 --protocol-port 80 pool2.
neutron lbaas-l7policy-create --action REDIRECT_TO_POOL --name policy1 --redirect-pool pool2 --listener listener1.
neutron lbaas-l7rule-create --type PATH --compare-type=STARTS_WITH --value /pls policy1.

Now add healthmonitor this will shows exception:
neutron lbaas-healthmonitor-create --name health-2 --max-retries=3 --delay=3 --timeout=10 --type=HTTP --pool=pool2.
I have added error from neutron-server.logs file in link: http://paste.openstack.org/show/627095/

** 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/1746450

Title:
  Failed to create healthmonitor using pool-id which is directly
  connected to LB

Status in neutron:
  New

Bug description:
  Creation of healthmonitor using pool-id (pool which doesn't have
  listener connected but connected via LB) shows exception on prompt.

  After checking q-svc.log it shows: "TypeError: unhashable type:
  'dict'"

  ########################
  Openstack Commands used:
  ########################

  Create LB Graph:

  neutron lbaas-loadbalancer-create --name lb1 public-subnet.
  neutron lbaas-listener-create --loadbalancer lb1 --protocol HTTP --protocol-port 80 --name listener1.
  neutron lbaas-pool-create --lb-algorithm ROUND_ROBIN --listener listener1 --protocol HTTP --name pool1.
  neutron lbaas-member-create --subnet private-subnet --address 10.0.0.5 --protocol-port 80 pool1.
  neutron lbaas-member-create --subnet private-subnet --address 10.0.0.10 --protocol-port 80 pool1.
  neutron lbaas-healthmonitor-create --name health-1 --max-retries=3 --delay=3 --timeout=10 --type=HTTP --pool=pool1.
  Create pool2:

  neutron lbaas-pool-create --name pool2 --lb-algorithm ROUND_ROBIN --loadbalancer lb1 --protocol HTTP.
  neutron lbaas-member-create --subnet private-subnet --address 10.0.0.3 --protocol-port 80 pool2.
  neutron lbaas-l7policy-create --action REDIRECT_TO_POOL --name policy1 --redirect-pool pool2 --listener listener1.
  neutron lbaas-l7rule-create --type PATH --compare-type=STARTS_WITH --value /pls policy1.

  Now add healthmonitor this will shows exception:
  neutron lbaas-healthmonitor-create --name health-2 --max-retries=3 --delay=3 --timeout=10 --type=HTTP --pool=pool2.
  I have added error from neutron-server.logs file in link: http://paste.openstack.org/show/627095/

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


Follow ups