Bug 811906

Summary: Network configuration problems with static ip
Product: [Retired] oVirt Reporter: marcik4
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, dyasny, jboggs, mburns, mgoldboi, ovirt-bugs, ovirt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-14 13:35:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description marcik4 2012-04-12 09:50:18 UTC
Description of problem:

Configuring network on ovirt-node cause many problems. For example: changing hostname clears dns and ntp fields.

Version-Release number of selected component (if applicable):

ovirt-node-iso-2.3.0-1.0.fc16.iso

How reproducible:

Always.

Steps to Reproduce:

1. install ovirt-node
2. open network configuration dialog
3. configure one network interface with static ip
4. apply changes
5. change localhost hostname to desired one, enter nameservers ips
6. apply
  
Actual results:

Hostname is changed, but nameservers fields are cleared, so as ntp servers fields.

Expected results:

Nameservers and ntp servers fields not to be cleaned.

Additional info:

General network configuration is very problematic, causes many problems which makes registration of nodes in manager hard and long.

Comment 1 Mike Burns 2012-05-14 14:51:01 UTC
I think some of the pending patches will solve these issues, but please test the use case mentioned here.

Comment 2 Fabian Deutsch 2012-05-15 08:58:03 UTC
I coudl reproduce this problem and suppose that the following patch fixes this (and other) issue:

http://gerrit.ovirt.org/#change,4340

I tested this like this:
1. Install a fresh o-node-2.3.0
2. apply teh patch to ovirt-config-setup
3. open Network dialog
4. configure one nic with a static ip (10.0.0.1/24 gw .254)
5. change the localhostname by appending 22
6. apply
7. set a ntp server and apply

the ntp server occurs again