It looks like this was likely regressed in Mitaka with this change:
https://review.openstack.org/#/c/202678/
Because before that change, the logic could handle no image being supplied with the server create request:
spec = filter_properties.get('request_spec', {}) props = spec.get('instance_properties', {}) image_ref = props.get('image_ref') image_isolated = image_ref in isolated_images
But then it was changed to this which breaks in this scenario:
image_ref = spec_obj.image.id if spec_obj.image else None
I'm not sure what's in spec_obj.image though if it's not None or empty.
It looks like this was likely regressed in Mitaka with this change:
https:/ /review. openstack. org/#/c/ 202678/
Because before that change, the logic could handle no image being supplied with the server create request:
spec = filter_ properties. get('request_ spec', {}) 'instance_ properties' , {}) 'image_ ref')
image_ isolated = image_ref in isolated_images
props = spec.get(
image_ref = props.get(
But then it was changed to this which breaks in this scenario:
image_ref = spec_obj.image.id if spec_obj.image else None
I'm not sure what's in spec_obj.image though if it's not None or empty.