PowerFlex:REST API 呼叫失敗,回應不完整

Summary: REST API 呼叫失敗,回應不完整。

Αυτό το άρθρο ισχύει για Αυτό το άρθρο δεν ισχύει για Αυτό το άρθρο δεν συνδέεται με κάποιο συγκεκριμένο προϊόν. Δεν προσδιορίζονται όλες οι εκδόσεις προϊόντων σε αυτό το άρθρο.

Symptoms

 

一些 REST API 呼叫 (例如”/api/instances“) 失敗並傳回不完整的回應。例如:

...vtreeMigrationInfo":{"sourceStoragePoolId":"<storage_pool_id>","destinationStoragePoolId":{"message":"ERROR","httpStatusCode":500,"errorCode":0}

但localhost_access記錄報告要求成功 (狀態 200):

<client ip> - - [12/Jun/2020:13:23:01 +0000] "GET /api/instances HTTP/1.1" 200 106376

雖然scaleio-trace.log包含以下例外:

2020-06-12 13:23:01,377 [https-jsse-nio-443-exec-8] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolving exception from handler [public java.lang.Object com.emc.s3g.scaleio.web.controller.SpecialImplController.getAllInstances(javax.servlet.http.HttpServletRequest) throws com.emc.s3g.scaleio.common.gateway.ScaleIOException]: org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: (was java.lang.NullPointerException) (through reference chain: java.util.HashMap["vTreeList"]->java.util.ArrayList[74]->com.emc.s3g.scaleio.repository.entity.wrappers.VTreeWrapper["rootVolumes"]); nested exception is org.codehaus.jackson.map.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: java.util.HashMap["vTreeList"]->java.util.ArrayList[74]->com.emc.s3g.scaleio.repository.entity.wrappers.VTreeWrapper["rootVolumes"])
2020-06-12 13:23:01,377 [https-jsse-nio-443-exec-8] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Invoking @ExceptionHandler method: public com.emc.s3g.scaleio.web.entity.Result com.emc.s3g.scaleio.web.controller.BaseController.handleException(java.lang.Exception,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2020-06-12 13:23:01,389 [https-jsse-nio-443-exec-8] ERROR c.e.s.s.w.c.SpecialImplController - Got an exception in handleException
org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: (was java.lang.NullPointerException) (through reference chain: java.util.HashMap["vTreeList"]->java.util.ArrayList[74]->com.emc.s3g.scaleio.repos
itory.entity.wrappers.VTreeWrapper["rootVolumes"]); nested exception is org.codehaus.jackson.map.JsonMappingException: (was java.lang.NullPointerException

案例

在進行 REST API 呼叫前不久,磁碟區刪除。

影響

REST API 查詢失敗

Cause

刪除卷需要時間,並且並非所有數據結構都會同時刪除。這可能會導致 REST API 伺服器無法產生對某些 REST API 呼叫的回應。

Resolution

請稍後再試一次。
完成卷刪除的後台程序後,相同的 REST API 調用應會成功。

Additional Information

受影響的版本

3.0.x
、3.0.1.x
 

 

Επηρεαζόμενα προϊόντα

PowerFlex appliance Intelligent Catalog Software, PowerFlex Software

Προϊόντα

PowerFlex rack, VxFlex Ready Nodes, PowerFlex Appliance, PowerFlex custom node, ScaleIO, PowerFlex appliance R650, PowerFlex appliance R6525, PowerFlex appliance R660, PowerFlex appliance R6625, Powerflex appliance R750, PowerFlex appliance R760 , PowerFlex appliance R7625, PowerFlex custom node, PowerFlex custom node R650, PowerFlex custom node R6525, PowerFlex custom node R660, PowerFlex custom node R6625, PowerFlex custom node R750, PowerFlex custom node R760, PowerFlex custom node R7625, PowerFlex rack connectivity, PowerFlex rack HW, PowerFlex rack RCM Software, VxFlex Ready Node, VxFlex Ready Node R640, VxFlex Ready Node R740xd, PowerFlex appliance R640, PowerFlex appliance R740XD, PowerFlex appliance R7525, PowerFlex appliance R840, VxFlex Ready Node R840 ...
Ιδιότητες άρθρου
Article Number: 000081700
Article Type: Solution
Τελευταία τροποποίηση: 24 Νοε 2025
Version:  4
Βρείτε απαντήσεις στις ερωτήσεις σας από άλλους χρήστες της Dell
Υπηρεσίες υποστήριξης
Ελέγξτε αν η συσκευή σας καλύπτεται από τις Υπηρεσίες υποστήριξης.