← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1414536] [NEW] Zookeeper servicegroup driver's get_all() erroneously raises ServiceGroupUnavailable

 

Public bug reported:

The Zookeeper servicegroup API driver raises
nova.exception.ServiceGroupUnavailable when there are no members in UP
state for a group. However, the other two drivers for memcache and DB,
return an empty list. Since the Zookeeper driver actually calls its own
get_all() method in its is_up() method, there's actually no way the
Zookeeper driver was working correctly, since if ServiceGroupUnavailable
was raised from is_up(), things would go haywire in many places.

** Affects: nova
     Importance: Low
     Assignee: Jay Pipes (jaypipes)
         Status: In Progress


** Tags: low-hanging-fruit servicegroup-api

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1414536

Title:
  Zookeeper servicegroup driver's get_all() erroneously raises
  ServiceGroupUnavailable

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  The Zookeeper servicegroup API driver raises
  nova.exception.ServiceGroupUnavailable when there are no members in UP
  state for a group. However, the other two drivers for memcache and DB,
  return an empty list. Since the Zookeeper driver actually calls its
  own get_all() method in its is_up() method, there's actually no way
  the Zookeeper driver was working correctly, since if
  ServiceGroupUnavailable was raised from is_up(), things would go
  haywire in many places.

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


Follow ups

References