Failed volume creation can result in invalid `connection_info` field

Bug #1821244 reported by Mohammed Naser on 2019-03-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Mohammed Naser

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:

This would fail with:

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

Mohammed Naser (mnaser) on 2019-03-21
Changed in nova:
assignee: nobody → Mohammed Naser (mnaser)
Changed in nova:
status: New → In Progress
Matt Riedemann (mriedem) wrote :

From discussing this in IRC I remember you said in this case the server was being created with a BDM where source_type=image and the failure in nova-compute during volume create was an OverQuota issue from Cinder.

Changed in nova:
importance: Undecided → Medium
tags: added: volumes
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers