Bug 1731861
Summary: | Uploading facts when host is in build mode does log error at info or higher | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Peter Vreman <peter.vreman> |
Component: | Provisioning | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | Peter Dragun <pdragun> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5.0 | CC: | inecas, pdragun, sshtein, zhunting |
Target Milestone: | 6.6.0 | Keywords: | Patch, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | foreman-1.22.0.26-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-10-22 19:50:18 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: | 1122832 |
Description
Peter Vreman
2019-07-22 08:45:38 UTC
Patch --- controllers/api/v2/hosts_controller.rb.190722-1 2019-06-26 11:52:05.460091801 +0000 +++ controllers/api/v2/hosts_controller.rb 2019-07-22 09:18:28.300754718 +0000 @@ -289,6 +289,7 @@ state = @host.import_facts(factshash, detected_proxy) process_response state rescue ::Foreman::Exception => e + logger.info("Facts processing failed: #{e.to_s}") render_message(e.to_s, :status => :unprocessable_entity) end Created redmine issue https://projects.theforeman.org/issues/27556 from this bug Upstream bug assigned to lzap Upstream bug assigned to lzap Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27556 has been resolved. Verified on Satellite 6.6 snap 20.1. Reason is now written at warning level. ... 2019-09-18T08:47:07 [W|app|e3967e5b] ERF42-9911 [Foreman::Exception]: Host is pending for Build ... 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-2019:3172 |