[JBoss JIRA] (WFCORE-316) Slave host does not register to DC when starting with --cached-dc and DC is available
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-316?page=com.atlassian.jira.plugin... ]
Brian Stansberry commented on WFCORE-316:
-----------------------------------------
[~luck3y] I poked at this a bit and https://github.com/wildfly/wildfly-core/compare/master...bstansberry:WFCO... looks like the basis of a proper semantic. A slave always tries to contact the DC and falls back to the cached domain config only if it fails. In that case, post-boot it installs a service that begins periodically trying to discover the DC again.
It kinda works, but
1) Once it joins domain management doesn't work right. All ops against the DC that would get propagated to the slave fail with an ArrayIndexOutOfBoundsException.
2) The persistence of domain.xml on the slave is broken; i.e. it won't persist changes back to domain.cached-remote.xml. It needs to because if the DC connection goes away and then the slave is reloaded it needs to reload to the last good state.
3) Interaction with --backup needs tweaking in general. IIRC we fail if both --backup and --cached-dc are set, and that no longer makes sense with this approach.
3) There are some test failures in AdminOnlyPolicyTestCase
4) Other stuff I'm sure I haven't thought about or noticed. ;)
Still, unless 1) turns out to be some kind of really hard problem, this seems like something we can get done, so I'm going to schedule it.
> Slave host does not register to DC when starting with --cached-dc and DC is available
> -------------------------------------------------------------------------------------
>
> Key: WFCORE-316
> URL: https://issues.jboss.org/browse/WFCORE-316
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Reporter: Manel Martinez Gonzalez
> Assignee: Ken Wills
> Fix For: 3.0.0.Beta1
>
>
> NOTE: this is related to AS7-4281 (see https://issues.jboss.org/browse/AS7-4281?focusedCommentId=12682058&page=c... )
> When a slave host is started with --cached-dc option it won't register to Domain Controller although it's available. domain.sh help says "If this host is not the Domain Controller and cannot contact the Domain Controller at boot, boot using a locally cached copy of the domain configuration (see --backup)" and this is not really happening because slave host never contact to DC with --cached-dc
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JGRP-2057) Message bundler improvements
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-2057?page=com.atlassian.jira.plugin.... ]
Bela Ban commented on JGRP-2057:
--------------------------------
Test with UPerf, MPerf, IspnPerfTest
> Message bundler improvements
> ----------------------------
>
> Key: JGRP-2057
> URL: https://issues.jboss.org/browse/JGRP-2057
> Project: JGroups
> Issue Type: Enhancement
> Reporter: Bela Ban
> Assignee: Bela Ban
> Fix For: 4.0
>
>
> * {{SingletonAddress}} is not needed anymore as we removed the shared transport in 4.0
> ** This slows down the bundler as it is used as key to the bundler hashmaps
> * {{SenderSendsBundler}}: send messages outside the lock scope. This requires us to use a number of bundler hashmaps, or making a shallow copy of the buckets of the current hashmap, before clearing it
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JGRP-2057) Message bundler improvements
by Bela Ban (JIRA)
Bela Ban created JGRP-2057:
------------------------------
Summary: Message bundler improvements
Key: JGRP-2057
URL: https://issues.jboss.org/browse/JGRP-2057
Project: JGroups
Issue Type: Enhancement
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 4.0
* {{SingletonAddress}} is not needed anymore as we removed the shared transport in 4.0
** This slows down the bundler as it is used as key to the bundler hashmaps
* {{SenderSendsBundler}}: send messages outside the lock scope. This requires us to use a number of bundler hashmaps, or making a shallow copy of the buckets of the current hashmap, before clearing it
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (WFLY-5593) VaultTool does not support KeySize != 128
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/WFLY-5593?page=com.atlassian.jira.plugin.... ]
Hynek Švábek edited comment on WFLY-5593 at 4/25/16 6:59 AM:
-------------------------------------------------------------
Hi,
It works for me for AES 256. But you need OpenJDK or others JDK with Java Cryptography Extension (JCE).
I noticed one problem there:
I have to use same value for params *"-storepass PASSWORD -keypass PASSWORD"* otherwise I get same exception as above: PBOX00137: Security Vault does not contain SecretKey entry under alias (vault)
was (Author: hsvabek):
Hi,
It works for me. But you need OpenJDK or others JDK with Java Cryptography Extension (JCE).
I noticed one problem there:
I have to use same value for params *"-storepass PASSWORD -keypass PASSWORD"* otherwise I get same exception as above: PBOX00137: Security Vault does not contain SecretKey entry under alias (vault)
> VaultTool does not support KeySize != 128
> -----------------------------------------
>
> Key: WFLY-5593
> URL: https://issues.jboss.org/browse/WFLY-5593
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 10.0.0.CR4
> Reporter: Andreas Weise
> Assignee: Darran Lofthouse
> Priority: Minor
>
> Vault tool (vault.sh) returns exception PBOX00137: Security Vault does not contain SecretKey entry under alias (vault) when using a JCEKS with AES 256.
> It seems only 128 Bit Key Length is supported by the Vault Tool, which is default in [org/picketbox/plugins/vault/PicketBoxSecurityVault.java|https://github.co...]
> Key length could be parametrized in PicketBoxSecurityVault, but vault tool does not support this, more specifically [org/jboss/as/security/vault/VaultSession.getVaultOptionsMap()|https://git...]
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years