Bug 1496459

Summary: [GSS](6.4.z)Unable to start server if value of "node-identifier" property of "Transaction" subsystem exceeds 23 character.
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Abhijeet Chavan <abchavan>
Component: Transaction ManagerAssignee: jboss-set
Status: CLOSED NOTABUG QA Contact: Jiří Bílek <jbilek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.17CC: abhumbe, tom.jenkinson, trogers
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-16 20:59:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server.log none

Description Abhijeet Chavan 2017-09-27 12:58:15 UTC
Created attachment 1331432 [details]
server.log

Description of problem:
Unable to start the server. Getting below error:

Operation ("add") failed - address: ([("subsystem" => "transactions")]) - failure description: "JBAS014703: 'foo-process-server-45-jom6f' is an invalid value for parameter node-identifier. Values must have a maximum length of 23 characters"

'foo-process-server-45-jom6f', is the name OpenShift assigns to the pod, which is being set as part of the source-to-image build process to and assigned to node-identifier property of transaction subsystem. 'foo-process-server-45-jom6f' is the jboss node name. Transaction subsystem look like as: 


<subsystem xmlns="urn:jboss:domain:transactions:1.5">
       <core-environment node-identifier="${jboss.node.name}">
             <process-id>
                  <uuid/>
             </process-id>
       </core-environment>
       ...
</subsystem>


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Set core-environment node-identifier="foo-process-server-45-jom6f"> to transaction subsystem in standalone.xml file of EAP.
2. Start the EAP server.


Actual results:

Server failed to start and throws exception :

Operation ("add") failed - address: ([("subsystem" => "transactions")]) - failure description: "JBAS014703: 'foo-process-server-45-jom6f' is an invalid value for parameter node-identifier. Values must have a maximum length of 23 characters"

Expected results:

Server should Start successfully.

Additional info:

Comment 1 tom.jenkinson 2017-09-27 15:03:23 UTC
This is working as expected. We need to get it (and other data) into a 64 length bytearray.

Comment 2 Travis Rogers 2017-10-10 20:33:44 UTC
I've opened https://issues.jboss.org/browse/CLOUD-2105 reporting this against the processserver image.