Bruce J Schuchardt created GEODE-8389:
-----------------------------------------

             Summary: reconnect attempt fails due to distribution configuration 
validation checks
                 Key: GEODE-8389
                 URL: https://issues.apache.org/jira/browse/GEODE-8389
             Project: Geode
          Issue Type: Bug
          Components: membership
            Reporter: Bruce J Schuchardt


While tracking down a hang I found this stack trace in distributed unit test 
output.  I couldn't tell which test it came from, but it should be easy to 
write a unit test for it.

Configuration validation should ignore the ds-quorum-checker attribute when 
doing sameAs comparisons with another configuration.

 
{noformat}
[vm1] [warn 2020/06/16 19:02:34.580 GMT <ReconnectThread> tid=0x72] Exception 
occurred while trying to connect the system during reconnect[vm1] [warn 
2020/06/16 19:02:34.580 GMT <ReconnectThread> tid=0x72] Exception occurred 
while trying to connect the system during reconnect[vm1] 
java.lang.IllegalArgumentException: Unknown configuration attribute name 
ds-quorum-checker. Valid attribute names are: ack-severe-alert-threshold 
ack-wait-threshold archive-disk-space-limit archive-file-size-limit 
async-distribution-timeout async-max-queue-size async-queue-timeout 
bind-address cache-xml-file cluster-configuration-dir cluster-ssl-ciphers 
cluster-ssl-enabled cluster-ssl-keystore cluster-ssl-keystore-password 
cluster-ssl-keystore-type cluster-ssl-protocols 
cluster-ssl-require-authentication cluster-ssl-truststore 
cluster-ssl-truststore-password conflate-events conserve-sockets 
delta-propagation deploy-working-dir disable-auto-reconnect disable-jmx 
disable-tcp distributed-system-id distributed-transactions durable-client-id 
durable-client-timeout enable-cluster-configuration 
enable-management-rest-service enable-network-partition-detection 
enable-time-statistics enforce-unique-host gateway-ssl-ciphers 
gateway-ssl-enabled gateway-ssl-keystore gateway-ssl-keystore-password 
gateway-ssl-keystore-type gateway-ssl-protocols 
gateway-ssl-require-authentication gateway-ssl-truststore 
gateway-ssl-truststore-password groups http-service-bind-address 
http-service-port http-service-ssl-ciphers http-service-ssl-enabled 
http-service-ssl-keystore http-service-ssl-keystore-password 
http-service-ssl-keystore-type http-service-ssl-protocols 
http-service-ssl-require-authentication http-service-ssl-truststore 
http-service-ssl-truststore-password jmx-manager jmx-manager-access-file 
jmx-manager-bind-address jmx-manager-hostname-for-clients jmx-manager-http-port 
jmx-manager-password-file jmx-manager-port jmx-manager-ssl-ciphers 
jmx-manager-ssl-enabled jmx-manager-ssl-keystore 
jmx-manager-ssl-keystore-password jmx-manager-ssl-keystore-type 
jmx-manager-ssl-protocols jmx-manager-ssl-require-authentication 
jmx-manager-ssl-truststore jmx-manager-ssl-truststore-password 
jmx-manager-start jmx-manager-update-rate load-cluster-configuration-from-dir 
locator-wait-time locators lock-memory log-disk-space-limit log-file 
log-file-size-limit log-level max-num-reconnect-tries max-wait-time-reconnect 
mcast-address mcast-flow-control mcast-port mcast-recv-buffer-size 
mcast-send-buffer-size mcast-ttl member-timeout membership-port-range 
memcached-bind-address memcached-port memcached-protocol name 
off-heap-memory-size redis-bind-address redis-enabled redis-password redis-port 
redundancy-zone remote-locators remove-unresponsive-client roles 
security-auth-token-enabled-components security-client-accessor 
security-client-accessor-pp security-client-auth-init 
security-client-authenticator security-client-dhalgo security-log-file 
security-log-level security-manager security-peer-auth-init 
security-peer-authenticator security-peer-verifymember-timeout 
security-post-processor security-shiro-init security-udp-dhalgo 
serializable-object-filter server-bind-address server-ssl-ciphers 
server-ssl-enabled server-ssl-keystore server-ssl-keystore-password 
server-ssl-keystore-type server-ssl-protocols server-ssl-require-authentication 
server-ssl-truststore server-ssl-truststore-password socket-buffer-size 
socket-lease-time ssl-ciphers ssl-cluster-alias ssl-default-alias 
ssl-enabled-components ssl-endpoint-identification-enabled ssl-gateway-alias 
ssl-jmx-alias ssl-keystore ssl-keystore-password ssl-keystore-type 
ssl-locator-alias ssl-parameter-extension ssl-protocols 
ssl-require-authentication ssl-server-alias ssl-truststore 
ssl-truststore-password ssl-truststore-type ssl-use-default-context 
ssl-web-alias ssl-web-require-authentication start-dev-rest-api start-locator 
statistic-archive-file statistic-sample-rate statistic-sampling-enabled 
tcp-port thread-monitor-enabled thread-monitor-interval-ms 
thread-monitor-time-limit-ms udp-fragment-size udp-recv-buffer-size 
udp-send-buffer-size use-cluster-configuration user-command-packages 
validate-serializable-objects .[vm1]  at 
org.apache.geode.internal.AbstractConfig.checkAttributeName(AbstractConfig.java:333)[vm1]
  at 
