Bug 691484

Summary: When detaching network from host's interface, the interface becomes down
Product: [Retired] oVirt Reporter: Rami Vaknin <rvaknin>
Component: vdsmAssignee: Antoni Segura Puimedon <asegurap>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: abaron, acathrow, bazulay, danken, dyasny, iheim, mgoldboi, syeghiay, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-15 06:47:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rami Vaknin 2011-03-28 16:41:17 UTC
Environment: RHEVM 2.3 on RHEL6, dev env, RHEL6.1 host

Scenario:
1. Choose Host's interface with status up, attach it to a network (you can choose any network, including VLAN networks)
2. Detach the network from that interface

The interface becomes down as a result of that operation.

Comment 2 Dan Kenigsberg 2011-03-29 19:31:42 UTC
This has always been the behavior of delNetwork verb. Why is suddenly problematic? Do we really want to change it?

Comment 3 Moran Goldboim 2011-03-30 11:05:26 UTC
Is this behaviour seems logical to you?
From where i see it: if you have a given status, you do an action on it, you undo same action on it -> status should be same as in step 1.

Comment 4 Dan Kenigsberg 2011-09-17 10:01:01 UTC
yes, it seems logical to me, in a way. delNetwork is NOT "undo last addNetwork". It removes all parts of the network, and turns the interface off.

However, it is unfortunate that we cannot define network device that are not connected to any logical network. Thanks a whole-blown feature.

It may make sense to keep NIC up, however, so admin can keep tracking its connectivity.

Comment 5 Moran Goldboim 2011-09-27 07:58:05 UTC
(In reply to comment #4)
> yes, it seems logical to me, in a way. delNetwork is NOT "undo last
> addNetwork". It removes all parts of the network, and turns the interface off.
> 
> However, it is unfortunate that we cannot define network device that are not
> connected to any logical network. Thanks a whole-blown feature.
> 
> It may make sense to keep NIC up, however, so admin can keep tracking its
> connectivity.

Upstream?

Comment 6 Antoni Segura Puimedon 2012-10-12 12:02:59 UTC
Proposal for a patch http://gerrit.ovirt.org/#/c/8443/

Comment 7 Itamar Heim 2013-01-16 16:10:21 UTC
3.2 beta built, moving to ON_QA status to allow testing