← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1556528] Re: lbaas-loadbalancer-status fails when health monitor is admin-state-up=False

 

Reviewed:  https://review.openstack.org/292049
Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=3827e80b3f78e7cb95e95eacb7bd70a726337d40
Submitter: Jenkins
Branch:    master

commit 3827e80b3f78e7cb95e95eacb7bd70a726337d40
Author: Michael Johnson <johnsomor@xxxxxxxxx>
Date:   Sun Mar 13 03:26:01 2016 +0000

    Fix lbaas-lb-status when health monitor disabled
    
    When a health monitor has been disabled via admin-state-up=False
    the neutron lbaas-loadbalancer-status command will fail.
    
    This patch corrects the improper variable assignment causing this
    failure.
    
    Change-Id: Ibbfe670ee868ee0fb2d5a64f1a41b4e810c190eb
    Closes-Bug: #1556528


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  lbaas-loadbalancer-status fails when health monitor is admin-state-
  up=False

Status in neutron:
  Fix Released

Bug description:
  With a load balancer configured with a health monitor that is in the
  admin-state-up=False state, neutron lbaas-loadbalancer-status will
  fail with:

  Request Failed: internal server error while processing your request.
  Neutron server returns request_ids: ['req-6f1a8e1b-a51a-469c-9017-0c0762fafe31']

  
  q-svc.log reports:

  File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/plugin.py", line 1360, in statuses
    pool_status["healthmonitor"] = hm_status
  UnboundLocalError: local variable 'hm_status' referenced before assignment

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


References