org.apache.geode.distributed.internal.AbstractDistributionConfig.checkAttributeName(AbstractDistributionConfig.java:728)[vm1]
  at 
org.apache.geode.distributed.internal.AbstractDistributionConfig.isAttributeModifiable(AbstractDistributionConfig.java:854)[vm1]
  at 
org.apache.geode.distributed.internal.AbstractDistributionConfig.checkAttribute(AbstractDistributionConfig.java:236)[vm1]
  at 
org.apache.geode.distributed.internal.DistributionConfigImpl.validateConfigurationProperties(DistributionConfigImpl.java:1146)[vm1]
  at 
org.apache.geode.distributed.internal.DistributionConfigImpl.<init>(DistributionConfigImpl.java:1026)[vm1]
  at 
org.apache.geode.distributed.internal.DistributionConfigImpl.produce(DistributionConfigImpl.java:1522)[vm1]
  at 
org.apache.geode.distributed.internal.InternalDistributedSystem.sameAs(InternalDistributedSystem.java:1716)[vm1]
  at 
org.apache.geode.distributed.internal.InternalDistributedSystem.validateSameProperties(InternalDistributedSystem.java:2804)[vm1]
  at 
org.apache.geode.distributed.internal.InternalDistributedSystem.connectInternal(InternalDistributedSystem.java:277)[vm1]
  at 
org.apache.geode.distributed.internal.InternalDistributedSystem.reconnect(InternalDistributedSystem.java:2605)[vm1]
  at 
org.apache.geode.distributed.internal.InternalDistributedSystem.tryReconnect(InternalDistributedSystem.java:2424)[vm1]
  at 
org.apache.geode.distributed.internal.InternalDistributedSystem.disconnect(InternalDistributedSystem.java:1275)[vm1]
  at 
org.apache.geode.distributed.internal.ClusterDistributionManager$DMListener.membershipFailure(ClusterDistributionManager.java:2315)[vm1]
  at 
org.apache.geode.distributed.internal.membership.gms.GMSMembership.uncleanShutdown(GMSMembership.java:1287)[vm1]
  at 
org.apache.geode.distributed.internal.membership.gms.GMSMembership$ManagerImpl.lambda$forceDisconnect$0(GMSMembership.java:2030):[vm1]
  at java.base/java.lang.Thread.run(Thread.java:834) {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to