Bug 1496459 - [GSS](6.4.z)Unable to start server if value of "node-identifier" property of "Transaction" subsystem exceeds 23 character.
Summary: [GSS](6.4.z)Unable to start server if value of "node-identifier" property of ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Transaction Manager
Version: 6.4.17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: jboss-set
QA Contact: Jiří Bílek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-27 12:58 UTC by Abhijeet Chavan
Modified: 2020-12-14 10:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-16 20:59:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
server.log (9.69 KB, text/plain)
2017-09-27 12:58 UTC, Abhijeet Chavan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLOUD-2105 0 Major New Process server does not truncate the node name to 23 bytes 2018-09-18 12:48:14 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.