Bug 2230733
| Summary: | build_entered.event.foreman contains no object payload | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Paul Dudley <pdudley> |
| Component: | Hooks and Webhooks | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Satellite QE Team <sat-qe-bz-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.13.2 | CC: | jstloui9, ofedoren |
| Target Milestone: | Unspecified | ||
| 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: | 2023-08-17 14:59:52 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
Paul Dudley
2023-08-09 22:39:55 UTC
Hello Paul, have you seen the documentation [1] for such events? build_entered and build_exited are custom ones and there is no @object variable, but there is a standard @payload variable, which contains id and name of the host, which can be used to retrieve the host via e.g. load_hosts loader or a separate API call. [1] - https://access.redhat.com/documentation/en-us/red_hat_satellite/6.13/html/administering_red_hat_satellite/using_webhooks_admin#webhooks-available-events_admin Thank you for clearing that up, Oleh! With that i was able to see what I was doing wrong and provide the right way to get the data returned by the event. Marking as closed. Thanks again. |