AWS-无法分离网络接口-不允许管理“ ela-attach”附件 [英] AWS - Can't detaching network interfaces - You are not allowed to manage 'ela-attach' attachments

查看:687
本文介绍了AWS-无法分离网络接口-不允许管理“ ela-attach”附件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完成了AWS mysfits教程,我认为清理就像删除Cloud Formation堆栈一样简单。但是,无法删除项目,因此我尝试手动清理它们以帮助删除Cloud Formation堆栈。

I did the AWS mysfits tutorial and I thought the cleanup would be as simple as deleting the Cloud Formation stack. However, items failed to delete so I am trying to clean them up manually to assist the Cloud Formation stack deletion.

在尝试分离网络接口时,我总是收到错误消息(我已登录到root帐户):

I keep getting an error when trying to Detach the network interfaces (I am logged into the root account):

分离网络接口时出错:


eni-0047gfhfgh8ab0e: You are not allowed to manage 'ela-attach' attachments.
eni-0f4a46hgfha757e: You are not allowed to manage 'ela-attach' attachments.


如果不删除这些内容,我将无法删除我的VPC。

I am unable to delete my VPC without these being deleted.

由于以下原因,整个堆栈都无法删除:
以下资源无法删除:[InternetGateway,PublicSubnetTwo,VPC,GatewayAttachement ,PublicSubnetOne]。

The stack as a whole is failing to delete because of the following: The following resource(s) failed to delete: [InternetGateway, PublicSubnetTwo, VPC, GatewayAttachement, PublicSubnetOne].

推荐答案

我遇到了同样的问题,这给了我以下消息:

I had the same issue, which gave me the following message:

这可能是因为存在正在使用的服务,该服务仍在使用网络接口。您可以尝试以下某些东西

This could be because there is a service in use which still uses the network interface. You could try some of the following things:


  • 从API网关删除未使用的VPC链接

  • 删除未使用的VPC端点服务

  • 删除未使用的NAT网关

  • 删除未使用的ECS / EKS群集

  • 删除未使用的负载均衡器

  • Remove unused VPC links from API gateway
  • Remove unused VPC Endpoint services
  • Remove unused NAT gateways
  • Remove unused ECS/EKS clusters
  • Remove unused load balancers

如果这无济于事,则说明底层操作系统有问题/卡住了,您应该等待它自行解决或报告。删除lambda函数后,我有一个由Lambda函数部署的ENI,该ENI卡住了。 12小时后,问题仍然存在。

If that doesn't help, there is something wrong/stuck on the underlying OS, you should wait for it to resolve by itself or report it. I had an ENI deployed by a Lambda function after deleting the lambda function, the ENI got stuck. After 12 hours the issue still persists.

这篇关于AWS-无法分离网络接口-不允许管理“ ela-attach”附件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