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 요청은 오류와 함께 실패합니다. 이러한 요청에는 단일 요청 내에서 자체 참조가 있는 역방향 참조가 필요합니다.
예:
/api/rest/appliance?select=eth_ports(partner)
Error code:
0xE04040020008 및 "Unable to parse passed url" 메시지가 표시됩니다.
메모: PUHC(Pre Upgrade Health Check)를 실행하는 동안 이 오류 메시지가 표시되는 경우 PowerStore: 시스템 상태 점검에서 /cyc_node의 공간 부족을 감지합니다. 이것은 다른 문제입니다.
예:
/api/rest/appliance?select=eth_ports(partner)
Error code:
0xE04040020008 및 "Unable to parse passed url" 메시지가 표시됩니다.
메모: PUHC(Pre Upgrade Health Check)를 실행하는 동안 이 오류 메시지가 표시되는 경우 PowerStore: 시스템 상태 점검에서 /cyc_node의 공간 부족을 감지합니다. 이것은 다른 문제입니다.
Cause
이는 잘못된 쿼리를 생성하는 postgREST 문제로 인해 발생합니다.
Resolution
요청에 매개 변수를 중첩하는 대신 여러 요청을 보내 필요한 정보를 가져옵니다.
다음은 REST에서 작동하지 않는 중첩 매개변수가 있는 영향을 받는 GET 요청 중 일부입니다. 두 요청을 별도로 해야 합니다.
본보기:
보다:
중첩된 매개변수 실패의 예:
전송:
다음은 REST에서 작동하지 않는 중첩 매개변수가 있는 영향을 받는 GET 요청 중 일부입니다. 두 요청을 별도로 해야 합니다.
- 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.