Project

General

Profile

Actions

Bug #37292

open

Global registration template ignores errors in curl calls leading to failed registrations that appear as successful

Added by pablomh please_edit_me about 1 month ago. Updated about 1 month ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Host registration
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The return codes from curl POST calls inside the global registration script are not checked, and when those calls return an error code (!= 2xx), the script doesn't report a failure and it reports a sucessful registration when it hasn't been.

Actions #1

Updated by The Foreman Bot about 1 month ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10109 added
Actions

Also available in: Atom PDF