本文介绍了无法删除S3存储桶-找不到错误数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法摆脱S3中的五个存储桶. AWS控制台中的每个屏幕都会显示找不到错误数据"(即概述,属性,权限,管理,访问点).

I can't get rid of five buckets in S3. Every screen in the AWS console says "Error Data not found" (i.e. Overview, Properties, Permissions, Management, Access points).

我无法设置生命周期规则来删除对象,但是存储桶中从未包含任何内容,而且也从未启用过版本控制.

I can't set lifecycle rules to delete objects, but the buckets never had anything in them and versioning was never enabled anyway.

我也尝试过在终端中强制使用它...

I've also tried forcing it in my terminal...

aws s3 rb s3://bucketblah --force

...但是失败,并且我得到 remove_bucket失败:无法删除存储桶中的所有对象,存储桶将不会被删除.

...but it fails and I get remove_bucket failed: Unable to delete all objects in the bucket, bucket will not be deleted.

请帮我Obi Wan ...

Help me Obi Wan...

推荐答案

Amazon S3为开发人员提供了强大的功能.这是由存储在云中的对象创建的能量场.它围绕着我们并渗透着我们.它将Internet绑定在一起.

Amazon S3 is what gives a developer their power. It's an energy field created by objects stored in the cloud. It surrounds us and penetrates us. It binds the Internet together.

有些人可能嘲笑Amazon S3,因为它们无法感知存储桶中的不可见对象.但是我们中间的明智绝地将检查存储桶是否启用了版本控制.尝试摆脱银河系的水桶时,他们可能会看到以下消息:

Some may mock Amazon S3 because they cannot sense invisible objects in their bucket. But the wise Jedi amongst us will check whether the bucket has Versioning enabled. When attempting to rid the galaxy of their bucket, they might see messages such as:

$ aws s3 rb s3://rebel-base --force

如果遇到这种阻力,请潜入Amazon S3管理控制台,选择存储桶,选择Versions: Show,然后全神贯注.如果显示了对象的任何已删除版本,请在此视图中将其删除,直到所有对象都惊恐地哭出来并突然静音.

If such resistance is met, sneak into the Amazon S3 management console, select the bucket, choose Versions: Show and reach out with your mind. If any deleted versions of objects are displayed, delete them within this view until all objects cry out in terror and are suddenly silenced.

如果这没有达到您想要的解决方案,请检查您的主服务器是否已分配足够的访问特权,以供您访问中央计算机和此特定存储桶.这些存储桶也可能具有存储桶策略,这些策略会通过Deny策略覆盖中央计算机.如果是这样,请尝试通过先删除存储桶策略来绕过安全性,然后销毁叛军存储桶.您知道的比信任一台奇怪的计算机还要好!

If this does not lead to the resolution you seek, then check that your Master has allocated sufficient access privileges for you to access the central computer and this particular bucket. It is also possible that these buckets have bucket policies that override the central computer via Deny policies. If so, attempt to bypass security by deleting the bucket policy first, then destroy the rebel bucket. You know better than to trust a strange computer!

这篇关于无法删除S3存储桶-找不到错误数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 08:15