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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034518
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2016-11-15 10:202016-12-16 18:38
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revision0d2395a0d55f
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

0034518: [clustering] different nodes detected as clones

DescriptionWhen working in a clustered environment having nodes in different physical machines, after login as system admin in a node different than the last one where sys admin was logged in, the instance is detected as cloned.
Steps To Reproduce1. Prepare an environment with two tomcats in two different physical machines using the same DB.
2. Login as system admin in server 1
3. Activate instance
4. Login as system admin in server 2
  -> Instance is detected as cloned
Proposed SolutionWhen working in clustered environments, different physical machines shouldn't be counted as different clones. This can be avoided by tagging the instance to be in a clustered environment through a new property.

Note for already existing instances setting this property, first login will be detected as clone.
Tagsclustering
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034542 closedalostale [clustering] instance activation/refresh in a node is not detected in others 
blocks design defect 0034490 acknowledgedTriage Platform Base [clustering] Support clustering 

-  Notes
(0091539)
hgbot (developer)
2016-11-15 10:45

Repository: erp/devel/pi
Changeset: 0d2395a0d55f755eb0e5ed5574d11fc4a927e925
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Nov 15 10:41:40 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0d2395a0d55f755eb0e5ed5574d11fc4a927e925 [^]

fixed issue 34518: [clustering] different nodes detected as clones

  When working in a clustered environment, sys admin logins in different
  nodes where detected as cloned instances.

  MAC identifier is used as part of clone identifier, in case of clustering
  different nodes can have different MAC ids, so they were always detected
  as clones.

  Added a new "cluster" property, when it is set MAC address is not computed
  beacause it was not relevant in this situation.

---
M src/org/openbravo/erpCommon/utility/SystemInfo.java
---
(0091540)
alostale (manager)
2016-11-15 10:53

Documented in http://wiki.openbravo.com/wiki/Openbravo.properties#Others [^]
(0091716)
caristu (developer)
2016-11-21 17:43

Code reviewed + tested OK: nodes not detected as clones when environment is configured as clustered.
(0092626)
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-15 10:20 alostale New Issue
2016-11-15 10:20 alostale Assigned To => platform
2016-11-15 10:20 alostale Modules => Core
2016-11-15 10:20 alostale Triggers an Emergency Pack => No
2016-11-15 10:20 alostale Assigned To platform => alostale
2016-11-15 10:20 alostale Review Assigned To => caristu
2016-11-15 10:20 alostale Tag Attached: clustering
2016-11-15 10:21 alostale Relationship added blocks 0034490
2016-11-15 10:45 hgbot Checkin
2016-11-15 10:45 hgbot Note Added: 0091539
2016-11-15 10:45 hgbot Status new => resolved
2016-11-15 10:45 hgbot Resolution open => fixed
2016-11-15 10:45 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0d2395a0d55f755eb0e5ed5574d11fc4a927e925 [^]
2016-11-15 10:53 alostale Note Added: 0091540
2016-11-16 16:50 alostale Relationship added related to 0034542
2016-11-21 17:43 caristu Note Added: 0091716
2016-11-21 17:43 caristu Status resolved => closed
2016-11-21 17:43 caristu Fixed in Version => 3.0PR17Q1
2016-12-16 18:38 hudsonbot Checkin
2016-12-16 18:38 hudsonbot Note Added: 0092626


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker