ActiveIQ Unified Managerスクリプトが「内部サーバエラーのため要求を処理できません」というメッセージで失敗します。
環境
問題
アラートがトリガーされると、自動的に実行され、次のようなコマンドが実行されるスクリプトが添付されます。
um run cmd -t 600 <cluster>"vol modify -vserver <vserver_name> -volume <volume_name> -files 31876689"
ただし、CLIでコマンドを手動でテストすると、次のエラーが返されます。
ERROR : Request cannot be processed due to internal server error.
ocumserver.logログには以下が表示されます。
2023-02-24 11:47:20,974 INFO [umadmin] [default task-16154] [c.n.d.a.c.rbac.AccessControlAdvisor] Checking user umadmin has required privileges [System.Administer, Storage.Administer] for method invocation execution(public com.netapp.dfm.api.rest.OntapCommandResultResponse com.netapp.dfm.apihandler.rest.controller.RunOntapCommandController.result(java.lang.String,int,com.netapp.dfm.api.rest.OntapCommandResultResponse))
2023-02-24 11:47:21,239 ERROR [umadmin] [default task-16154] [c.n.o.r.m.e.GlobalExceptionHandler] Could not initialize class com.netapp.common.xml.JaxpContext
java.lang.NoClassDefFoundError: Could not initialize class com.netapp.common.xml.JaxpContext
server.logには以下が表示されます
2023-02-10 14:12:11,142 ERROR [stderr] (pool-31-thread-4) Exception in thread "pool-31-thread-4" java.lang.ExceptionInInitializerError
2023-02-10 14:12:11,144 ERROR [stderr] (pool-31-thread-4) Caused by: java.lang.IllegalStateException: Unable to determine StAX implementation: class com.ctc.wstx.stax.WstxInputFactory
2023-02-10 14:13:13,402 ERROR [stderr] (cluster-ems-configure-3) Exception in thread "cluster-ems-configure-3" java.lang.NoClassDefFoundError: Could not initialize class com.netapp.common.xml.JaxpContext
ログの場所については、以下の技術情報「
What are the notable log files and their respective locations for Active IQ Unified Manager ?」を参照してください。