Openbravo Issue Tracking System - Modules
View Issue Details
0013789ModulesCentral Repositorypublic2010-06-25 15:542014-04-01 21:46
alostale 
alostale 
urgentminorhave not tried
closedfixed 
5
 
 
0013789: Allow maintenance for butler server
In order to minimize the downtime for centralrepository/heartbeat server during maintenance periods, the server will be cloned, the maintenance will be done in the clone and finally, the clone will be the new production server.

To prevent loose of data during this process a maintenance mode flag in the instance should be implemented, when this flag is set some operations affecting data will not be allowed.

The following flows are the ones to take into account:

1. Professional subscription activation: It will no be allowed to register new instances during this period.
2. Heartbeat beats: It has been decided not to take into account these beats. This means the server will allow beats during this period of time, and they could be later manually moved to the new database.
3. Module register: It will not be allowed to register new modules during this period of time.
4. Module publication: It will not be allowed to publish new module versions during this period of time.

Flows 1 and 3 are executed from Openbravo ERP UI, a new message will be created for this case. ERP instances prior to the release that includes the new message will not be able to display the error properly.
No tags attached.
Issue History
2010-06-25 15:54alostaleNew Issue
2010-06-25 15:54alostaleAssigned To => alostale
2010-06-25 15:54alostaleSummaryAllo maintenance for butler server => Allow maintenance for butler server
2010-06-25 15:58hgbotCheckin
2010-06-25 15:58hgbotNote Added: 0028781
2010-06-25 15:58hgbotStatusnew => resolved
2010-06-25 15:58hgbotResolutionopen => fixed
2010-06-25 15:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/26f90b63e05531f5e6fe9f4f2b5c38c2e898b626 [^]
2010-06-25 16:01hgbotCheckin
2010-06-25 16:01hgbotNote Added: 0028782
2010-06-25 16:01hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/26f90b63e05531f5e6fe9f4f2b5c38c2e898b626 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.butler.ops/rev/3b4316cbb7c422184a6187066163c924526cb9cb [^]
2010-06-25 16:06hgbotCheckin
2010-06-25 16:06hgbotNote Added: 0028783
2010-06-25 16:06hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.butler.ops/rev/3b4316cbb7c422184a6187066163c924526cb9cb [^] => http://code.openbravo.com/erp/devel/pi/rev/f3bc40f1b3f6f6a0fdd6760e5ba2db2128a3526d [^]
2010-06-25 16:53hgbotCheckin
2010-06-25 16:53hgbotNote Added: 0028802
2010-06-25 16:53hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/f3bc40f1b3f6f6a0fdd6760e5ba2db2128a3526d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/bba696b3efb7559cd5156fadf0703402f4d233df [^]
2010-06-30 12:17hudsonbotCheckin
2010-06-30 12:17hudsonbotNote Added: 0028912
2014-04-01 21:46plujanNote Added: 0065727
2014-04-01 21:46plujanStatusresolved => closed

Notes
(0028781)
hgbot   
2010-06-25 15:58   
Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: 26f90b63e05531f5e6fe9f4f2b5c38c2e898b626
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 25 15:58:12 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/26f90b63e05531f5e6fe9f4f2b5c38c2e898b626 [^]

fixed issue 13789: Allow maintenance for butler server
  -Infrastructure
  -Flows 3 and 4: Don't allow new module register or publication

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src-db/database/sourcedata/AD_TAB.xml
M src-db/database/sourcedata/AD_TREENODE.xml
M src-db/database/sourcedata/AD_WINDOW.xml
M src/org/openbravo/utility/centralrepository/process/PublishModule.java
M src/org/openbravo/utility/centralrepository/process/RegisterModule.java
M src/org/openbravo/utility/centralrepository/ui/pub/ForgeMessage.java
---
(0028782)
hgbot   
2010-06-25 16:01   
Repository: erp/pmods/org.openbravo.butler.ops
Changeset: 3b4316cbb7c422184a6187066163c924526cb9cb
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 25 15:55:51 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.butler.ops/rev/3b4316cbb7c422184a6187066163c924526cb9cb [^]

fixed issue 13789: Allow maintenance for butler server
  1. Don't allow new professional subscription activations in maintenance mode

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src/org/openbravo/butler/ops/ActivationKeyGetter.java
---
(0028783)
hgbot   
2010-06-25 16:06   
Repository: erp/devel/pi
Changeset: f3bc40f1b3f6f6a0fdd6760e5ba2db2128a3526d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 25 16:05:36 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f3bc40f1b3f6f6a0fdd6760e5ba2db2128a3526d [^]

fixed issue 13789: Allow maintenance for butler server

  Include message in to show when trying to activate a Professional Edition Instance
  or trying to register modules and the server is in maintenance.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0028802)
hgbot   
2010-06-25 16:53   
Repository: erp/pmods/org.openbravo.utility.centralrepository
Changeset: bba696b3efb7559cd5156fadf0703402f4d233df
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Jun 25 16:52:53 2010 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.centralrepository/rev/bba696b3efb7559cd5156fadf0703402f4d233df [^]

fixed issue 13789: Allow maintenance for butler server
  Added missing table modification

---
A src-db/database/model/modifiedTables/AD_SYSTEM_INFO.xml
---
(0028912)
hudsonbot   
2010-06-30 12:17   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f3bc40f1b3f6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^]
(0065727)
plujan   
2014-04-01 21:46   
Closed as marked as Resolved for too long