Project

General

Profile

Actions

Bug #6146

closed

hammer: 500 ISE when creating a content-host

Added by Bryan Kearney almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1105623
Description of problem:
[root@dhcp201-193 yum.repos.d]# hammer content-host create --name test.katellolabs.org --organization-id 1 --environment Library/cv1
Could not create content host:
undefined method `get_content_view_environment_by_cp_id' for #<Katello::Api::V2::SystemsController:0x0000000e81ac28>

Version-Release number of selected component (if applicable):
sat6 beta snap8 (Satellite-6.0.3-RHEL-6-20140604.0).

How reproducible:
always

Steps to Reproduce:
1. create content-host via cli
[root@dhcp201-193 yum.repos.d]# hammer content-host create --name test.katellolabs.org --organization-id 1 --environment Library/cv1
Could not create content host:
undefined method `get_content_view_environment_by_cp_id' for #<Katello::Api::V2::SystemsController:0x0000000e81ac28>
2.
3.

Actual results:

Expected results:
If parameters are in-correct then user should get proper error message otherwise user should be able to create content-host

Additional info:

Actions #1

Updated by David Davis almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:06a3f22a481ceabb8160df696600e86c1df4efe8.

Actions #2

Updated by Eric Helms almost 10 years ago

  • Target version set to 45
Actions #3

Updated by Eric Helms almost 10 years ago

  • Triaged set to Yes
Actions #4

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF