Bug 1102632

Summary: Network status show as unconfigured if user just register hypervisor to rhevm but not approve it.
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: ovirt-node-plugin-vdsmAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: high    
Version: 3.4.0CC: alonbl, bazulay, fdeutsch, gklein, gouyang, guasun, hadong, huiwa, iheim, jboggs, leiwang, masayag, rbarry, yaniwang, ycui
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-01 22:14:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ovirt.log
none
vdsm_reg.log none

Description cshao 2014-05-29 11:00:43 UTC
Created attachment 900314 [details]
ovirt.log

Description of problem:
1. If user just register hypervisor to rhevm but not approve it, the 
network status will show as unconfigured. This would cause all network 
related configure are not able to complete.(e.g. logging, kdump, 
remote storage, rhn)

2. Another issue is user can't register to another RHEVM in TUI once the 
hypervisor has been registered. So set priority to High.


Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20140527.0
ovirt-node-3.0.1-18.el6_5.10
ovirt-node-plugin-vdsm-0.1.1-22.el6ev
vdsm-4.14.7-3.el6ev.x86_64

How reproducible:
100%


Steps to Reproduce:
1. Install RHEV-H.
2. Register the hypervisor to RHEVM but without approve.
3. TUI:Check network status in RHEV-H side.
4. CMD: run command "ifconfig"

Actual results:
1. After step 3, the network status show as unconfigured in TUI.
2. All network related configure are not able to complete.(e.g. 
logging, kdump, remote storage, rhn)
3. After step4, the hypervisor can obtain IP in CMD, and the bridge 
show as RHEVM.

Expected results:
Network show as "Managed" and all network related configure are operable.

Additional info:

Comment 1 cshao 2014-05-30 07:00:13 UTC
Created attachment 900630 [details]
vdsm_reg.log

Comment 3 Barak 2014-06-01 22:11:36 UTC
This is actually work as designed.
The network configuration happens after:
1 - registration
2 - approval
3 - host deploy is executed 
4 - network configuration is applied from the engine

Alon, Moti - please approve

Comment 4 Alon Bar-Lev 2014-06-01 22:14:27 UTC
Registration is pending addition. Until approve host is unusable. This is by design to avoid various of attacks from unauthorized sources.