Project

General

Profile

Actions

Bug #28133

open

Creating an image in CR scoped with taxonomies throws error 'undefined method `images' for #<Location:0x00007f752b274e88>'

Added by Jitendra Yejare over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:

Description

Creating an image in taxonomies throws an error : http://pastebin.test.redhat.com/806577 but works without taxonomies.

How Reproducible:
-------------------
Always

Steps:
-------------------
1. Attempt to create an image in GCE Compute Resource scoped with some taxonomies.

  1. hammer compute-resource image create --compute-resource-id 1 --name testimg --user-data false --uuid 4654324179607992309 --username gcehost --organization-id 1 --location-id 2 --architecture-id 1

Actual Behavior:
-------------------
The image creation fails with an error 'undefined method `images' for #<Location:0x00007f752b274e88>. More deatils in Pastebin mentioned in description of this bug.

Expected Behavior:
--------------------
1. An image cannot be scoped to taxonomies as they are scoped with Compute Resource so better if we can remove the taxonomies option from image creation.

Actions

Also available in: Atom PDF