Project

General

Profile

Actions

Bug #8821

closed

Openstack images form fails for unnamed images

Added by Daniel Lobato Garcia about 9 years ago. Updated over 5 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 #1

Updated by Dominic Cleal about 9 years ago

  • Category set to Compute resources - OpenStack
Actions #2

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2044 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal about 9 years ago

  • translation missing: en.field_release set to 30
Actions #4

Updated by Daniel Lobato Garcia about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF