Bug 1922867
Summary: | Global Registration: register host command fails on host with curl error | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Gary Scarborough <gscarbor> |
Component: | Registration | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED DUPLICATE | QA Contact: | Stephen Wadeley <swadeley> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.9.0 | CC: | akapse, lstejska |
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: | 2021-02-12 08:55:28 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
Gary Scarborough
2021-02-01 00:22:27 UTC
So I was the admin user when I generated this command. Later the command worked and subsequent registration attempts worked. MAybe it was just my setup. see also: Bug 1922944 - Getting "curl:(51)" error while registering with Global Registration Curl command but registration with activation key works. Hi Gary, Can you take a quick look at bug 1922944? The 2 bugzillas look like they may be duplicates, but would like to get your feedback. Thanks! Hi, this is correct behavior, the problem is that you don't have installed CA on the registered host machine. There are two ways how to fix it: 1. - Run command with "--insecure" parameter (in latest snap should be part of UI form) 2. - Deploy CA file on the host & then run curl command again *** Bug 1922944 has been marked as a duplicate of this bug. *** Brad, Yeah, that other BZ was a duplicate. As Leos mentioned, --insecure worked and allowed the command to run. So as long as the --insecure option is in the gui, I guess this bug can be closed. Sorry for the delay, this past week has been busy. I want to correct myself, --insecure option is not in the latest snap yet, the PR is still waiting for merge: https://gitlab.sat.engineering.redhat.com/satellite6/foreman/-/merge_requests/559 Missing --insecure in form will be fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1916307 Meanwhile you can manually update curl call with '--insecure' parameter. MR for 6.9: https://gitlab.sat.engineering.redhat.com/satellite6/foreman/-/merge_requests/559 *** This bug has been marked as a duplicate of bug 1916307 *** |