Bug 691484 - When detaching network from host's interface, the interface becomes down
Summary: When detaching network from host's interface, the interface becomes down
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 3.2
Assignee: Antoni Segura Puimedon
QA Contact:
URL:
Whiteboard: network
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-28 16:41 UTC by Rami Vaknin
Modified: 2014-01-12 23:52 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-15 06:47:48 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.