Created attachment 1002875 [details] /var/log/foreman-proxy/proxy.log Description of problem: After upgrading Sat 6 from 6.0.6 to 6.0.8, DHCP was no longer offering IP addrsses on local configured capsule. Version-Release number of selected component (if applicable): 6.0.8 How reproducible: Every time Steps to Reproduce: 1. Upgrade Sat 6 OS from RHEL 7.0 to 7.1 2. Upgrade Sat 6 from 6.0.6 to 6.0.8 3. Attempt to create a new host and it no longer is offered an IP address; attempts to suggest new fail. Actual results: No IP address offered. Expected results: IP address offered. Additional info: Output of /var/log/foreman-proxy/proxy.log attached. Confirmed resolution is: chmod o+x /etc/dhcp
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
the actual error in the logs say: `Unable to find the DHCP configuration or lease files` did you change your dhcp configuration (or updated packages etc) at the same time as upgrading satellite?
(In reply to Ohad Levy from comment #3) > the actual error in the logs say: > > `Unable to find the DHCP configuration or lease files` > > did you change your dhcp configuration (or updated packages etc) at the same > time as upgrading satellite? No changes made to existing configuration.
please paste complete configuration files etc, this seems like a misconfigured system.
Created attachment 1060526 [details] foreman-debug
Updating this info as this bug is being marked for Sat6.1.z Want to confirm the below: a) upgrading sat6.0.8[rhel7.0] to sat6.1.1[rhel7.1] has no issues. b) Sat6.1.1 did provide DHCP IP suggestions successfully even after upgrade.
Kedar, the verification steps are correct, could you verify it please? I checked the foreman-debug and the dhcpd configuration seems correct. The only change that was made by installer was in the list of name servers in dhcpd.conf. Nothing else indicates that there's a configuration issue.
Verified with latest sat6.1.3 compose. I upgraded the sat6.0.8 -> sat6.1.3 After upgrade, sat6 offers IP address by clicking 'suggest new'. I don't find any issue with ip address assignment while creating new host. production.log on clicking 'suggest new': -- 2015-10-06 06:34:57 [I] Processing by SubnetsController#freeip as JSON 2015-10-06 06:34:57 [I] Parameters: {"subnet_id"=>"1", "host_mac"=>"", "organization_id"=>"1", "location_id"=>"2"} 2015-10-06 06:34:59 [I] Completed 200 OK in 2202ms (Views: 0.2ms | ActiveRecord: 4.4ms) -- Please note that when you create new host, auto IP suggested by sat6 server.
Created attachment 1080197 [details] IP offered by sat6
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/RHBA-2015:1911