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.
Created attachment 1355058[details]
screenshot of UI
Description of problem: We were trying to create a host (with libvirt but issue is with all compute resource). But the capsule was unable to provide a free IP. Interface tab shows error as Failed to fetch a free IP from Capsule.
Version-Release number of selected component (if applicable):Satellite 6.3 snap 25
How reproducible: always
Steps to Reproduce:
1. Create host group with valid subnet, compute resource
2. Navigate to Hosts -> create new host
3. Select host group and compute resource to deploy
4. Go to interface tab and select edit interface
5. Select subnet
Actual results:
UI showed error on IPv4 suggestion as Failed to fetch a free IP from Capsule %{Capsule}: %{message}
and production.log showed
2017-11-19 03:11:13 d95897a3 [app] [I] Started POST "/subnets/freeip" for 10.65.223.187 at 2017-11-19 03:11:13 -0500
2017-11-19 03:11:13 d95897a3 [app] [I] Processing by SubnetsController#freeip as JSON
2017-11-19 03:11:13 d95897a3 [app] [I] Parameters: {"subnet_id"=>"2", "host_mac"=>"", "organization_id"=>"1", "location_id"=>"2", "taken_ips"=>["", ""]}
2017-11-19 03:11:13 d95897a3 [app] [I] Current user: admin (administrator)
2017-11-19 03:11:13 d95897a3 [app] [W] Failed to fetch a free IP from proxy <hostname> (https://<hostname>:9090): ERF12-8202 [ProxyAPI::ProxyException]: Unable to retrieve unused IP ([RestClient::BadRequest]: 400 Bad Request) for Capsule https://<hostname>:9090/dhcp
2017-11-19 03:11:13 d95897a3 [app] [I] Completed 200 OK in 94ms (Views: 0.5ms | ActiveRecord: 6.7ms)
and proxy.log showed
I, [2017-11-19T03:14:59.108374 ] INFO -- : <IP> - - [19/Nov/2017:03:14:59 -0500] "GET /dhcp/192.168.100.0/unused_ip HTTP/1.1" 400 35 0.0018
E, [2017-11-19T03:15:02.300105 ] ERROR -- : wrong number of arguments (4 for 3)
Expected results:
free IP suggestion should work.
Additional info:
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-2018:0336
Created attachment 1355058 [details] screenshot of UI Description of problem: We were trying to create a host (with libvirt but issue is with all compute resource). But the capsule was unable to provide a free IP. Interface tab shows error as Failed to fetch a free IP from Capsule. Version-Release number of selected component (if applicable):Satellite 6.3 snap 25 How reproducible: always Steps to Reproduce: 1. Create host group with valid subnet, compute resource 2. Navigate to Hosts -> create new host 3. Select host group and compute resource to deploy 4. Go to interface tab and select edit interface 5. Select subnet Actual results: UI showed error on IPv4 suggestion as Failed to fetch a free IP from Capsule %{Capsule}: %{message} and production.log showed 2017-11-19 03:11:13 d95897a3 [app] [I] Started POST "/subnets/freeip" for 10.65.223.187 at 2017-11-19 03:11:13 -0500 2017-11-19 03:11:13 d95897a3 [app] [I] Processing by SubnetsController#freeip as JSON 2017-11-19 03:11:13 d95897a3 [app] [I] Parameters: {"subnet_id"=>"2", "host_mac"=>"", "organization_id"=>"1", "location_id"=>"2", "taken_ips"=>["", ""]} 2017-11-19 03:11:13 d95897a3 [app] [I] Current user: admin (administrator) 2017-11-19 03:11:13 d95897a3 [app] [W] Failed to fetch a free IP from proxy <hostname> (https://<hostname>:9090): ERF12-8202 [ProxyAPI::ProxyException]: Unable to retrieve unused IP ([RestClient::BadRequest]: 400 Bad Request) for Capsule https://<hostname>:9090/dhcp 2017-11-19 03:11:13 d95897a3 [app] [I] Completed 200 OK in 94ms (Views: 0.5ms | ActiveRecord: 6.7ms) and proxy.log showed I, [2017-11-19T03:14:59.108374 ] INFO -- : <IP> - - [19/Nov/2017:03:14:59 -0500] "GET /dhcp/192.168.100.0/unused_ip HTTP/1.1" 400 35 0.0018 E, [2017-11-19T03:15:02.300105 ] ERROR -- : wrong number of arguments (4 for 3) Expected results: free IP suggestion should work. Additional info: