PowerStore:ネストされたパラメーターが指定されている「select」を使用したREST GETリクエストに対する「渡されたURLを解析できません」
Summary: ネストされたパラメーターが指定されている「select」を含むREST GETリクエストの一部に対する応答が「渡されたURLを解析できません」です。
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
一部の複雑なREST GETリクエストは、エラーで失敗します。このような要求には、1 つの要求内の自己参照を含む後方参照が必要です
例:
/api/rest/appliance?select=eth_ports(partner)
Error code:
0xE04040020008 、「渡されたURLを解析できません」というメッセージが表示されます
手記:アップグレード前ヘルス チェック(PUHC)の実行中にこのエラー メッセージが表示された場合は、「PowerStore: システム ヘルス チェックで/cyc_nodeのスペース不足が検出されました。これは別の問題です。
例:
/api/rest/appliance?select=eth_ports(partner)
Error code:
0xE04040020008 、「渡されたURLを解析できません」というメッセージが表示されます
手記:アップグレード前ヘルス チェック(PUHC)の実行中にこのエラー メッセージが表示された場合は、「PowerStore: システム ヘルス チェックで/cyc_nodeのスペース不足が検出されました。これは別の問題です。
Cause
これは、無効なクエリーを生成するpostgRESTの問題が原因で発生します。
Resolution
要求にパラメーターを入れ子にする代わりに、複数の要求を送信して必要な情報を取得します
以下は、RESTで機能しないネストされたパラメーターを持つ影響を受けるGETリクエストの一部です。リクエストは2つに分ける必要があります。
例:
なく:
ネストしたパラメーターによるエラーの例:
適切な送信の例:
以下は、RESTで機能しないネストされたパラメーターを持つ影響を受けるGETリクエストの一部です。リクエストは2つに分ける必要があります。
- GET /api/rest/appliance?select=eth_ports(partner)
- GET /api/rest/appliance?select=virtual_volumes(target_virtual_volumes)
- GET /api/rest/appliance?select=virtual_volumes(source)
- GET /api/rest/appliance?select=virtual_volumes(parent)
- GET /api/rest/appliance?select=virtual_volumes(child_virtual_volumes)
- GET /api/rest/appliance?select=hardware(children)
- GET /api/rest/appliance?select=hardware(parent)
- GET /api/rest/appliance?select=fc_ports(partner)
- GET /api/rest/appliance?select=sas_ports(partner)
- GET /api/rest/appliance?select=eth_ports(partner)
例:
なく:
/api/rest/appliance?select=eth_ports(partner)
ネストしたパラメーターによるエラーの例:
Linux~$ curl -i -k -s -u 'admin:' -X GET "https:///api/rest/appliance?select=eth_ports(partner)"
HTTP/1.1 400 Bad Request
DELL-EMC-TOKEN: 8t7deLGkLuG8g+Hg2uzMw6B4p2KhQ5bay3qW05tPVMs=
Content-Type: application/json
content-length: 104
{"messages":[{"code":"0xE04040020008","severity":"Error","message_l10n":"Unable to parse passed url."}]}
適切な送信の例:
/api/rest/appliance?select=eth_ports
/api/rest/eth_port?select=partner
/api/rest/eth_port?select=partner
Affected Products
PowerStoreArticle Properties
Article Number: 000131120
Article Type: Solution
Last Modified: 07 Jun 2023
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.