You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法通过Web控制台或IBM Cloud Shell删除按量付费服务求助

解决IBM Cloud WebSphere服务实例删除失败问题

问题背景

尝试从按量付费账户删除名为error-deleting-service的WebSphere服务实例时,无论Web控制台还是Cloud Shell(已添加-f和--recursive参数)均操作失败:

  • Web控制台提示「请重试」
  • Cloud Shell返回server is misbehaving错误,核心原因是DNS解析失败,无法定位服务对应的broker域名wasaas-broker.eu-de.websphereappsvr.cloud.ibm.com

命令执行详情及实例信息如下:

cloudshell:~$ ibmcloud resource service-instance-delete -f --recursive error-deleting-service
Deleting service instance error-deleting-service in resource group default under account IBMER's Account as me@eworld.net...
FAILED
Delete "https://wasaas-broker.eu-de.websphereappsvr.cloud.ibm.com/wasaas-broker/broker/v2/service_instances/giant-long-string-with-bunch-of-%3A-that-may-be-uniquely-identifying-dunno&accepts_incomplete=true": Delete "https://wasaas-broker.eu-de.websphereappsvr.cloud.ibm.com/wasaas-broker/broker/v2/service_instances/giant-long-string-with-bunch-of-%3A-that-may-be-uniquely-identifying-dunno&accepts_incomplete=true": dial tcp: lookup wasaas-broker.eu-de.websphereappsvr.cloud.ibm.com on 10.10.10.10:53: server misbehaving

cloudshell:~$ ibmcloud resource service-instance error-deleting-service
Retrieving service instance error-deleting-service in resource group default under account IBMER's Account as me@eworld.net...
OK
                       
Name:                  error-deleting-service
ID:                    giant-long-string-with-bunch-of-:-that-may-be-uniquely-identifying
GUID:                  other-portion-of-giant-long-string-that-may-be-uniquely-identifying
Location:              eu-de
Service Name:          websphereappsvr
Service Plan Name:     waslibertycoreplan
Resource Group Name:   default
State:                 active
Type:                  service_instance
Sub Type:              
Locked:                false
Created at:            2020-01-29T03:52:10Z
Created by:            bananajr@bloomcounty.org
Updated at:            2022-12-23T06:27:41Z
Last Operation:                  
                       Status    delete failed
                       Message   Delete "https://wasaas-broker.eu-de.websphereappsvr.cloud.ibm.com/wasaas-broker/broker/v2/service_instances/giant-long-string-with-bunch-of-%3A-that-may-be-uniquely-identifying-dunno&accepts_incomplete=true": Delete "https://wasaas-broker.eu-de.websphereappsvr.cloud.ibm.com/wasaas-broker/broker/v2/service_instances/giant-long-string-with-bunch-of-%3A-that-may-be-uniquely-identifying-dunno&accepts_incomplete=true": dial tcp: lookup wasaas-broker.eu-de.websphereappsvr.cloud.ibm.com on 10.10.10.10:53: server misbehaving                   

解决步骤

1. 本地环境执行删除命令

Cloud Shell的DNS配置可能存在异常,换用本地机器操作:

  • 先在本地安装IBM Cloud CLI,登录账号:
    ibmcloud login
    # 若为SSO登录,使用:ibmcloud login --sso
    
  • 切换至对应资源组和区域:
    ibmcloud target -g default -r eu-de
    
  • 重新执行删除命令:
    ibmcloud resource service-instance-delete -f --recursive error-deleting-service
    

2. 直接调用IBM Cloud资源控制器API

绕开CLI的DNS限制,通过API直接发起删除请求:

  • 获取IAM令牌:
    ibmcloud iam oauth-tokens
    
    复制输出中的IAM token完整字符串(以Bearer开头)
  • 使用curl发送删除请求,替换{INSTANCE_ID}为服务实例ID,{YOUR_IAM_TOKEN}为刚获取的令牌:
    curl -X DELETE "https://resource-controller.cloud.ibm.com/v2/resource_instances/{INSTANCE_ID}" \
    -H "Authorization: Bearer {YOUR_IAM_TOKEN}" \
    -H "Content-Type: application/json" \
    -d '{"recursive": true, "force": true}'
    

3. 提交IBM Cloud支持工单

若上述方法均无效,直接寻求官方后台支持:

  • 登录IBM Cloud控制台,进入「支持」页面提交工单
  • 提供服务实例ID、GUID、完整错误日志及操作记录
  • 官方可通过后台直接清理无法正常删除的实例

内容的提问来源于stack exchange,提问作者reidonly

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.07 04:10:42