
# 在微服务平台查看微服务部署日志
通过微服务平台查看微服务部署日志。
#### 查看微服务部署日志
1. [进入AppStage运维中心](https://support.huaweicloud.com/usermanual-wiseeye/appstage_04_0089.html#appstage_04_0089__zh-cn_topic_0000001896253866_zh-cn_topic_0000001785965698_section11734269409)。
2. 在顶部导航栏选择服务。
3. 单击![](https://support.huaweicloud.com/usermanual-wiseeye/zh-cn_image_0000002159072754.png)，选择"微服务开发 \> 微服务平台"。
4. 选择左侧导航栏的"微服务管理"。
5. 选择微服务列表操作列的"更多 \> 部署日志"，查看微服务部署日志。 
   单击部署日志列表中的![](https://support.huaweicloud.com/usermanual-wiseeye/zh-cn_image_0000002158913022.png)，展开查看详细信息。对于失败日志，可以单击"error code\[111102\*\*\*\*\]"，参考[表1]排查失败原因。
   
   
 
#### 常见错误码参考
失败日志常见错误码如[表1]所示，错误信息中包括错误码和具体错误描述，您可以通过处理建议排查相应的异常。
 表1错误码说明 
| 错误码                                                                                                                                          | 错误信息                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | 原因                                                                                                                                    | 处理建议                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
|:---|:---|:---|:---|
| 1000110002                                                                                                                                   | "400 Bad Request"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | IaC参数配置有误                                                                                                                             | 请参见[参数配置说明](https://support.huaweicloud.com/devg-appstage/appstage_06_0045.html#section9)配置参数。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| 1000110003                                                                                                                                   | - "parse container spec failed: cpu=xxx memory=xxx, armCpu=xxx armMemory=xxx"  - "invalid container spec: cpu=xxx memory=xxx"  - "invalid container spec: armCpu=xxx armMemory=xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | 主容器规格不正确                                                                                                                              | 主容器的规格选择需要满足Runtime预设的容器规格。 可选规格请参考[标准容器规格](https://support.huaweicloud.com/devg-appstage/appstage_06_0045.html#section2)。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| 1000110004                                                                                                                                   | - "no cluster found"  - "Default environment is not found"  - "serviceCceRelation is not found"  - "group not found, environmentId: xxx, service: xxx, microservice: xxx, group: xxx"  - "The default group is not found, service:xxx microservice:xxx"  - "The service has been bound to a non-default resource group xxx. To use the resource group, declare it in the resourceTag."  - "runtimeInstance not found."  - "Non-default runtimeInstance not found."   | 不存在可用的Runtime环境配置(Runtime需要环境配置将业务部署和CCE集群做关联)                                                                                        | 在AppStage运维中心的微服务平台中进行环境配置，具体操作请参考[在微服务平台配置部署环境](https://support.huaweicloud.com/usermanual-wiseeye/appstage_04_0651.html)。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 1010610005                                                                                                                                   | - "get service name fail, serviceId maybe not exist, serviceId: xxx"  - "get service id fail, serviceName: xxx"  - "Query service context failed for iac2.0, service:xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 服务/微服务未在租户管理系统上架                                                                                                                      | 请联系技术支持解决。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 1000110006  | - "features not found in cce cluster, cce cluster name: xxx"  - "features not found. service: xxx. microservice: xxx. features: xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | 使用了不存在的feature                                                                                                                        | 需要确认配置信息。 在AppStage运维中心的微服务平台中，选择"环境管理 \> CCE集群管理"，查看对应的集群及可用的feature。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| 1000110007                                                                                                                                   | - "The Elb has no listeners. Check the ELB status. iacEnvironmentId = xxx, elbName = xxx, listenerName = xxx"  - "The listener does not exist. iacEnvironmentId = xxx, elbName = xxx, listenerName = xxx"  - "The listener does not exist. iacEnvironmentId = xxx, elbName = xxx, PoolName = xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | ELB未正确使用                                                                                                                              | 在AppStage运维中心的弹性网络服务中，选择左侧导航栏的"网络资源 \> 资源ELB"， 查看ELB信息是否准确。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 1000110010                                                                                                                                   | "xxx not found in config center"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | 私有配置不正确，未找到配置项                                                                                                                        | 在AppStage运维中心的部署服务中，选择左侧导航栏的"配置管理 \> 私有配置"， 新增私有配置项。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 1000110011                                                                                                                                   | "public config not found in config center: xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | 公共配置不正确，未找到配置项                                                                                                                        | 在AppStage运维中心的部署服务中，选择左侧导航栏的"配置管理 \> 公共配置"， 新增公共配置项。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| 1000110012                                                                                                                                   | - "current status isn't normal, cannot gray release"  - "unexpected curIsInGray and nextIsInGray status"  - "current status isn't normal, cannot gray release"  - "gray_status can't be changed during the gray release, oldGrayStatus: xxx, newGrayStatus: xxx"  - "gray_status can't be changed during the gray release, oldGrayStatus: xxx, newGrayStatus: xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 部署状态不正常，无法执行该操作                                                                                                                       | 当前状态无法操作，建议翻译上述报错并对应处理。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| 1010510013                                                                                                                                   | - "cloudMapId is empty"  - "no az found"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | 环境不存在  | 考虑是否在微服务部署后对环境做了更改，比如删除环境。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| 1010510014                                                                                                                                   | - "get public config id failed from wiseEye, xxx"  - "get private config id failed from wiseEye, xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | 获取配置失败                                                                                                                                | 在AppStage运维中心的部署服务中，选择左侧导航栏的"配置管理 \> 私有配置"， 新增私有配置项。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 1010010016                                                                                                                                   | "queryElbInfo fail, xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 获取ELB失败                                                                                                                               | 在AppStage运维中心的弹性网络服务中，选择左侧导航栏的"网络资源 \> 资源ELB"， 查看ELB信息是否准确。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| 1010910017                                                                                                                                   | - "queryDefaultSecurityGroup error: xxx"  - "queryIsolationDomain error: xxx"  - "querySecurityGroupByIsolateDomain error: xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | 获取隔离域/安全组失败                                                                                                                           | 在AppStage运维中心的弹性网络服务中，选择左侧导航栏的"隔离域"， 查询隔离域信息是否存在。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| 1010510019                                                                                                                                   | - "queryEnvironment fail, xxx"  - "queryEnvironments fail, xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | 获取环境失败                                                                                                                                | 1. 进入AppStage运维中心，将鼠标悬停在右上角的账号，选择下拉列表中的"服务环境配置"。  2. 选择左侧导航栏的"环境管理"，查看是否有环境信息，没有则需要创建。具体操作请参见[为资源接入准备环境](https://support.huaweicloud.com/usermanual-wiseeye/appstage_04_0621.html)。   如有问题，请联系技术支持。 |
| 1111020006                                                                                                                                   | - "Fail to update daemonset xxx"  - "fail to handle service monitor xxx"  - "customize deploy config failed xxx"  - "fail to handle hpa xxx"  - "handle hpa service fail xxx"  - "Fail to deploy xxx"  - "fail to query cluster info xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ERS异常                                                                                                                                 | 尝试稍后重试。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| 1110120007                                                                                                                                   | "check slb service failed: xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | SLB服务异常                                                                                                                               | 尝试重试部署。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| 1100120008                                                                                                                                   | "check slb service failed: xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | SLB配置不正确                                                                                                                              | AppStage的资源按照服务级隔离，SLB上的资源跨服务使用时，需要配置共享。具体操作请参见[在SLB中配置负载均衡实例共享](https://support.huaweicloud.com/usermanual-wiseeye/appstage_04_0885.html)。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| 1110420009                                                                                                                                   | - "stsInstanceId is empty, cloudMapId is xxx"  - "no sts instance id found for cloudMapId : xxx"  - "stsInstanceId is empty, cloudMapId: xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | 一方地址未在Cloud Map注册                                                                                                                     | 1. 在AppStage运维中心的Cloud Map页面，选择左侧导航栏的"服务目录 \> 一方服务"， 选择"接入地址列表"页签。  2. 在页面右上角选择对应的实例，查询是否存在接入地址名称为"stsUrl"的配置项。   如果不存在或者存在但是依然有问题，请联系技术支持。                                                                                                                                                                                                                                                  |
| 1111120011                                                                                                                                   | - "get sensitive config failed! xxx"  - "get sensitive config failed! xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | 敏感项不存在                                                                                                                                | 没有在STS管理台录入敏感配置项。 在AppStage运维中心的ACMS页面，选择左侧导航栏的"敏感配置管理"， 录入敏感配置项。具体操作请常见[录入敏感配置](https://support.huaweicloud.com/usermanual-wiseeye/appstage_04_0481.html)。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| 1110320012                                                                                                                                   | "Fail to getConfigFiles from sidecar xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | 获取BI sidecar配置失败                                                                                                                      | 1. 检查BIFlume sidecar配置。  2. 检查BIF接口服务是否正常。                                                                                                                                                                    |
| 1110220013                                                                                                                                   | "Fail to getConfigFiles from sidecar xxx"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | 获取aiops sidecar配置失败                                                                                                                   | 通常是由于AIOpsLog sidecar磁盘写满或者其他原因导致响应超时。 请联系技术支持解决。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| 1111020015                                                                                                                                   | - "BackOffPullImage: failed to pull and unpack image"  - "FailedMount: hostPath type check failed"  - "Unhealthy: Readiness probe failed"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | 镜像拉取失败或健康检查失败                                                                                                                         | 尝试稍后重试。 如有问题，请联系技术支持。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
   
