Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionAkshay Mankumbare
2016-03-02 09:34:18 UTC
Description of problem:
Just want to create a role in which user should be able to filter content host by organization_id.
role with the following filters is created :
* lifecycle environment: all allowed, no limits
* content host: view_content_hosts, filtered by "organization_id = 1"
login with user to which roles with above filter is assigned and click on content_hosts, the spinning "loading" thing appears and stay there forever.
Below traceback is observed :
~~~~~
2016-02-26 04:51:27 [E] ActiveRecord::StatementInvalid: PGError: ERROR: missing FROM-clause entry for table "katello_environments"
LINE 1: ...ello_systems.uuid FROM "katello_systems" WHERE (("katello_e...
^
: SELECT katello_systems.uuid FROM "katello_systems" WHERE (("katello_environments"."organization_id" = '1'))
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in `async_exec'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in `exec_no_cache'
~~~~~~
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Create a role with following filters :
~~~
* lifecycle environment: all allowed, no limits
* content host: view_content_hosts, filtered by "organization_id = 1"
~~~~
2. Create a user.
3. Now assign above created role to a user.
4. Login to Satellite server with user and try to list content hosts
Actual results:
"loading" thing appears and stay there forever.
Below traceback is observed :
~~~~~
2016-02-26 04:51:27 [E] ActiveRecord::StatementInvalid: PGError: ERROR: missing FROM-clause entry for table "katello_environments"
LINE 1: ...ello_systems.uuid FROM "katello_systems" WHERE (("katello_e...
^
: SELECT katello_systems.uuid FROM "katello_systems" WHERE (("katello_environments"."organization_id" = '1'))
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in `async_exec'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in `exec_no_cache'
~~~~~~
Expected results:
It should filter content hosts with organization_id = 1
Additional info:
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.
Description of problem: Just want to create a role in which user should be able to filter content host by organization_id. role with the following filters is created : * lifecycle environment: all allowed, no limits * content host: view_content_hosts, filtered by "organization_id = 1" login with user to which roles with above filter is assigned and click on content_hosts, the spinning "loading" thing appears and stay there forever. Below traceback is observed : ~~~~~ 2016-02-26 04:51:27 [E] ActiveRecord::StatementInvalid: PGError: ERROR: missing FROM-clause entry for table "katello_environments" LINE 1: ...ello_systems.uuid FROM "katello_systems" WHERE (("katello_e... ^ : SELECT katello_systems.uuid FROM "katello_systems" WHERE (("katello_environments"."organization_id" = '1')) /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in `async_exec' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in `exec_no_cache' ~~~~~~ Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create a role with following filters : ~~~ * lifecycle environment: all allowed, no limits * content host: view_content_hosts, filtered by "organization_id = 1" ~~~~ 2. Create a user. 3. Now assign above created role to a user. 4. Login to Satellite server with user and try to list content hosts Actual results: "loading" thing appears and stay there forever. Below traceback is observed : ~~~~~ 2016-02-26 04:51:27 [E] ActiveRecord::StatementInvalid: PGError: ERROR: missing FROM-clause entry for table "katello_environments" LINE 1: ...ello_systems.uuid FROM "katello_systems" WHERE (("katello_e... ^ : SELECT katello_systems.uuid FROM "katello_systems" WHERE (("katello_environments"."organization_id" = '1')) /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in `async_exec' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in `exec_no_cache' ~~~~~~ Expected results: It should filter content hosts with organization_id = 1 Additional info: