Bug #35490
closedChanging proxy causes an error
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2124520
Description of problem:
Changing the Smart Proxy field post the curl command is generated during registration failed with an error.
"There was an error while generating the command, see the logs for more information."
How reproducible:
100%
Steps to Reproduce:
1. Go to Foreman WebUI > Hosts -> Register Host
2. Select Smart Proxy parameter as Smart Proxy server FQDN, select other fields such as Host Group, Activation Key and then click on Generate
3. Once the Curl command is generated, change the Smart Proxy parameter again to default (Foreman) and regenerate the curl command by hitting Generate.
Actual results:
No Curl command generated again for host registration with Foreman and throwing the following message-
"There was an error while generating the command, see the logs for more information."
Expected results:
After changing the Smart Proxy parameter and hitting the Generate, another curl command should be created to register the host.
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9408 added
Updated by Leos Stejskal over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|df5950e82dd799eb873584e34ce92f8bcc75067e.
Updated by Ewoud Kohl van Wijngaarden about 2 years ago
- Subject changed from Host Registration - Changing proxy cause an error to Changing proxy causes an error
- Category set to Host registration
- Triaged changed from No to Yes