Project

General

Profile

Actions

Bug #9628

closed

Unable to create lifecycle-env with cli or UI

Added by Adam Price about 9 years ago. Updated over 5 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1189478
Description of problem:

Unable to create lifecycle-environment with cli.

Throws the below error.

[ERROR 2015-02-05 08:12:03 Exception] PGError: ERROR: missing FROM-clause entry for table "katello_environments"
LINE 1: ...LECT DISTINCT COUNT() FROM "environments" WHERE "katello_e...
^
: SELECT DISTINCT COUNT(
) FROM "environments" WHERE "katello_environments"."organization_id" = 1 AND "katello_environments"."name" = 'Library'
Could not create environment:
PGError: ERROR: missing FROM-clause entry for table "katello_environments"
LINE 1: ...LECT DISTINCT COUNT() FROM "environments" WHERE "katello_e...
^
: SELECT DISTINCT COUNT(
) FROM "environments" WHERE "katello_environments"."organization_id" = 1 AND "katello_environments"."name" = 'Library'
[ERROR 2015-02-05 08:12:03 Exception]

RestClient::InternalServerError (500 Internal Server Error):
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `transmit'
/usr/lib/ruby/1.8/net/http.rb:543:in `start'

Version-Release number of selected component (if applicable):
sat6.1 Beta-snap1-compose2

How reproducible:
always

Steps to Reproduce:
1. creation of lifecycle-env using cli
2.
3.

Actual results:
unable to create lifecycle-env using cli

Expected results:
lifecycle-env should get created.

Additional info:


Related issues 1 (0 open1 closed)

Related to Katello - Bug #9850: prior env 'Library' is missing when creating a new life-cycle environmentDuplicateWalden Raines03/20/2015Actions
Actions #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 67
  • Pull request https://github.com/Katello/katello/pull/5072 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #3

Updated by Eric Helms about 9 years ago

  • Target version changed from 67 to 68
Actions #4

Updated by Eric Helms about 9 years ago

  • Category changed from Hammer to API
Actions #5

Updated by Eric Helms about 9 years ago

  • Related to Bug #9850: prior env 'Library' is missing when creating a new life-cycle environment added
Actions #6

Updated by Anonymous about 9 years ago

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

Also available in: Atom PDF