Bug 1627679
Summary: | listing organization fails after adding default organization/location | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ranjan Kumar <rankumar> |
Component: | Organizations and Locations | Assignee: | Marek Hulan <mhulan> |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.4 | CC: | akarsale, apatel, dhlavacd, ehelms, inecas, kgaikwad, ltran, mbacovsk, mhulan, mmccune, mshira, pcreech, rabajaj, rankumar, tstrachota |
Target Milestone: | 6.4.0 | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | foreman-1.18.0.29-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-16 19:02:00 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
Ranjan Kumar
2018-09-11 08:55:38 UTC
I think I have a fix, will ping you on PR to test if you already started looking too :-) Created redmine issue https://projects.theforeman.org/issues/24957 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24957 has been resolved. snap 23, not 63 I tried the above steps and got all the way down to location list and got it to work, but hammer organization list gives an error. The other hammer command still works -> hammer location list, hammer defaults list -bash-4.2# hammer location list ---|------------------|------------------|------------ ID | TITLE | NAME | DESCRIPTION ---|------------------|------------------|------------ 2 | Default Location | Default Location | ---|------------------|------------------|------------ -bash-4.2# hammer defaults list ----------------|------ PARAMETER | VALUE ----------------|------ organization_id | 1 ----------------|------ -bash-4.2# hammer organization list Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs. Services seems to be working fine with hammer ping: -bash-4.2# hammer ping candlepin: Status: ok Server Response: Duration: 12ms candlepin_auth: Status: ok Server Response: Duration: 12ms pulp: Status: ok Server Response: Duration: 35ms pulp_auth: Status: ok Server Response: Duration: 20ms foreman_tasks: Status: ok Server Response: Duration: 38ms This fails ON_QA. Reassigning back to dev. Can you share reproducer info? I can't get this to fail on my satellite. Can you share a foreman-debug as well? Lai, please check your production.log for more errors, this may be unrelated, therefore shouldn't be FailedQA. I'm also unable to reproduce on last snap. Tested the above steps and got everything to work: bash-4.2# hammer organization list ---|----------------------|----------------------|-------------|----------------------|------------ ID | TITLE | NAME | DESCRIPTION | LABEL | DESCRIPTION ---|----------------------|----------------------|-------------|----------------------|------------ 1 | Default Organization | Default Organization | | Default_Organization | ---|----------------------|----------------------|-------------|----------------------|------------ -bash-4.2# hammer location list ---|------------------|------------------|------------ ID | TITLE | NAME | DESCRIPTION ---|------------------|------------------|------------ 2 | Default Location | Default Location | ---|------------------|------------------|------------ -bash-4.2# hammer defaults list ----------|------ PARAMETER | VALUE ----------|------ -bash-4.2# hammer location list ---|------------------|------------------|------------ ID | TITLE | NAME | DESCRIPTION ---|------------------|------------------|------------ 2 | Default Location | Default Location | ---|------------------|------------------|------------ -bash-4.2# hammer defaults add --param-name organization_id --param-value 1 Added organization_id default-option with value 1. -bash-4.2# hammer defaults list ----------------|------ PARAMETER | VALUE ----------------|------ organization_id | 1 ----------------|------ -bash-4.2# hammer location list ---|------------------|------------------|------------ ID | TITLE | NAME | DESCRIPTION ---|------------------|------------------|------------ 2 | Default Location | Default Location | ---|------------------|------------------|------------ -bash-4.2# hammer organization list ---|----------------------|----------------------|-------------|----------------------|------------ ID | TITLE | NAME | DESCRIPTION | LABEL | DESCRIPTION ---|----------------------|----------------------|-------------|----------------------|------------ 1 | Default Organization | Default Organization | | Default_Organization | ---|----------------------|----------------------|-------------|----------------------|------------ Tested on snap_6.4.0_23.0 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:2927 |