Bug #9628
closedUnable to create lifecycle-env with cli or UI
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: