[MIP-125] MCCS for Linux SharedDisk 삭제시 에러
Subject
MCCS for Linux SharedDisk 삭제시 에러
APPLIES TO:
MCCS 3.5
O/S : REDHAT 6.2 64bit
SYMPTOMS
MCCS for Linux 에서 SharedDisk 삭제시 다음과 같이 에러 발생
12/08/22-17:27:37,902 | icyManager | ne.db.DbManager:1033 | INFO | 20050:Deleted resource FS1
12/08/22-17:27:37,903 | icyManager | ResourceHandler: 80 | WARN | 30118:failed to delete resource(FS1)
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.String.substring(Unknown Source)
at com.mantech.mccs.engine.db.Data.deleteResource(Data.java:430)
at com.mantech.mccs.engine.policy.commands.CmdResourceHandler$command_list$2.run(CmdResourceHandler.java:71)
at com.mantech.mccs.engine.policy.commands.CmdResourceHandler.execute(CmdResourceHandler.java:402)
at com.mantech.mccs.engine.policy.PolicyManager.processDbCmd(PolicyManager.java:286)
at com.mantech.mccs.engine.policy.PolicyManager.run(PolicyManager.java:162)
at java.lang.Thread.run(Unknown Source)
CAUSE
리눅스에 DriveLetter레터 속성이 없어서 문제 발생
SOLUTION
원인 파악 및 소스 수정 완료