对象存储配置创建失败原因:errno:对等方重置了连接
适用场景
- ONTAP9
- FabricPool
- S3证书验证
问题描述
- 对象存储配置创建失败:
::*> storage aggregate object-store config create -object-store-name ONTAPS3store -provider-type ONTAP_S3 -server myS3bucket.company.local -is-ssl-enabled true -port 443 -container-name myS3bucket -ipspace Default -use-http-proxy false -access-key XXXXXXXXXXXXXXXXXXXX -secret-password XXXXXXXXXXXXXXXXXXXX
Error: command failed: Cannot verify availability of the object store from node node-01. Reason: Errno: Connection reset by peer.
- 创建对象存储配置并将
certificate-validation-enabled
设置为false
即可
- 如果
certificate-validation
设置为true
,则证书验证将失败:
::> aggregate object-store config modify -object-store-name ONTAPS3store -is-certificate-validation-enabled true
Warning: Modifying the server, port, IPspace, SSL-enabled state, or SSL/TLS certificate validation
will disrupt object store access for several seconds.
Do you want to continue? {y|n}: y
Error: command failed: Cannot verify availability of the object store from node node-01.
Reason: Cannot verify the certificate given by the object store server. It is possible that
the certificate has not been installed on the cluster. Use the 'security certificate
install -type server-ca' command to install it..
- 使用自签名证书或CA证书进行问题描述