Bug 1246839
Summary: | PGError: ERROR: column reference "name" is ambiguous LINE 11 | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Roy Golan <rgolan> |
Component: | WebUI | Assignee: | Tomer Brisker <tbrisker> |
WebUI sub component: | Foreman | QA Contact: | Tazim Kolhar <tkolhar> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | bbuckingham, bkearney, cwelton, rgolan, sthirugn, tbrisker, tkolhar |
Version: | 6.1.0 | Keywords: | Triaged |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/11220 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-15 07:22:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1338516 |
Description
Roy Golan
2015-07-26 10:07:03 UTC
Could you please provide the relevant parts of production.log and foreman-debug? Created redmine issue http://projects.theforeman.org/issues/11220 from this bug Tomer, abraverman could supply all you need. I don't have access to that system. I have reproduced the bug and confirmed that upstream PR fixes the issue. In order to reproduce, user must have the view_compute_resources permission with a location and/or organization filter active. Moving to POST since upstream bug http://projects.theforeman.org/issues/11220 has been closed ------------- Dominic Cleal This looks much like https://github.com/theforeman/foreman/pull/2496. ------------- avi tal Applied in changeset commit:4ca9215584bf2b81a3291b728d0c436a9a773f41. Tomer, can you provide verification steps for QE? Verification steps: 1. Create a user that has a view_compute_resources permission that is filtered by location and/or organization. 2. Log in as that user and attempt to create a new host. Behavior before patch: PG Error breakes rendering of the page. Behavior after patch: New host creation form is displayed and allows selection of any compute resource that matches the user's filter. VERIFIED: # rpm -qa | grep foreman foreman-vmware-1.7.2.35-1.el6_6sat.noarch ruby193-rubygem-foreman-redhat_access-0.2.3-1.el6_6sat.noarch foreman-1.7.2.35-1.el6_6sat.noarch ruby193-rubygem-foreman_hooks-0.3.7-2.el6_6sat.noarch rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el6_6sat.noarch tyan-gt24-03.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch tyan-gt24-03.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch foreman-libvirt-1.7.2.35-1.el6_6sat.noarch ruby193-rubygem-foreman_discovery-2.0.0.19-1.el6_6sat.noarch ruby193-rubygem-foreman-tasks-0.6.15.5-1.el6_6sat.noarch foreman-postgresql-1.7.2.35-1.el6_6sat.noarch rubygem-hammer_cli_foreman-0.1.4.14-1.el6_6sat.noarch tyan-gt24-03.rhts.eng.bos.redhat.com-foreman-proxy-1.0-1.noarch foreman-selinux-1.7.2.13-1.el6_6sat.noarch ruby193-rubygem-foreman_docker-1.2.0.20-1.el6_6sat.noarch foreman-ovirt-1.7.2.35-1.el6_6sat.noarch ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el6_6sat.noarch rubygem-hammer_cli_foreman_tasks-0.0.3.5-1.el6_6sat.noarch rubygem-hammer_cli_foreman_docker-0.0.3.9-1.el6_6sat.noarch foreman-compute-1.7.2.35-1.el6_6sat.noarch ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el6_6sat.noarch rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el6_6sat.noarch foreman-gce-1.7.2.35-1.el6_6sat.noarch foreman-proxy-1.7.2.5-1.el6_6sat.noarch foreman-debug-1.7.2.35-1.el6_6sat.noarch steps: Steps to Reproduce: 1. go to Hosts menu. click New Host New Hosts Allows to create New Hosts Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2015:1786 |