Project

General

Profile

Bug #8302

Associating image to Openstack CR fails undefined method `downcase' for nil:NilClass

Added by Stephen Benjamin over 4 years ago. Updated about 1 year ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1161140
Description of problem:
Associating image to Openstack CR fails undefined method `downcase' for nil:NilClass

Version-Release number of selected component (if applicable):
  1. rpm -qa | grep foreman
    ruby193-rubygem-foreman-redhat_access-0.0.4-2.el7sat.noarch
    foreman-vmware-1.6.0.47-1.el7sat.noarch
    rubygem-hammer_cli_foreman_tasks-0.0.3-3.el7sat.noarch
    ruby193-rubygem-foreman_bootdisk-2.0.6-1.1.el7sat.noarch
    foreman-1.6.0.47-1.el7sat.noarch
    foreman-compute-1.6.0.47-1.el7sat.noarch
    foreman-proxy-1.6.0.30-1.el7sat.noarch
    ruby193-rubygem-foreman_hooks-0.3.5-2.el7sat.noarch
    foreman-gce-1.6.0.47-1.el7sat.noarch
    ruby193-rubygem-foreman_discovery-1.3.0-2.el7sat.noarch
    rubygem-hammer_cli_foreman-0.1.1-16.el7sat.noarch
    qe-sat6-rhel7.usersys.redhat.com-foreman-client-1.0-1.noarch
    foreman-postgresql-1.6.0.47-1.el7sat.noarch
    qe-sat6-rhel7.usersys.redhat.com-foreman-proxy-1.0-1.noarch
    foreman-selinux-1.6.0.15-1.el7sat.noarch
    foreman-libvirt-1.6.0.47-1.el7sat.noarch
    ruby193-rubygem-foreman-tasks-0.6.9-1.1.el7sat.noarch
    foreman-ovirt-1.6.0.47-1.el7sat.noarch

How reproducible:
everytime

Steps to Reproduce:
1.Create Openstack compute resource
2.Navigate to Images tab on OS resource and click "new image"
3.undefined method `downcase' for nil:NilClass

Actual results:
Able to create new image

Expected results:
undefined method `downcase' for nil:NilClass

Additional info:

Added screen shot

Associated revisions

Revision 36bbbfdf (diff)
Added by Stephen Benjamin over 4 years ago

fixes #8302 - only return active images for openstack compute resources

Revision 57bdcc18 (diff)
Added by Stephen Benjamin over 4 years ago

fixes #8302 - only return active images for openstack compute resources

(cherry picked from commit 36bbbfdf332b8977bdec182f07f60ca12fa9025a)

History

#1 Updated by The Foreman Bot over 4 years ago

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

#2 Updated by Dominic Cleal over 4 years ago

  • Category set to Compute resources - OpenStack
  • Assignee set to Stephen Benjamin
  • Target version set to 1.7.2

#3 Updated by Anonymous over 4 years ago

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

#4 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 21

Also available in: Atom PDF