← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1709803] [NEW] use of undefined variable hm_status

 

Public bug reported:

Traceback (most recent call last):                                                                                   
  File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 93, in resource                           
    result = method(request=request, **args)                                                                         
  File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped                                     
    setattr(e, '_RETRY_EXCEEDED', True)                                                                              
  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__                              
    self.force_reraise()                                                                                             
  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise                         
    six.reraise(self.type_, self.value, self.tb)                                                                     
  File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped                                     
    return f(*args, **kwargs)                                                                                        
  File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper                                       
    ectxt.value = e.inner_exc                                                                                        
  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__                              
    self.force_reraise()                                                                                             
  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise                         
    six.reraise(self.type_, self.value, self.tb)                                                                     
  File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper                                       
    return f(*args, **kwargs)                                                                                        
  File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped                                    
    traceback.format_exc())                                                                                          
  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__                              
    self.force_reraise()                                                                                             
  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise                         
    six.reraise(self.type_, self.value, self.tb)                                                                     
  File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped                                    
    return f(*dup_args, **dup_kwargs)                                                                                
  File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 251, in _handle_action                        
    ret_value = getattr(self._plugin, name)(*arg_list, **kwargs)                                                     
  File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 1223, in statuses      
    pool_status["healthmonitor"] = hm_status                                                                         
UnboundLocalError: local variable 'hm_status' referenced before assignment

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

Title:
  use of undefined variable hm_status

Status in neutron:
  New

Bug description:
  Traceback (most recent call last):                                                                                   
    File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 93, in resource                           
      result = method(request=request, **args)                                                                         
    File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped                                     
      setattr(e, '_RETRY_EXCEEDED', True)                                                                              
    File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__                              
      self.force_reraise()                                                                                             
    File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise                         
      six.reraise(self.type_, self.value, self.tb)                                                                     
    File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped                                     
      return f(*args, **kwargs)                                                                                        
    File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper                                       
      ectxt.value = e.inner_exc                                                                                        
    File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__                              
      self.force_reraise()                                                                                             
    File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise                         
      six.reraise(self.type_, self.value, self.tb)                                                                     
    File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper                                       
      return f(*args, **kwargs)                                                                                        
    File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped                                    
      traceback.format_exc())                                                                                          
    File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__                              
      self.force_reraise()                                                                                             
    File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise                         
      six.reraise(self.type_, self.value, self.tb)                                                                     
    File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped                                    
      return f(*dup_args, **dup_kwargs)                                                                                
    File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 251, in _handle_action                        
      ret_value = getattr(self._plugin, name)(*arg_list, **kwargs)                                                     
    File "/usr/lib/python2.7/site-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 1223, 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/1709803/+subscriptions


Follow ups