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:
Updated by The Foreman Bot over 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 (
)
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release set to 23
- Triaged changed from No to Yes
Updated by Eric Helms over 9 years ago
- Related to Bug #9850: prior env 'Library' is missing when creating a new life-cycle environment added
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|d1b797a359c9a243219c786d10af3bbe3da583e9.