← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1821244] [NEW] Failed volume creation can result in invalid `connection_info` field

 

Public bug reported:

If a volume fails to create, this can result in `connection_info` having
the literal value of 'null' which breaks things down the road that
expect it to be a dictionary, an example of a breakage:

https://github.com/openstack/nova/blob/a5e3054e1d6df248fc4c00b9abd7289dde160393/nova/compute/utils.py#L1260

This would fail with:

AttributeError: 'NoneType' object has no attribute 'get'

** Affects: nova
     Importance: Undecided
     Assignee: Mohammed Naser (mnaser)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Mohammed Naser (mnaser)

-- 
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/1821244

Title:
  Failed volume creation can result in invalid `connection_info` field

Status in OpenStack Compute (nova):
  New

Bug description:
  If a volume fails to create, this can result in `connection_info`
  having the literal value of 'null' which breaks things down the road
  that expect it to be a dictionary, an example of a breakage:

  https://github.com/openstack/nova/blob/a5e3054e1d6df248fc4c00b9abd7289dde160393/nova/compute/utils.py#L1260

  This would fail with:

  AttributeError: 'NoneType' object has no attribute 'get'

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


Follow ups