【问题标题】:How to re-add a container in Bluemix如何在 Bluemix 中重新添加容器
【发布时间】:2016-05-13 15:13:00
【问题描述】:

当我尝试在 bluemix 中将容器添加到空间 A 时,我收到以下错误:

BXNUI0521E: 尝试从映像创建容器时, 发生事件 ID 为 747-1463152155.505-13996376 的内部错误。 某些资源(例如 IP 地址或内存)不可用 检索命名空间时。

当我在空间 A 中运行 cf ic login 时,我收到:

{
    "code": "IC5005E", 
    "description": "The maximum quota for this organization is 2 floating IPs and 2048 memory. The action you are trying to complete, such as logging into a new space, would exceed the maximum quota. The current floating IP usage is 2 and this action would require an additional 2. The current memory usage is 2048 and this action would require an additional 2048. Reduce usage for the organization or ask your organization manager to adjust the quota allocation in the Manage Organizations page.", 
    "incident_id": "744-1463151704.272-14000754", 
    "name": "IPAndMemoryQuotaExceeded", 
    "rc": "500", 
    "type": "Quota"
}

我相信这是因为我在空间 B 中创建了一个容器,它为其分配了两个 IP 地址。我已经删除了这个空间。如何将浮动 IP 使用量降至 0?

【问题讨论】:

    标签: docker containers ibm-cloud


    【解决方案1】:

    有了这个配额(2 个 IP 地址和 2048 MB),我假设您有一个 Bluemix 免费帐户。

    在这种情况下,您只能在组织内的一个空间中创建容器。在 space B 创建容器后,您将无法在 space A 中创建任何容器(即使您有足够的配额)。

    您提到您删除了space B(您最初创建容器的位置),因此您需要等待一段时间(通常在 24 小时或更短的时间内)才能重置您的帐户。

    之后,您将能够再次登录到新空间,创建新命名空间并再次开始使用容器。

    【讨论】:

      【解决方案2】:

      通常您需要以下步骤:

      首先,您需要使用以下方法定位正确的组织和空间:

      cf target -o ORG -s SPACE
      

      您可以使用以下方法列出所有已分配的公共 IP 地址(可用或不可用):

      cf ic ip list -a
      

      然后您可以使用以下方法释放 IP:

      cf ic ip release [IPAddr]
      

      但是,在您的情况下,如果 IP 绑定到已删除的空间,您可能无法释放它们。如果上述步骤不能解决问题,您可以提出支持请求,要求 IBM Containers 团队发布 IP。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-05-18
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-05-11
        • 1970-01-01
        • 2015-02-09
        相关资源
        最近更新 更多