Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionGanesh Payelkar
2021-01-23 17:39:28 UTC
Description of problem:
Error: Request failed with status code 422 if you miss adding HTTP or HTTPS before proxy IP or hostname
Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422
Version-Release number of selected component (if applicable):
satellite-6.9 Beta
How reproducible:
New installation
Steps to Reproduce:
1. Go to Administer --> Settings --> General
2. Update "HTTP(S) proxy without HTTP:// or https://
3.
Actual results:
Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422
==> /var/log/foreman/production.log <==
2021-01-23T22:52:15 [I|app|9072d123] Started PUT "/api/settings/92" for 127.0.0.1 at 2021-01-23 22:52:15 +0530
2021-01-23T22:52:15 [I|app|9072d123] Processing by Api::V2::SettingsController#update as JSON
2021-01-23T22:52:15 [I|app|9072d123] Parameters: {"setting"=>{"value"=>"[FILTERED]"}, "apiv"=>"v2", "id"=>"92"}
2021-01-23T22:52:15 [E|app|9072d123] Unprocessable entity Setting::General (id: 92):
9072d123 | Not a valid URL for a HTTP Proxy
9072d123 |
2021-01-23T22:52:15 [I|app|9072d123] Rendering api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout
2021-01-23T22:52:15 [I|app|9072d123] Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (Duration: 5.8ms | Allocations: 6602)
2021-01-23T22:52:15 [I|app|9072d123] Completed 422 Unprocessable Entity in 24ms (Views: 10.1ms | ActiveRecord: 2.2ms | Allocations: 17527)
Expected results:
Please print/show user-friendly error like "Not a valid URL for a HTTP Proxy" instead of current {Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422}
Additional info:
Any example on the popup would be helpful to understand the requirement, who are new to satellite
Description of problem: Error: Request failed with status code 422 if you miss adding HTTP or HTTPS before proxy IP or hostname Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422 Version-Release number of selected component (if applicable): satellite-6.9 Beta How reproducible: New installation Steps to Reproduce: 1. Go to Administer --> Settings --> General 2. Update "HTTP(S) proxy without HTTP:// or https:// 3. Actual results: Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422 ==> /var/log/foreman/production.log <== 2021-01-23T22:52:15 [I|app|9072d123] Started PUT "/api/settings/92" for 127.0.0.1 at 2021-01-23 22:52:15 +0530 2021-01-23T22:52:15 [I|app|9072d123] Processing by Api::V2::SettingsController#update as JSON 2021-01-23T22:52:15 [I|app|9072d123] Parameters: {"setting"=>{"value"=>"[FILTERED]"}, "apiv"=>"v2", "id"=>"92"} 2021-01-23T22:52:15 [E|app|9072d123] Unprocessable entity Setting::General (id: 92): 9072d123 | Not a valid URL for a HTTP Proxy 9072d123 | 2021-01-23T22:52:15 [I|app|9072d123] Rendering api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout 2021-01-23T22:52:15 [I|app|9072d123] Rendered api/v2/errors/unprocessable_entity.json.rabl within api/v2/layouts/error_layout (Duration: 5.8ms | Allocations: 6602) 2021-01-23T22:52:15 [I|app|9072d123] Completed 422 Unprocessable Entity in 24ms (Views: 10.1ms | ActiveRecord: 2.2ms | Allocations: 17527) Expected results: Please print/show user-friendly error like "Not a valid URL for a HTTP Proxy" instead of current {Oh no! Something went wrong while submitting the form, the server returned the following error: Error: Request failed with status code 422} Additional info: Any example on the popup would be helpful to understand the requirement, who are new to satellite