Project

General

Profile

Actions

Bug #8821

closed

Openstack images form fails for unnamed images

Added by Daniel Lobato Garcia over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources - OpenStack
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The images helper looks for a .name attribute in all fog images in Openstack. However, it's possible to create images just with an ID and without a name (there is currently one in OS1 private). The form will fail with "undefined method `downcase' for nil:NilClass" for that image as it cannot find its name.

Just defaulting to the id of the image if the name is not available should be enough.

Actions

Also available in: Atom PDF