ViPR SRM 4.0.1 — 计费处理器任务无法完成/状态代码 401:未经 授权

摘要: 解决计费处理器任务无法完成/状态代码 401:未经 授权

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

计费报告不会获得数据,因为按存储容量使用计费过程任务无法完成。

您将在任务日志中看到以下错误:
170110 16:03:41 : SEVERE -- [2017-01-10 16:03:41 CST] -- ChargebackProcessor::init(): Unable to initialize connections to frontend and/or backend.
170110 16:03:41 : com.watch4net.apg.task.chargeback.ChargebackException: Could not retrieve cost data for the available service levels
. . .
170110 16:03:41 : Caused by: com.watch4net.apg.remote.databaseaccessorservice.Exception_Exception: Unable to complete request
. . .
170110 16:03:41 : ... 9 more
170110 16:03:41 : Caused by: java.util.concurrent.ExecutionException: com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
. . .
170110 16:03:41 : ... 11 more
170110 16:03:41 : Caused by: com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
. . .
170110 16:03:41 : SEVERE -- [2017-01-10 16:03:41 CST] -- ChargebackProcessor::execute(): Exiting: RawValueQueryHelper not initialized!
170110 16:03:41 : Execute method (execute) exited with a failure error code of 1
170110 16:03:41 : Task chargeback-processor-generic-chargeback failed with status 1.

原因

此任务以及其他模块(如 Web 服务网关)依赖于用户“ws-user”进行身份验证/通信。在安装过程中,当移除所有开箱即用用户(管理员除外)时,会出现此问题,这导致此任务失败。这还会导致任何模块和报告失败。

解决方案

为了解决此问题,将“ws-user”及其密码一起添加回 Administration 中的“Users”位置。

文章属性
文章编号: 000051957
文章类型: Solution
上次修改时间: 13 9月 2023
版本:  4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。