Bug 1326338 - NGN does not save networking information during an interactive Anaconda install
Summary: NGN does not save networking information during an interactive Anaconda install
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: Installation & Update
Version: master
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.0.0-rc
: 4.0
Assignee: Ryan Barry
QA Contact: cshao
URL:
Whiteboard:
Depends On: 1290858 1342639
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-12 13:17 UTC by Ryan Barry
Modified: 2016-07-05 07:49 UTC (History)
7 users (show)

Fixed In Version: ovirt-node-ng-tools-4.0.0-0.20160609.0.el7.noarch.rpm (snapshot)
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 07:49:03 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
fdeutsch: devel_ack+
cshao: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 58167 0 master ABANDONED Remove squashfs network files so anaconda can overwrite them 2016-05-27 12:54:47 UTC
oVirt gerrit 58180 0 master MERGED Remove network files so anaconda can overwrite them 2016-06-08 12:28:41 UTC

Description Ryan Barry 2016-04-12 13:17:45 UTC
Description of problem:
Networking information entered in an Anaconda spoke is not present when installation is complete.

How reproducible:
100%

Steps to Reproduce:
1. Install NGN using Anaconda interactive
2. Set networking information (hostname, interface protocol)

Actual results:
Hostname is localhost. Networking is dhcp.

Expected results:
Installed system matches what was in Anaconda.

Additional info:
Maybe a bug with Anaconda's liveimg implementation, using files from the liveimg and not overwriting them?

Comment 1 Red Hat Bugzilla Rules Engine 2016-04-12 13:17:51 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Red Hat Bugzilla Rules Engine 2016-04-12 13:17:51 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Fabian Deutsch 2016-04-12 13:50:33 UTC
Maybe a good idea to generate an image without vdsm to check if vdsm has an impact here.

Comment 4 cshao 2016-04-13 06:15:32 UTC
RHEV-H QE can reproduce this issue.

Test version:
ovirt-node-ng-installer-ovirt-3.6-2016041220.iso
ovirt-node-ng-image-update-placeholder-007-1.el7.noarch
imgbased-0.5-0.201604081259git50033ca.el7.centos.noarch
ovirt-release-host-node-007-1.el7.noarch

Test steps:
1. Install NGN using Anaconda interactive
2. Set networking information (hostname, interface protocol)

Test result:
Hostname is localhost. Networking is dhcp.

Comment 5 Sandro Bonazzola 2016-05-02 09:56:14 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 6 Ryan Barry 2016-05-27 02:18:54 UTC
I can't reproduce this on current images. Network information (but not hostname) entered into anaconda is present both in /mnt/sysimage/... before rebooting, and on the system after rebooting.

Can you please check whether or not this is still reproducible?

Comment 7 Ryan Barry 2016-05-27 02:48:03 UTC
Found the root cause, even though I can't reproduce it. Patch up

Comment 8 cshao 2016-05-27 03:33:57 UTC
(In reply to Ryan Barry from comment #6)
> I can't reproduce this on current images. Network information (but not
> hostname) entered into anaconda is present both in /mnt/sysimage/... before
> rebooting, and on the system after rebooting.
> 
> Can you please check whether or not this is still reproducible?

Yes, the network information (but not hostname) can be saved in current images.

Test version:
rhev-hypervisor7-ng-4.0-20160526.0.x86_64
imgbased-0.6-0.1.el7ev.noarch

Comment 9 Ryan Barry 2016-06-09 12:14:31 UTC
Should this be ON_QA? It was merged yesterday, but yesterday's build was a respin which did not include a new imgbased build.

Comment 10 Fabian Deutsch 2016-06-09 12:27:36 UTC
It is actually included in tonights upstream snapshot build.

Comment 11 cshao 2016-06-16 05:49:27 UTC
Test version:
ovirt-node-ng-installer-ovirt-4.0-snapshot-2016061504.iso
ovirt-node-ng-tools-4.0.0-0.20160615.0.el7.noarch.rpm
imgbased-0.7.0-0.201606141357gitbd2220e.el7.centos.noarch

Test steps:
1. Install NGN using Anaconda interactive
2. Set networking information (hostname, interface protocol)

Test result:
Hostname can be saved, the network information can be saved in current images. so the installed system matches what was in Anaconda.

So the bug is fixed, change bug status to VERIFIED.

Comment 12 Sandro Bonazzola 2016-07-05 07:49:03 UTC
oVirt 4.0.0 has been released, closing current release.


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