Projects tigase _server server-core Issues #586
substitution using {clusterNode} doesn't work correctly (#586)
Closed
wojciech.kapcia@tigase.net opened 9 years ago
Due Date
2015-10-24

Cluster node substitution using {clusterNode} in --trusted yields inconsistent results (which results in permission error):

2015-10-12 19:40:22.955 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:22.955 [main]             BasicComponent.refreshTrustedJids()  FINEST: component message-router got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:22.955 [main]             BasicComponent.refreshTrustedJids()  FINEST: component message-router got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:23.299 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:23.299 [main]             BasicComponent.refreshTrustedJids()  FINEST: component vhost-man got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:23.299 [main]             BasicComponent.refreshTrustedJids()  FINEST: component vhost-man got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:24.752 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:24.752 [main]             BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as []
2015-10-12 19:40:24.752 [main]             BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as []
2015-10-12 19:40:24.763 [main]             BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as []
2015-10-12 19:40:24.763 [main]             BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as []
2015-10-12 19:40:24.763 [main]             BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as []
2015-10-12 19:40:24.769 [main]             BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as []
2015-10-12 19:40:24.769 [main]             BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as []
2015-10-12 19:40:24.769 [main]             BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:25.007 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:25.007 [main]             BasicComponent.refreshTrustedJids()  FINEST: component cluster-contr got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:25.007 [main]             BasicComponent.refreshTrustedJids()  FINEST: component cluster-contr got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:25.251 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:25.251 [main]             BasicComponent.refreshTrustedJids()  FINEST: component amp got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:25.251 [main]             BasicComponent.refreshTrustedJids()  FINEST: component amp got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:25.680 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:25.680 [main]             BasicComponent.refreshTrustedJids()  FINEST: component bosh got trusted jids set as []
2015-10-12 19:40:25.680 [main]             BasicComponent.refreshTrustedJids()  FINEST: component bosh got trusted jids set as []
2015-10-12 19:40:25.681 [main]             BasicComponent.refreshTrustedJids()  FINEST: component bosh got trusted jids set as []
2015-10-12 19:40:25.681 [main]             BasicComponent.refreshTrustedJids()  FINEST: component bosh got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:26.118 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:26.118 [main]             BasicComponent.refreshTrustedJids()  FINEST: component c2s got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:26.118 [main]             BasicComponent.refreshTrustedJids()  FINEST: component c2s got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:26.420 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:26.420 [main]             BasicComponent.refreshTrustedJids()  FINEST: component cl-comp got trusted jids set as []
2015-10-12 19:40:26.420 [main]             BasicComponent.refreshTrustedJids()  FINEST: component cl-comp got trusted jids set as []
2015-10-12 19:40:26.460 [main]             BasicComponent.refreshTrustedJids()  FINEST: component cl-comp got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:26.867 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:26.867 [main]             BasicComponent.refreshTrustedJids()  FINEST: component http got trusted jids set as []
2015-10-12 19:40:26.867 [main]             BasicComponent.refreshTrustedJids()  FINEST: component http got trusted jids set as []
2015-10-12 19:40:26.868 [main]             BasicComponent.refreshTrustedJids()  FINEST: component http got trusted jids set as []
2015-10-12 19:40:26.868 [main]             BasicComponent.refreshTrustedJids()  FINEST: component http got trusted jids set as []
2015-10-12 19:40:26.868 [main]             BasicComponent.refreshTrustedJids()  FINEST: component http got trusted jids set as []
2015-10-12 19:40:26.869 [main]             BasicComponent.refreshTrustedJids()  FINEST: component http got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:34.877 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:34.877 [main]             BasicComponent.refreshTrustedJids()  FINEST: component monitor got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:34.877 [main]             BasicComponent.refreshTrustedJids()  FINEST: component monitor got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:35.823 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:35.823 [main]             BasicComponent.refreshTrustedJids()  FINEST: component pubsub got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:35.823 [main]             BasicComponent.refreshTrustedJids()  FINEST: component pubsub got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:38.222 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:38.247 [main]             BasicComponent.refreshTrustedJids()  FINEST: component s2s got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:38.247 [main]             BasicComponent.refreshTrustedJids()  FINEST: component s2s got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:38.659 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:38.660 [main]             BasicComponent.refreshTrustedJids()  FINEST: component sess-man got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:38.660 [main]             BasicComponent.refreshTrustedJids()  FINEST: component sess-man got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:40:43.190 [main]             BasicComponent.nodeConnected()     FINE:     Node connected: tigase-node-01.hostname
2015-10-12 19:40:43.190 [main]             BasicComponent.refreshTrustedJids()  FINEST: component ws2s got trusted jids set as []
2015-10-12 19:40:43.190 [main]             BasicComponent.refreshTrustedJids()  FINEST: component ws2s got trusted jids set as []
2015-10-12 19:40:43.192 [main]             BasicComponent.refreshTrustedJids()  FINEST: component ws2s got trusted jids set as []
2015-10-12 19:40:43.193 [main]             BasicComponent.refreshTrustedJids()  FINEST: component ws2s got trusted jids set as []
2015-10-12 19:40:43.194 [main]             BasicComponent.refreshTrustedJids()  FINEST: component ws2s got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname]
2015-10-12 19:41:07.665 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.665 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component cluster-contr got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.665 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.666 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component vhost-man got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.667 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.667 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component stats got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.667 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.667 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component basic-conf got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.667 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.667 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component message-router got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.668 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.668 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component amp got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.668 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.668 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component bosh got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.669 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.670 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component c2s got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.671 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.671 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component cl-comp got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.672 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.672 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component http got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.673 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.673 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component monitor got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.674 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.674 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component pubsub got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.674 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.674 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component s2s got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.674 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.823 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component sess-man got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]
2015-10-12 19:41:07.823 [pool-16-thread-4]  BasicComponent.nodeConnected()    FINE:     Node connected: tigase-node-02.hostname
2015-10-12 19:41:07.823 [pool-16-thread-4]  BasicComponent.refreshTrustedJids()  FINEST: component ws2s got trusted jids set as [http@tigase-node-01.hostname, http@tigase-node-02.hostname, pubsub@tigase-node-02.hostname]

Andrzej Wójcik (Tigase) commented 9 years ago

I changed collection used to replace {clusterNode} as it looks like jid of local cluster node was skipped and new version worked for me.

wojciech.kapcia@tigase.net commented 9 years ago

Tested and works as expected.

issue 1 of 1
Type
Bug
Priority
Major
Assignee
RedmineID
3620
Version
tigase-server-7.1.0
Spent time
7h 30m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#586
Please wait...
Page is in error, reload to recover