PowerStore:SRA 发现设备失败并显示常规错误

摘要: PowerStore SRA 插件 2.1 无法发现设备。

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

SRA 命令“discoverDevices”失败。有关详细信息的常规错误检查日志。

找不到复制会话故障切换快照 ID。

原因

当 PowerStore 设备上有超过 100 个复制会话时,会出现此问题。

解决方案

修复

此问题的解决方法是在 PowerStore 存储复制适配器 (SRA) 版本 2.2 的下一个版本中。
 

解决方法

将每个 PowerStore 设备的复制会话数限制为 100 个。

其他信息

从 SRM 日志中识别问题


默认情况下,REST API 调用将返回一百个对象。日志显示返回了第一个 100 默认发现,并带有 HTTPS 响应代码:206(找到分页的数据)。100-134 的范围随 HTTPS 响应代码一起返回:400.分页请求缺少标题“DELL-VISIBILITY=Internal”。这会导致发现设备故障。
 
[info] 2023-11-03 14:05:04,469    client_request.py:_execute_request:395: ----> HTTPS Method: GET; Request URL: https://lab.master.local/api/rest/replication_session?resource_type=eq.volume_group&remote_system_id=eq.xxxx&select=id,role,state,type,resource_type,local_resource_id,remote_resource_id,remote_system_id,replication_rule_id,storage_element_pairs,failover_snapshot_id,local_resource_state; Request headers: Application-Type=SRA/2.1.0.190, DELL-VISIBILITY=Internal;
[info] 2023-11-03 14:05:04,597    client_request.py:_execute_request:399: <---- HTTPS Response code: 200; t: 0.114803s.; Response headers: Cache-Control=no-cache, no-store, must-revalidate, max-age=0, Expires=-1, Content-Type=application/json, X-Content-Type-Options=nosniff, content-language=en-US, content-length=2; Response body: b'[]';
[info] 2023-11-03 14:05:04,895    client_request.py:_make_request:352: Received 206 HTTP code. Paginated data found. Start download all data.
[verbose] 2023-11-03 14:05:04,901 client_request.py:_collect_paginated_data:311: New request with new header for download paginated data.
[info] 2023-11-03 14:05:04,907    client_request.py:_execute_request:395: ----> HTTPS Method: GET; Request URL: https://lab.master.local/api/rest/replication_session?resource_type=eq.volume&remote_system_id=eq.xxxx&type=eq.Asynchronous&select=id,role,state,type,resource_type,local_resource_id,remote_resource_id,remote_system_id,replication_rule_id,storage_element_pairs,failover_snapshot_id,local_resource_state; Request headers: Range=100-134;
[info] 2023-11-03 14:05:05,013    client_request.py:_execute_request:399: <---- HTTPS Response code: 400; t: 0.1014s.; Response headers: Cache-Control=no-cache, no-store, must-revalidate, max-age=0, Expires=-1, X-Content-Type-Options=nosniff, Content-Type=application/json, content-length=213; Response body: b'{"messages":[{"code":"0xE0404003000A","severity":"Error","message_l10n":"The REST property [replication_session.failover_snapshot_id] cannot be found.","arguments":["[replication_session.failover_snapshot_id]"]}]}';
[error] 2023-11-03 14:05:05,020   sra_logger.py:log_call_without_args:137: function get_standalone_devices_ids failed with error: "powerstore_client.pstore_types.replication_session_types.ReplicationSessionModel() argument after ** must be a mapping, not str"
[verbose] 2023-11-03 14:05:05,024 discover_devices.py:discovery_devices:371: Complete method 'get_standalone_devices_ids'
[error] 2023-11-03 14:05:05,031   sra_logger.py:log_call_without_args:137: function discovery_devices failed with error: "powerstore_client.pstore_types.replication_session_types.ReplicationSessionModel() argument after ** must be a mapping, not str"
[verbose] 2023-11-03 14:05:05,035 discover_devices.py:process:636: Complete method 'discovery_devices'
[error] 2023-11-03 14:05:05,040   executor.py:start:133: powerstore_client.pstore_types.replication_session_types.ReplicationSessionModel() argument after ** must be a mapping, not str

受影响的产品

PowerStore 1000T, PowerStore 1200T, PowerStore 3000T, PowerStore 3200T, PowerStore 5000T, PowerStore 500T, PowerStore 5200T, PowerStore 7000T, PowerStore 9000T, PowerStore 9200T
文章属性
文章编号: 000219367
文章类型: Solution
上次修改时间: 10 11月 2023
版本:  1
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。