ServiceState.get_all_unit_states leaks InternalTopologyError to using code

Bug #787701 reported by Jim Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Medium
Jim Baker

Bug Description

ServiceState.get_all_unit_states does not guard its topology assumptions, that the service is in fact present in the topology before attempting to do this enumeration.

Related branches

Jim Baker (jimbaker)
Changed in ensemble:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Jim Baker (jimbaker)
milestone: none → dublin
Jim Baker (jimbaker)
summary: - Certain service state methods leak InternalTopologyError to using code
+ ServiceState.get_all_unit_states leaks InternalTopologyError to using
+ code
description: updated
Jim Baker (jimbaker)
Changed in ensemble:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.