Bug 993654 - Install info can't be stored in /etc/default/ovirt.
Summary: Install info can't be stored in /etc/default/ovirt.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: 3.2
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: Mike Burns
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-06 11:17 UTC by bohai
Modified: 2016-04-26 13:41 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-15 13:50:16 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description bohai 2013-08-06 11:17:29 UTC
Description of problem:
After install ovirt-node, there is no info stored successfully in /etc/default/ovirt .Such as OVIRT_INIT is empty string...

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

How reproducible:
100%

Steps to Reproduce:
1.install ovirt-node
2.check /etc/default/ovirt
3.

Actual results:


Expected results:
Info specified when install the ovirt-node is stored in the /etc/default/ovirt

Additional info:
Nothing is stored in /etc/default/ovirt

Comment 1 bohai 2013-08-07 03:03:17 UTC
I found it is beacause of the call of functions.disable_firstboot() in function ovirt_boot_setup.


But why we rase what we wrote to the /etc/default/ovirt in first step?

Comment 2 Mike Burns 2013-08-15 13:50:16 UTC
We intentionally remove init from that file to avoid issues with installation loops.  It is only useful during the install process, but having it there during the normal boot can cause the system to reinstall and enter a loop or reinstall/reboot.  Other information in the default file is used at runtime, but the OVIRT_INIT value is not.


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