Bug 1223801

Summary: Let the user specify a static network configuration for the engine appliance
Product: [Retired] oVirt Reporter: Simone Tiraboschi <stirabos>
Component: ovirt-hosted-engine-setupAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6CC: bugs, ecohen, gklein, istein, lsurette, rbalakri, sbonazzo, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The oVirt appliance generally relies on DHCP but on small deployment it would be useful to let the user specify a static networking configuration for the engine VM.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 13:47:48 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:
Bug Depends On:    
Bug Blocks: 1217106, 1234915    

Description Simone Tiraboschi 2015-05-21 13:14:03 UTC
Description of problem:
The user could now configure some of the appliance parameters such its hostname via cloud-init.
But the appliance still relies only on DHCP based configuration.
Let the user specify a static network configuration for the appliance and provide it over cloud-init.

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

How reproducible:
100%

Steps to Reproduce:
1. deploy hosted-engine configuring the appliance via cloud-init
2.
3.

Actual results:
it simply relies over DHCP

Expected results:
it should ask about an optional static configuration

Additional info:
Cloud-init already supports network-interfaces field and it should be able to translate it into the specific format for the guest OS.
Example:
network-interfaces: |
  iface eth0 inet static
  address 192.168.1.10
  network 192.168.1.0
  netmask 255.255.255.0
  broadcast 192.168.1.255
  gateway 192.168.1.254

Evaluate if we also want to push an entry for the host in guest /etc/hosts

Comment 1 Artyom 2015-09-01 10:53:38 UTC
Verified on ovirt-hosted-engine-setup-1.3.0-0.4.beta.git42eb801.el7ev.noarch
Use have possibility to choose static network configuration(ip, DNS, default gateway)

Comment 2 Sandro Bonazzola 2015-11-04 13:47:48 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.