Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034542
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2016-11-16 16:492016-12-16 18:38
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revisionb83ebb9b59bb
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034542: [clustering] instance activation/refresh in a node is not detected in others

DescriptionWorking in a clustered environment, when instance is activated or refreshed in a node, other nodes don't get refreshed.
Steps To ReproduceCase 1: Activation
1.1. Prepare a community instance in an environment with 2 Tomcats (srv1 and srv2) using the same DB
1.2. Log in in srv1 as Sys Admin
1.3. Load Login page in srv2
1.4. Activate instance in srv1
1.5. Log in in srv2
   -> NOK: Instance remains as community when served from srv2

Case 2: refresh
2.1. In the previous instance that is already activated restart srv2
2.2. In srv2 log in as Sys Admin
2.3. Change settings to that license (ie. modify number of allowed concurrent users)
2.4. In srv2 refresh license
2.5. Login in srv1 as Sys Admin
2.6. Check license settings in Instance Activation window
   -> NOK: Settings remain as they were, they are not updated with new ones

 
Tagsclustering
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034518 closedalostale [clustering] different nodes detected as clones 
blocks design defect 0034490 acknowledgedTriage Platform Base [clustering] Support clustering 

-  Notes
(0091623)
hgbot (developer)
2016-11-17 10:18

Repository: erp/devel/pi
Changeset: b83ebb9b59bbb7459daa24a14ed265f153b17967
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Nov 16 16:55:58 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b83ebb9b59bbb7459daa24a14ed265f153b17967 [^]

fixed issue 34542: instance activation/refresh in a node not detected in others

  When activating/refreshing instance in a node of a cluster, other nodes didn't
  get refreshed maintaing already cached information.

  Even there was a mechanism to reload activation when AD_System was updated, it
  didn't work correctly because strPublicKey was not getting updated which was
  later checked to actually reload the license.

  The fix:
    - Removes code duplication so this same flow is invoked from different places
      centrally maintained
    - Small code clean up for better readability

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---
(0091717)
caristu (developer)
2016-11-21 17:53

Code reviewed + testing OK: nodes license information now is refreshed.
(0092639)
hudsonbot (developer)
2016-12-16 18:38

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-11-16 16:49 alostale New Issue
2016-11-16 16:49 alostale Assigned To => alostale
2016-11-16 16:49 alostale Modules => Core
2016-11-16 16:49 alostale Triggers an Emergency Pack => No
2016-11-16 16:49 alostale Tag Attached: clustering
2016-11-16 16:49 alostale Review Assigned To => caristu
2016-11-16 16:50 alostale Relationship added blocks 0034490
2016-11-16 16:50 alostale Relationship added related to 0034518
2016-11-17 10:18 hgbot Checkin
2016-11-17 10:18 hgbot Note Added: 0091623
2016-11-17 10:18 hgbot Status new => resolved
2016-11-17 10:18 hgbot Resolution open => fixed
2016-11-17 10:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b83ebb9b59bbb7459daa24a14ed265f153b17967 [^]
2016-11-21 17:53 caristu Note Added: 0091717
2016-11-21 17:53 caristu Status resolved => closed
2016-11-21 17:53 caristu Fixed in Version => 3.0PR17Q1
2016-12-16 18:38 hudsonbot Checkin
2016-12-16 18:38 hudsonbot Note Added: 0092639


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker