跳转到主内容

重新启动管理节点或网关节点的 SSH 配置问题

Views:
14
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

适用于

  • NetApp StorageGRID 11.8 或更高版本
  • SG1000
  • SG1100

    问题

    • SSH 配置问题与管理员或网关节点的重新启动同时发生。

    • Grid Manager 中的错误消息: The configuration of the SSH service is invalid. The previous configuration is now being used.

    • ssh-config-generation.log

    [2025-03-10T09:29:58.091] INFO -- Updating SSH configs in base OS
    [2025-03-10T09:29:58.091] ERROR -- Failed to render config templates
    Traceback (most recent call last):
    File "/usr/local/netapp-ssh-template/generate_ssh_configs.py", line 244, in <module>
    reload_ssh()
    File "/usr/local/netapp-ssh-template/generate_ssh_configs.py", line 164, in reload_ssh
    baseos_ssh_reload()
    File "/usr/lib/python3/dist-packages/netapp/helpers/local_requests.py", line 167, in baseos_ssh_reload
    with baseos_connection() as baseos_conn:
    File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
    return next(self.gen)
    File "/usr/lib/python3/dist-packages/netapp/helpers/local_requests.py", line 201, in baseos_connection
    conn.connect(address)
    BlockingIOError: [Errno 11] Resource temporarily unavailable

    • 根据基本操作系统日志(/var/log/storagegrid/nodes/<hostname>.log),从 Received data: up 事件到 Socket connection completed 事件需要超过一分钟。

    [2026-01-06T07:50:06.282989]   INFO -- Received data: up 

    [2026-01-06T07:52:37.698073]   INFO -- Socket connection completed

    Sign in to view the entire content of this KB article.

    New to NetApp?

    Learn more about our award-winning Support

    NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.