Bug 1432386
| Summary: | static ip remain on the interface when removing non-vm network from it in case it has another vlan network attached | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] vdsm | Reporter: | Michael Burman <mburman> | ||||
| Component: | Core | Assignee: | Petr Horáček <phoracek> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Michael Burman <mburman> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.19.7 | CC: | bugs, danken, phoracek | ||||
| Target Milestone: | ovirt-4.1.6 | Flags: | rule-engine:
ovirt-4.1+
mburman: testing_plan_complete+ |
||||
| Target Release: | 4.19.29 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-09-19 10:01:56 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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 |
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: