Bug 1091692
| Summary: | [Network labels] Removal of labelled network from DC inconsistent with removal from cluster | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | GenadiC <gcheresh> |
| Component: | ovirt-engine | Assignee: | Martin Mucha <mmucha> |
| Status: | CLOSED ERRATA | QA Contact: | GenadiC <gcheresh> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.4.0 | CC: | adahms, ecohen, gklein, iheim, juwu, lpeer, lvernia, masayag, mmucha, myakove, nyechiel, rbalakri, Rhev-m-bugs, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.5.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | network | ||
| Fixed In Version: | vt3 | Doc Type: | Bug Fix |
| Doc Text: |
Previously, when removing an labeled network from a data center directly, or removing an labeled network from a cluster first, then from the data center, the behavior was inconsistent. In the latter scenario, the network became an unmanaged network. With this update, when removing a labeled network, the behavior is the same in both scenarios and would not cause any networks to be left in an unmanaged state.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-11 18:00:48 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1142923, 1156165 | ||
|
Description
GenadiC
2014-04-27 10:14:16 UTC
I am less concerned about the error message, and more concerned about the inconsistent results of these two scenarios: 1. First removing network from cluster, then from DC. 2. Remove network directly from DC (and therefore from underlying clusters). In my opinion, these two scenarios should produce identical results, yet from Genadi's description it sounds like (1) removes the network from hosts whereas (2) leaves it as unmanaged. When a network doesn't have a label, then the behavior is consistent when removing it either from a DC or from a cluster - it stays on the hosts and becomes unmanaged. When the same operations are performed for a network with a label, I think the result should be the same - it is unclear to me why when removing from a cluster, we strip the label from the network first. If we do want to maintain this behavior (although I find it confusing), I think we should do the same when removing a labelled network from a DC. (In reply to Lior Vernia from comment #2) > When a network doesn't have a label, then the behavior is consistent when > removing it either from a DC or from a cluster - it stays on the hosts and > becomes unmanaged. > > When the same operations are performed for a network with a label, I think > the result should be the same - it is unclear to me why when removing from a > cluster, we strip the label from the network first. > > If we do want to maintain this behavior (although I find it confusing), I > think we should do the same when removing a labelled network from a DC. +1 for removing a network from hosts when the network is labelled. I suggest to extend the "remove network" flow to contain "remove from hosts" property, and let the user if he wishes to preserve or not the networks. We can have the same for "detach network from cluster" in order to achieve the symmetry. Good, so when removing a labelled network from a DC let's make the behavior consistent with removal from clusters. Then, when we solve Bug 1062610, the desired behavior (leave unmanaged or remove from hosts) could be chosen whether the network had been labelled or not. fixed in vt3, moving to on_qa. if you believe this bug isn't released in vt3, please report to rhev-integ rhevm-3.5.0-0.12.beta.el6ev.noarch Hi Martin, Please provide the doc text. Cheers, Julie Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0158.html |