Bug 1489305
Summary: | [Hammer] Listing domains from Org admin user in particular organization and location is broken | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jitendra Yejare <jyejare> |
Component: | Users & Roles | Assignee: | Andrew Kofink <akofink> |
Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | akofink, bbuckingham, dhlavacd, ehelms, mhulan |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 17:00:14 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: | 1373844 |
Description
Jitendra Yejare
2017-09-07 07:39:17 UTC
Created redmine issue http://projects.theforeman.org/issues/21250 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21250 has been resolved. Failed QA ! Satellite 6.3 snap 20 Steps: Same as described in Description to list domains: # hammer domain list --location-id 2 --organization-id 1 Behavior: Now, The error is 'Location not found by id '2'' if I tried with location and organization ids. 'Organization not found by id '1'' if I tried only with organization id Also, I see one more interesting thing, That is - If I tried with names instead of ids: # hammer domain list --organization 'Default Organization' --location 'Default Location' -> Forbidden - server refused to process the request Jitendra, this is unrelated and "expected" behavior for 6.3 beta. The original bug was about double render error, which is gone. Org admin does not have view_organizations permissions so we can't load organization with id for filtering domains. If you want to search domains by organization, you should use > hammer domain list --search "organization_id = 1" It surprises me that you report this as FailedQA when you reported this already as BZ 1491305 For locations it works since org admin has manage permissions for locations. in GA this will be different and even --organization_id should work. That is tracked under BZ 1502725 in beta, this should work fine > hammer domain list --search "organization_id = 1" --location-id 2 as long as the location with id 2 exists and user is assigned to it. I suggest you mark this as VERIFIED since the original issue is gone. Please experiment with the search. Moving back to ON_QA for you to decide the next step. Yeah, Marek, you are right, I wouldn't have marked this FailedQA as the original issue is no more reproducible. Extremely Sorry as I followed wrong steps in bug BZ 1491305 mentioned your comment 6 and also I mentioned in that bug as well. That Said, I am chainging the state to verified. 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/RHSA-2018:0336 |