Created attachment 1263259 [details] Logs Description of problem: static ip remain on the interface when removing non-vm network from it in case it has another vlan network attached. If attaching to an interface non-VM network + vlan network and setting a static ip on the non-vm network, the static ip is left on the interface, although the non-vm network is detached from the host. The static ip will be removed from the interface only when detaching the vlan network from the interface. - If attaching only a non-vm network to the interface with static ip and then detaching the network, the static ip is removed from the interface as it should be. Version-Release number of selected component (if applicable): vdsm-4.19.7-1.el7ev.x86_64 How reproducible: 100 Steps to Reproduce: 1. Attach vlan network + non-Vm network to the same interface and set static ip on the non-vm network. Approve operation in setup networks dialog 2. Detach the non-vm network from the interface Actual results: The static ip remains on the interface. Expected results: Static ip should be removed if the non-VM network is detached from the interface Additional info:
I managed to reproduce it with VDSM and created a test coverage for the case. Working on a fix now.
The patch is not yet ready, moving to next micro release.
A similar bug probably lurks when the ip is defined on top of a bond. If so, please file a separate bug.
Dan, not sure why it moved to ON_QA as it still ends up with the same result on 4.1.5.1-0.1.el7 and vdsm-4.19.26-1.el7ev.x86_64
Verified on - 4.1.6-0.1.el7 and vdsm-4.19.29-1.el7ev.x86_64