开发者社区 > 云效DevOps > 正文

云效发布到 edas 时,报错误 ,但实际edas 没有在部署中。怎么回事?

云效发布到 edas 时,报错误 ,但实际edas 没有在部署中。怎么回事?839b5733efb4e6c033234c8fd021424c.png
11f00bdc7a1fe11e076f83ae73933241.png
[INFO] PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[14:51:03] [SUCCESS] 获取 Credential 成功
[14:51:03] [WARNING] 未指定工作路径,使用默认路径/root/workspace/code
[14:51:03] [INFO] 执行步骤
[14:51:03] [INFO] PIPELINE_ID=3110650
[14:51:03] [INFO] PIPELINE_NAME=流水线_v3.6.1_20240510
[14:51:03] [INFO] BUILD_NUMBER=2
[14:51:03] [INFO] EMPLOYEE_ID=5f98a929a3bcee4a48db4a3d
[14:51:03] [INFO] WORK_SPACE=/root/workspace
[14:51:03] [INFO] PROJECT_DIR=/root/workspace/code
[14:51:03] [INFO] PLUGIN_DIR=/root/plugins
[14:51:03] [INFO] BUILD_JOB_ID=208570810
[14:51:03]
[14:51:03] [USER]APPLICATION_ID=ab05b83d-60d7-41de-962d-f850502d9804
[14:51:03] 检查当前应用状态
[14:51:04] {
[14:51:04] "RunningInstanceCount": 1,
[14:51:04] "SlbPort": 0,
[14:51:04] "BuildPackageId": -1,
[14:51:04] "AppId": "ab05b83d-60d7-41de-962d-f850502d9804",
[14:51:04] "Name": "gateway",
[14:51:04] "InstanceCount": 1,
[14:51:04] "Port": 0,
[14:51:04] "Cpu": 0,
[14:51:04] "Memory": 0,
[14:51:04] "Dockerize": true,
[14:51:04] "RegionId": "cn-hangzhou:cpprod",
[14:51:04] "CreateTime": 1689766260003,
[14:51:04] "ClusterType": 5
[14:51:04] }
[14:51:04] 成功获取当前发布应用gateway的基本信息
[14:51:04]
[14:51:04] 开始启动部署任务
[14:51:04] [USER]APPLICATION_ID=ab05b83d-60d7-41de-962d-f850502d9804
[14:51:04] [USER]TYPE=BatchUpdate
[14:51:04] [USER]CanaryRuleType=CanaryByPercent
[14:51:04] [USER]Batch=2
[14:51:04] [USER]BatchWaitTime=1
[14:51:04] [USER]ReleaseType=0
[14:51:04] [USER]Gray=1
[14:51:04] [INFO] 构建产物类型是镜像
[14:51:04] 开始升级应用镜像版本到: registry-vpc.cn-hangzhou.aliyuncs.com/runge/lottery:jeecg-cloud-gateway-3.6.1
[14:51:04] {"HostId":"edas.cn-hangzhou.aliyuncs.com","Code":"601","Message":"Edas.errorcode.OperationFailed.InvalidBatchSettingOverReplicas.message","Recommend":"https://api.aliyun.com/troubleshoot?q=601&product=Edas&"}
[14:51:04] {,"HostId":"edas.cn-hangzhou.aliyuncs.com","Code":"601","Message":"Edas.errorcode.OperationFailed.InvalidBatchSettingOverReplicas.message","Recommend":"https://api.aliyun.com/troubleshoot?q=601&product=Edas&"}
[14:51:04] [ERROR] BUILD ERROR
[14:51:04] [ERROR] 208570810
[14:51:04] [ERROR] 步骤运行失败,返回码: 1

展开
收起
三分钟热度的鱼 2024-05-16 08:38:51 57 0
1 条回答
写回答
取消 提交回答
  • 批次数量设置超了,你运行的实例数量只有一个。此回答整理自钉群“云效交付域答疑群”

    2024-05-16 09:12:35
    赞同 1 展开评论 打赏

云效,企业级一站式研发协同平台,数十万企业都在用。支持公共云、专有云和混合云多种部署形态,通过云原生新技术和研发新模式,助力创新创业和数字化转型企业快速实现研发敏捷和组织敏捷,打造“双敏”组织,实现多倍效能提升。

热门讨论

热门文章

相关电子书

更多
云效助力企业软件供应链生产效能提升 立即下载
云效 DevOps 客户案例集(公共云) 立即下载
云效专有云服务手册下载(2019最新版) 立即下载