AWS で DSE 5 をセットアップする作業を行っています。別の OpsCenter 6.0.0 ノードがあります。a、b、c の 3 つのクラスタ ノードがあります。
OpsCenter と 3 つのノードの各サーバーは、Oracle JDK1.8.0_92 がインストールされた Ubuntu 14.04 サーバーです。
OpsCenter ノードで、OpsCenter をインストールして開始しました。
クラスタを作成しましたが、そのクラスタを管理するために OpsCenter に戻ったときに、エージェントが通信していませんでした。エージェントを自動的にインストールしようとしましたが、失敗しました。
/usr/share/opscenter に移動し、bin/setup.py を実行して、/usr/share/opccenter/ssl フォルダーとファイルを /var/lib/datastax-agent/ssl/ のノードにコピーしました。
私のクラスター ノードでは、agent.log に次のように表示されます。
ERROR [StompConnection receiver] 2016-07-18 18:04:24,747 Jul 18, 2016
6:04:24 PM org.jgroups.client.StompConnection connect
INFO: Connected to 52.0.16.77:61620
ERROR [StompConnection receiver] 2016-07-18 18:04:24,747 Jul 18, 2016
6:04:24 PM org.jgroups.client.StompConnection run
SEVERE: JGRP000112: Connection closed unexpectedly:
javax.net.ssl.SSLException: Connection has been shutdown:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1541)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:95)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:71)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at org.jgroups.util.Util.readLine(Util.java:2825)
at org.jgroups.protocols.STOMP.readFrame(STOMP.java:240)
at org.jgroups.client.StompConnection.run(StompConnection.java:274)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
/var/lib/datastax-agent/ssl/agentKeyStore が setup.py によって正しく構築されていないことは明らかです。
これらの手順をすべてたどりましたが、エラーは発生しませんでした。
何か案は?