-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.2.8, 7.3.2
-
7.02
-
29
-
Severity 3 - Minor
-
5
-
Problem
When defining the paths in cluster.properties, JIRA does not trim trailing spaces when reading. This can result in confusion as the paths look correct, but JIRA is not able to access existing applications, index snapshots, etc.
- Note that this differs from other files like the jira-application.properties, where JIRA does trim trailing spaces
Steps to Reproduce
- Setup JIRA Data Center with 2 nodes
- For one node, modifying the cluster.properties, add an extra space at the end of the path for jira.shared.home
- Save, complete JDC setup
- Add attachments to node 1
- Now access node 2 and notice that the attachment is unavailable.
Expected Behaviour
Similar to the jira-application.properties, JIRA should trim trailing white spaces
Actual Results
Nodes are using different shared home paths, thus they are unable to access data from the shared home that other nodes have stored.
- You'll also notice the extra space in startup following in startup:
Attachment Path : /Users/dchan/atlassian/jira728dc/shared-home /data/attachments
Other notes
You'll also see multiple shared home folders:
$ ll total 518912 drwxr-xr-x 7 dchan staff 238B Oct 5 09:36 . drwxr-xr-x 66 dchan staff 2.2K Oct 4 07:58 .. -rw-r--r--@ 1 dchan staff 253M May 10 09:39 atlassian-jira-software-7.2.8.tar.gz drwxr-xr-x@ 17 dchan staff 578B May 10 09:40 jira728node1 drwxr-xr-x@ 19 dchan staff 646B May 10 10:24 jira728node2 drwxr-xr-x 10 dchan staff 340B Aug 31 10:20 shared-home drwxr-xr-x 9 dchan staff 306B Oct 5 09:38 shared-home jira728dc$ cd shared-home shared-home/ shared-home /
Workaround
Check config file and delete spaces
- is related to
-
JRASERVER-63112 JIRA doesn't trim spaces from values in jira-config.properties
- Closed
-
JRASERVER-70706 Jira Data Center clustering features might be only partially enabled if non-breaking spaces are present in cluster.properties
- Closed
-
JRASERVER-67243 As an JIRA Datacenter Administrator I want to trim all spaces in the cluster.properties file
- Gathering Interest
-
PS-17909 Loading...
- relates to
-
JSWSERVER-21269 System information in cluster page is not working when there is a trailing space character in cluster.properties file for the node.id field
- Closed