nova.compute.manager has unreachable path

Bug #894172 reported by Nachi Ueno(Instance3) on 2011-11-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Mark McLoughlin

Bug Description

nova.compute.manager has unreachable path
if not ((bdm['snapshot_id'] is None) or
          (bdm['volume_id'] is not None)):

is equivalent to this:
  if ((bdm['snapshot_id'] is not None) and
      (bdm['volume_id'] is None)):

bdm['volume_id'] is always set L304 if bdm['snapshot_id'] is not None and bdm['volume_id'] is None

description: updated
Thierry Carrez (ttx) on 2011-11-25
Changed in nova:
assignee: nobody → Mark McLoughlin (markmc)
importance: Undecided → Low
status: New → In Progress
Mark McLoughlin (markmc) on 2012-01-13
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-01-25
Changed in nova:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-3 → 2012.1
Tom Fifield (fifieldt) on 2014-05-31
no longer affects: openstack-qa
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers