Loading...
Loading...
The RestAPI calls to volumes can sometimes fail, as seen here: [root@rhel82]# curl -k --basic --user admin:$token -X GET -H "Content-Type: application/json" https://56.56.56.83/api/instances/Volume::5fa073e80000001a/relationships/Statistics {"message":"ERROR","httpStatusCode":500,"errorCode":0} The error as seen in the PowerFlex Gateway scaleio-trace.log: 2022-01-19 09:03:30,860 [https-jsse-nio-443-exec-111657] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'connectionServiceImpl' 2022-01-19 09:03:30,860 [https-jsse-nio-443-exec-111657] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'mdmType2Properties' 2022-01-19 09:03:30,860 [https-jsse-nio-443-exec-111657] DEBUG c.e.s.s.s.ConnectionServiceImpl - Check connection - isQuery: true connectionChanging: false 2022-01-19 09:03:30,860 [https-jsse-nio-443-exec-111657] DEBUG c.e.s.s.s.ConnectionServiceImpl - Send request QueryProperties to MDM 2022-01-19 09:03:30,862 [https-jsse-nio-443-exec-111657] DEBUG c.e.s.s.s.ConnectionServiceImpl - Got rc SUCCESS for command QueryProperties 2022-01-19 09:03:30,862 [https-jsse-nio-443-exec-111657] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolving exception from handler [public java.lang.Object com.emc.s3g.scaleio.web.controller.ScaleIOController.getStatistics(com.emc.s3g.scaleio.repository.BaseRepository,java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest) throws com.emc.s3g.scaleio.common.gateway.ScaleIOException]: java.lang.IllegalStateException: Bad number: 3 2022-01-19 09:03:30,863 [https-jsse-nio-443-exec-111657] ERROR c.e.s.s.w.c.ScaleIOController - Got an exception in handleException java.lang.IllegalStateException: Bad number: 3 at com.emc.s3g.scaleio.domain.enums.ScsiReserveType.valueOf(ScsiReserveType.java:42) ~[ams-1.0-SNAPSHOT.jar:na] at com.emc.s3g.scaleio.repository.BaseRepository.updateStatistics(BaseRepository.java:1184) ~[repository-1.0-SNAPSHOT.jar:na] at com.emc.s3g.scaleio.repository.BaseRepository.getStatistics(BaseRepository.java:981) ~[repository-1.0-SNAPSHOT.jar:na] at com.emc.s3g.scaleio.web.controller.ScaleIOController.getStatistics(ScaleIOController.java:93) ~[classes/:na] at sun.reflect.GeneratedMethodAccessor710.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_312] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_312] Impact Not able to collect volume statistics at that specific time.
When a SCSI-3 reservation has been placed on the volume, the calls to read the volume statistics at that time will fail with the error mentioned above. There is a bug in the code that misinterprets the SCSI reservation type from the Gateway and fails the RestAPI call. The IO and reservation on the PowerFlex side are fine.
As the SCSI reservation is set by the client and application side, the only workaround is to try again when the reservation has been released. Impacted Versions PowerFlex v3.5 PowerFlex v3.6 PowerFlex v4.0 Fixed In Version PowerFlex v3.5.1.9 PowerFlex v3.6.1 PowerFlex v4.0.1.1 PowerFlex v4.5
Click on a version to see all relevant bugs
Dell Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.