Bug 1583997
| Summary: | hammer auth-source ldap list gives 404 if called with saved default organization or location | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Pooja Trivedi <ptrivedi> |
| Component: | API | Assignee: | Rahul Bajaj <rabajaj> |
| Status: | CLOSED WONTFIX | QA Contact: | vijsingh |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | apatel, bkearney, dhlavacd, kgaikwad, mbacovsk, mhulan, ofedoren, rabajaj |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-01-15 20:30:29 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: | |||
|
Description
Pooja Trivedi
2018-05-30 07:01:05 UTC
This is not a bug in hammer: I did some investigation and it seems that a problem is in missing routes (on the server side) for API endpoints that use location/organization scope for getting auth-source ldap list. Hammer just uses documented in Satellite 6.3 API endpoints (e.g. GET /api/organizations/:organization_id/auth_source_ldaps), which are missing corresponding routes and this causes mentioned error. Moreover, the needed routes were added in Foreman 1.18 (Satellite 6.4) by https://github.com/theforeman/foreman/pull/4865 (see https://github.com/theforeman/foreman/pull/4865/files#diff-83737aa988d7e8c6ef57d0efd0776854R32). Currently I see two solutions: 1. Remove the apidocs for GET /api/[organizations|locations]/:id/auth_source_ldaps (not so good) 2. Cherry-pick from 1.18 (see above). But I'm not sure this is possible. Anyway, moving to API component since it's not a hammer bug. The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you. Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you. |