
# 查看ModelArts模型事件
创建模型的（从用户可看见创建模型任务开始）过程中，每一个关键事件点在系统后台均有记录，用户可随时在对应模型的详情页面进行查看。
方便用户更清楚地了解创建模型过程，遇到任务异常时，更加准确地排查定位问题。可查看的事件点包括：
| 事件类型 | 事件信息（"XXX"表示占位符，以实际返回信息为准）                                                                                                                                                                                                      | 解决方案                                                                                                                                                                    |
|:---|:---|:---|
| 正常   | 开始导入模型。 Start model import.                                                                                                                         | -                                                                                                                                                                       |
| 异常   | 构建镜像失败。 Failed to build the image.                                                                                                                  | 构建镜像失败原因较多，需根据具体的报错定位和处理问题。[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0206.html)                                                              |
| 异常   | 自定义镜像不支持指定依赖。 Customize model does not support dependencies.                                                                                          | 自定义镜像导入不支持配置运行时依赖，在构建镜像的dockerfile文件中安装pip依赖包。[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0243.html)                                           |
| 异常   | 非自定义镜像不支持指定swr_location字段。 Non-custom type models should not contain swr_location.                                                                  | 请删除模型配置文件config.json中的swr_location字段后重试。                                                                                                                                |
| 异常   | 自定义镜像健康检查接口必须是xxx。 The health check url of custom image model must be %s.                                                                          | 请修改自定义镜像健康检查接口后重试。                                                                                                                                                      |
| 正常   | 当前镜像构建任务状态为xxx。 The status of the image building task is %s.                                                                                        | -                                                                                                                                                                       |
| 异常   | 镜像xxx不存在名为xxx的标签。 Image %s does not have the %s tag.                                                                                                | 请联系技术支持。                                                                                                                                                                |
| 异常   | 模型配置文件包含非法参数值：xxx。 Invalid %s in config.json.                                                                                                       | 请删除模型配置文件中的非法参数后重试。                                                                                                                                                     |
| 异常   | 获取镜像xxx的标签列表失败。 Failed to obtain the tag list of image %s.                                                                                         | 请联系技术支持。                                                                                                                                                                |
| 异常   | xxx大于xxxG，无法导入。 %s \[%s\] is larger than %dG and cannot be imported.                                                                              | 模型或镜像大小超过限制，请精简模型或镜像后，重新导入。[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0257.html)                                                              |
| 异常   | 用户xxx没有OBS的obs:object:PutObjectAcl权限。 User %s does not have obs:object:PutObjectAcl permission                                                      | 子用户没有OBS的obs:object:PutObjectAcl权限，为子用户添加委托权限。[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0206.html)                                           |
| 异常   | 镜像构建任务超时。限制超时时间为xxx分钟。 Image building task timeout. The %s-minute limit is over.                                                                    | imagePacker构建镜像有超时时间限制，请精简代码，提高编译效率。[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0262.html)  |
| 正常   | 模型描述已更新。 Model description updated.                                                                                                                | -                                                                                                                                                                       |
| 正常   | 模型运行时依赖未更新。 Model running dependencies not updated.                                                                                                   | -                                                                                                                                                                       |
| 正常   | 模型运行时依赖已更新。正在重新构建镜像 Model running dependencies updated. Rebuild the image.                                                                        | -                                                                                                                                                                       |
| 异常   | 触发SWR限流，请稍后重试。 The throttling threshold of swr has been reached.                                                                                    | 触发SWR限流，请稍后重试。                                                                                                                                                          |
| 正常   | 系统升级中，请稍后重试。 System is upgrading, please try again later.                                                                                           | -                                                                                                                                                                       |
| 异常   | 获取源镜像失败。认证错误，token已失效。 Failed to access source image. Authentication Error, token expired.                                                           | 请联系技术支持。                                                                                                                                                                |
| 异常   | 获取源镜像失败。检查该镜像是否存在。 Failed to access source image. Check whether the image exists.                                                                 | 请联系技术支持。                                                                                                                                                                |
| 正常   | 源镜像大小计算完成。 Source image size calculated successfully.                                                                                               | -                                                                                                                                                                       |
| 正常   | 源镜像共享成功。 Source image shared successfully.                                                                                                         | -                                                                                                                                                                       |
| 异常   | 构建镜像失败，因为触发了限流。请稍后重试。 Failed to build the image due to the threshold has been reached. Please try again later.                                      | 触发了限流，请稍后重试。                                                                                                                                                            |
| 异常   | 发送构建镜像请求失败。 Failed to send image building request.                                                                                                   | 请联系技术支持。                                                                                                                                                                |
| 异常   | 共享源镜像失败。请检查镜像是否存在或者是否有权限共享该镜像。 Failed to share source image. Check whether the image exists or whether you have the share permission on the image. | 请检查镜像是否存在或者是否有权限共享该镜像。                                                                                                                                                  |
| 正常   | 模型导入成功。 Model imported successfully.                                                                                                               | -                                                                                                                                                                       |
| 正常   | 模型文件导入成功。 Model file imported successfully.                                                                                                         | -                                                                                                                                                                       |
| 正常   | 模型大小计算完成。 Model size calculated successfully.                                                                                                      | -                                                                                                                                                                       |
| 异常   | 模型导入失败。 Failed to import the model.                                                                                                                 | 模型导入失败情况较多，请参考[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0204.html)定位和处理。                                                                     |
| 异常   | 复制模型文件失败，请检查OBS权限是否正常。 Failed to copy model file due to obs exception. Please check your obs access right.                                           | 请检查OBS权限是否正常。[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0206.html)                                                                            |
| 异常   | 镜像构建任务调度失败。 Image building task scheduling failed.                                                                                                  | 请联系技术支持。                                                                                                                                                                |
| 异常   | 启动镜像构建任务失败。 Failed to start the image building task.                                                                                                | 请联系技术支持。                                                                                                                                                                |
| 异常   | 罗马镜像构建完成，无法分享给资源租户。 The ROMA image is successfully built but cannot be shared to resource tenants.                                                 | 请联系技术支持。                                                                                                                                                                |
| 正常   | 镜像构建完成。 Image built successfully.                                                                                                                   | -                                                                                                                                                                       |
| 正常   | 启动镜像构建任务。 Start the image building task.                                                                                                           | -                                                                                                                                                                       |
| 正常   | 启动环境镜像构建任务。 Start the env image building task.                                                                                                      | -                                                                                                                                                                       |
| 正常   | 收到构建模型环境镜像请求。 Received another env image building request of the model.                                                                            | -                                                                                                                                                                       |
| 正常   | 收到构建模型镜像请求。 Received another image building request of the model.                                                                                   | -                                                                                                                                                                       |
| 正常   | 使用现有环境镜像。 Use cached env image.                                                                                                                       | -                                                                                                                                                                       |
| 异常   | 构建镜像失败。详细信息请查看构建日志。 Failed to build the image. For details, view the building log.                                                                  | 查看构建日志定位和处理问题。[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0204.html)                                                                           |
| 异常   | 因系统内部原因构建镜像失败。请联系技术支持。 Failed to build the image due to system errors. Contact the administrator.                                                  | 请联系技术支持。                                                                                                                                                                |
| 异常   | 模型文件xxx大于5G，无法导入。 Model file %s is larger than 5G and cannot be imported.                                                                           | 模型文件xxx大于5G，请精简模型文件后重试，或者使用动态加载功能进行导入。[FAQ](https://support.huaweicloud.com/trouble-modelarts/modelarts_13_0258.html)                                                   |
| 异常   | 因系统内部原因创建OBS桶失败，请联系技术支持。 Failed to create bucket due to system errors. Contact the administrator.                                                   | 请联系技术支持。                                                                                                                                                                |
| 异常   | 模型大小计算失败。子路径xxx在路径xxx下不存在。 Model size calculated failed.Can not find %s child directory in current model directory %s.                                | 修改子路径为正确的路径后重试，或者联系技术支持。                                                                                                                                                |
| 异常   | 模型大小计算失败。xxx类型模型不存在于路径xxx下。 Model size calculated failed.Can not find %s file in current model directory %s.                                       | 检查xxx类型模型的存储位置，修改为正确的路径后重试，或者联系技术支持。                                                                                                                                    |
| 提示   | 模型大小计算失败。多于一个xxx模型文件在路径xxx下。 Model size calculated failed.Find more than one %s file in current model directory %s.                                  | -                                                                                                                                                                       |
   
创建模型的过程中，关键事件支持手动/自动刷新。
#### 查看操作
1. 在[ModelArts管理控制台](https://console.huaweicloud.com/modelarts/)的左侧导航栏中选择"模型管理"，在模型列表中，您可以单击模型名称，进入模型详情页面。
2. 在模型详情页面，切换到"事件"页签，查看事件信息。
 
