Description of problem: vdsm keeps reporting dhcp lease although it was changed to static ip. When changing the bootproto from dhcp to static ip via the command line on the server, vdsCaps continue to report the dhcp lease and will not recognize the change, although the server now have static ip. Version-Release number of selected component (if applicable): vdsm-4.17.15-0.el7ev.noarch How reproducible: 100 Steps to Reproduce: 1. Install clean rhel 7.2 server with vdsm-4.17.15-0.el7ev.noarch and obtain ip via dhcp server 2. Via ifcfg-* change the bootproto to none/static and set a static ip instead of dhcp 3. Restart network service Actual results: vdsm keeps reporting the dhcp lease. If installing the server in rhev-m it will configure the 'ovirtmgmt' bridge with bootproto=dhcp and not static as should. Expected results: vdsm should report static ip
One small remark for clarity: The patch fixes the described scenario, when no setupNetworks is received by vdsm. After a successful setupNetworks, vdsm will report the dhcp status as seen in the running configuration and not the actual. Maybe this scenario deserves its own ticket: 1. Install new host (with dhcp). 2. Add host in engine. (running config is created) 3. In the host, change manually to static ip (and apply). 4. Issue get caps report and see wrongs dhcp as enabled.
(In reply to Edward Haas from comment #1) > One small remark for clarity: > The patch fixes the described scenario, when no setupNetworks is received by > vdsm. > After a successful setupNetworks, vdsm will report the dhcp status as seen > in the running configuration and not the actual. > > Maybe this scenario deserves its own ticket: > 1. Install new host (with dhcp). > 2. Add host in engine. (running config is created) > 3. In the host, change manually to static ip (and apply). > 4. Issue get caps report and see wrongs dhcp as enabled. This scenario have now it's own BZ - 1305880
Verified on - vdsm-4.17.999-892.git435139d.el7.centos.noarch
oVirt 4.0.0 has been released, closing current release.