Bug 1615372
| Summary: | host parameters no longer show up in hook_object | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Anand Agrawal <aagrawal> |
| Component: | Hooks and Webhooks | Assignee: | Lukas Zapletal <lzap> |
| Status: | CLOSED ERRATA | QA Contact: | Stephen Wadeley <swadeley> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.2 | CC: | aagrawal, egolov, lzap, mhulan, pcreech, spetrosi, sshtein, swadeley, zhunting |
| Target Milestone: | 6.4.0 | Keywords: | Regression, Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-foreman_hooks-0.3.14.1-1 | Doc Type: | Release Note |
| Doc Text: |
Starting from Satellite 6.4, new `postcreate` and `postupdate` hook events are added to Satellite. In previous versions of Satellite, some host and hostgroup parameters were not passed to the hook object file by the `create` and `update` hook events.
If you want all the host parameters fields in the hook object file, rename hooks directories from `create` to `postcreate` and from `update` to `postupdate`. No changes are required in the hook scripts
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-10-16 19:23:31 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
Anand Agrawal
2018-08-13 13:02:02 UTC
Hello, this is likely a missing permission (https://projects.theforeman.org/issues/13164) please ask for the following: 1) using the same user account please use hammer to view the host which has missing parameters: # hammer -u username -p usedpreviously host info --name tonya-bisconer.nat.lan Id: 1 Name: tonya-bisconer.nat.lan Organization: MyOrg Location: MyLoc ... Parameters: host_param => one All parameters: host_param => one global_parameter => two I expect the same parameters to be missing. 2) Show the roles of the user: # hammer user info --login regular Id: 5 Login: regular ... Roles: Viewer View hosts 3) Show permissions of all roles above: # hammer role filters --name Viewer ... 111 | Parameter | none | yes | no | Viewer | view_params ... We are looking for view_params permission. snap 23, not 63 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 |