CloudPools CLI 命令最多只能提供 100,000 个元素

Summary: 由于内存限制以及命令行界面 (CLI) 上正确参数的可用性,CloudPools 命令的输出受到限制。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

 

CloudPools 的某些 CLI 命令可能会返回许多条目。例如:

isi cloud jobs files list <jobid>
 

上述命令的输出可能包含超过 100,000 个元素数倍,具体取决于作业影响的文件数量。如果没有所述的修复,则仅列出前 100,000 个条目,除非直接进行平台 API (PAPI) 调用。

Cause

这样做的原因是,PAPI 处理程序已修改为处理批处理和页面参数,并且可以列出 100000 之后的条目。但是,用于执行此作的参数未在 CLI 中实现。修复将批处理和页面参数添加到 CLI。

Resolution

此限制已在 OneFS v8.0.0.7 及更高版本中得到修复。 

 

修复后,必须同时指定批处理、限制和页面参数,以便 CLI 命令输出预期结果。

 

例如:

# isi cloud jobs files list --job-id=49 --verbose --batch=1 --limit=100000 --page=1

# isi cloud jobs files list --job-id=49 --verbose --batch=1 --limit=100000 --page=2

# isi cloud jobs files list --job-id=49 --verbose --batch=1 --limit=100000 --page=3

...

Additional Information

作为解决方法,在实施修复之前,可以使用 cURL 直接进行 PAPI 调用。示例语法为:

 

# curl -u root:a -H "Content-type: application/json" 'https://100.77.1.231:8080/platform/3/cloud/jobs-files/4?batch=1&limit=100000&page=1' -k > /ifs/data/Isilon_Support/job49_filelist_page1

# curl -u root:a -H "Content-type: application/json" 'https://100.77.1.231:8080/platform/3/cloud/jobs-files/4?batch=1&limit=100000&page=2' -k > /ifs/data/Isilon_Support/job49_filelist_page2

# curl -u root:a -H "Content-type: application/json" 'https://100.77.1.231:8080/platform/3/cloud/jobs-files/4?batch=1&limit=100000&page=3' -k > /ifs/data/Isilon_Support/job49_filelist_page3
 

 

Affected Products

PowerScale OneFS
Article Properties
Article Number: 000035811
Article Type: Solution
Last Modified: 18 Sep 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.