在Kubernetes安装程序中安装MSSQL群集时安装失败(Ubuntu-18.04)

时间:2019-09-18 06:55:17

标签: sql-server docker kubernetes

在Kubernetes安装程序中安装MSSQL群集时遇到以下错误。

错误:

开始集群部署。

集群控制器端点可从XX.XX.XX.XX:30080获得。 群集控制平面已准备就绪。

[Request 112e9901-602d-4400-89cf-203df5db34f1] Cluster mssql-cluster does not exist. 
Data pool resources cleanup failed System.Data.SqlClient.SqlException (0x80131904): A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) ---> System.ComponentModel.Win32Exception (0x80004005): An existing connection was forcibly closed by the remote host
[Pod: master][Container: mssql-server] The provisioner has timed out.

为群集'mssql-cluster'的配置失败

集群部署失败。群集状态:错误。

收集群集“ mssql-cluster”的日志。 正在收集容器的日志...

Data pool resources cleanup failed System.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=10; handshake=14994;  ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out

Data pool resources cleanup failed System.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=10; handshake=14994;  ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out

Data pool resources cleanup failed System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.) ---> System.ComponentModel.Win32Exception (0x80004005): No such host is known

Data pool resources cleanup failed System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.) ---> System.ComponentModel.Win32Exception (0x80004005): No such host is known

[Errno 111] Connection refused : Failed to collect cluster logs after retrying for 2 minute(s).. More detail can be found in the mssqlctl.log file
Failed to copy cluster logs
Traceback (most recent call last):

能否请您提供帮助来解决此问题。

1 个答案:

答案 0 :(得分:0)

这些错误:Cluster mssql-cluster does not exist. The server was not found or was not accessible看起来像是部署和配置问题。

因此,请遵循以下准则:

希望获得帮助。