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 almost 6 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

Also available in: Atom PDF