Bug 869651 - 3.2 - Add a method to reconfigure without init.d parameter
Summary: 3.2 - Add a method to reconfigure without init.d parameter
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.2.0
Assignee: Alon Bar-Lev
QA Contact: Ido Begun
URL:
Whiteboard: infra
Depends On:
Blocks: bootstrap-rewrite 879942
TreeView+ depends on / blocked
 
Reported: 2012-10-24 13:39 UTC by Alon Bar-Lev
Modified: 2016-02-10 19:14 UTC (History)
11 users (show)

Fixed In Version: vdsm-4.10.2-7.0
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:
dyasny: Triaged+


Attachments (Terms of Use)

Description Alon Bar-Lev 2012-10-24 13:39:14 UTC
commit dd0581dfa3086135bdd3b91c762137bf953f256b
Author: Alon Bar-Lev <alonbl>
Date:   Mon Oct 22 16:16:04 2012 +0200

    packaging: add a method to reconfigure without init.d parameter
    
    systemd does not support additional service commands[1], while there can
    be argue if this is good or bad this is the fact.
    
    CURRENT IMPLEMENTATION
    
    Current bootstrap implementation uses hybrid approach while trying to
    pass "reconfigure" to init.d, and when fails, access the init.d script
    directly.
    
    This is highly none expected behavior.
    
    NEW IMPLEMENTATION
    
    Add /var/lib/vdsm/reconfigure file, if exists perform reconfiguration.
    
    This will work with any init.d system without issues.
    
    The service will be reconfigure at next start.
    
    ** We cannot remove the code from the current vdsm-bootstrap, so it able
       to reconfigure previous versions of vdsm.
    
    [1] http://www.freedesktop.org/wiki/Software/systemd/Incompatibilities
    
    Change-Id: Id4a8d5939fbefc6d3857d8083dfcf2180b9ba110
    Signed-off-by: Alon Bar-Lev <alonbl>
    Reviewed-on: http://gerrit.ovirt.org/8725
    Reviewed-by: Zhou Zheng Sheng <zhshzhou.ibm.com>
    Reviewed-by: Juan Hernandez <juan.hernandez>
    Reviewed-by: Adam Litke <agl.com>
    Reviewed-by: Dan Kenigsberg <danken>

Comment 9 Alon Bar-Lev 2012-12-01 20:42:14 UTC
modified per upstream rebase.

Comment 10 Stephen Gordon 2012-12-20 17:08:33 UTC
Setting requires_doc_text-, I'm assuming that if users need to reconfigure VDSM they should either be re-installing the machine from the management interface or contacting GSS,

Comment 12 Ido Begun 2013-03-24 10:20:45 UTC
OK - SF11

Creating /var/lib/vdsm/reconfigure does indeed cause VDSM to reconfigure on next startup.

Comment 13 Itamar Heim 2013-06-11 09:06:47 UTC
3.2 has been released

Comment 14 Itamar Heim 2013-06-11 09:06:50 UTC
3.2 has been released

Comment 15 Itamar Heim 2013-06-11 09:06:50 UTC
3.2 has been released

Comment 16 Itamar Heim 2013-06-11 09:06:50 UTC
3.2 has been released

Comment 17 Itamar Heim 2013-06-11 09:35:31 UTC
3.2 has been released


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