工作程序节点的常见问题
虚拟私有云 经典基础架构
查看常见错误消息并了解如何解决这些错误。 消息可能以前缀 '<provider>' infrastructure exception:
开头,其中 <provider>
标识工作程序节点使用的基础结构提供程序。
禁止帐户订购
消息:
Your account is currently prohibited from ordering 'Computing Instances'.
描述和解决方法:
您的 IBM Cloud 基础架构帐户可能受到限制,无法订购计算资源。 通过打开 IBM Cloud 支持案例,联系 IBM Cloud 支持人员。
无法下订单
消息:
Could not place order.
Could not place order. There are insufficient resources behind router 'router_name' to fulfill the request for the following guests: 'worker_id'.
描述和解决方法: 选择的专区可能没有足够的基础架构容量来供应工作程序节点。 或者,您可能已超出 IBM Cloud 基础架构帐户中的限制。
要解决此问题,请尝试以下某个选项:
- 专区中的基础架构资源可用性可能经常波动。 请等待几分钟,然后重试。
- 对于单专区集群,请在另一个专区中创建集群。 对于多专区集群,请将专区添加到集群。
- 在 IBM Cloud 基础架构帐户中,为工作程序节点指定不同的公用和专用 VLAN 对。 对于工作程序池中的工作程序节点,可以使用
ibmcloud ks zone network-set
命令 - 请与 IBM Cloud 基础架构帐户管理员联系,以验证您是否未超过帐户限制 (例如,全局配额)。
- 打开 IBM Cloud 基础架构支持案例。
无法获取网络 VLAN
消息:
Could not obtain network VLAN with ID: <vlan-id>
描述和解决方法:
由于以下某种原因而找不到所选的 VLAN 标识,因此无法供应工作程序节点:
- 您可能指定的是 VLAN 编号,而不是 VLAN 标识。 VLAN 编号的长度为 3 位或 4 位,而 VLAN 标识的长度为 7 位。 要检索 VLAN 标识,请运行
ibmcloud ks vlan ls --zone <zone>
。 - 该 VLAN 标识可能未与所使用的 IBM Cloud 基础架构帐户相关联。 要列出帐户的可用 VLAN 标识,请运行
ibmcloud ks vlan ls --zone <zone>
。 要更改 IBM Cloud 基础架构帐户,请参阅ibmcloud ks credential set
。
位置无效
消息:
The location provided for this order is invalid
描述和解决方法:
IBM Cloud 基础架构未设置为订购所选数据中心内的计算资源。 请联系 IBM Cloud 支持,以验证您的帐户是否正确设置。
许可权错误
消息:
The user does not have the necessary classic infrastructure permissions to add servers
'Item' must be ordered with permission.
The credentials could not be validated.
'<Provider>' infrastructure request not authorized
描述和解决方法:
您可能没有必需的许可权在 IBM Cloud 基础架构产品服务组合中执行操作,或者使用的基础架构凭证不正确。 请参阅设置 API 密钥以启用对基础架构产品服务组合的访问。
防火墙错误
消息:
Worker unable to talk to IBM Cloud Kubernetes Service servers. Please verify your firewall setup is allowing traffic from this worker.
描述和解决方法:
如果您有防火墙,请配置防火墙设置以允许出局流量流至相应的端口和 IP 地址。
通过运行 ibmcloud ks worker ls --cluster <mycluster>
来检查集群是否没有公共 IP。 如果未列出任何公共 IP,说明集群仅具有专用 VLAN。
硬重新引导
消息:
The worker did not respond to the soft reboot request. A hard reboot might be necessary.
描述和解决方法:
虽然对工作程序节点发出了重新引导,但工作程序节点无响应。 您可以重新运行带有 --hard
选项的 reboot 命令 以关闭工作程序节点的电源,或者运行 worker reload
命令。
找不到实例
消息:
can't create IMS portal token, as no IMS account is linked to the selected BSS account
Provided user not found or active
User account is currently cancel_pending.
The worker node instance '<ID>' can't be found. Review '<provider>' infrastructure user permissions.
The worker node instance can't be found. Review '<provider>' infrastructure user permissions.
The worker node instance can't be identified. Review '<provider>' infrastructure user permissions.
描述和解决方法:
用于访问 IBM Cloud 基础架构产品服务组合的 API 密钥的所有者没有执行该操作所需的许可权,或者可能处于暂挂删除状态。
作为 用户,请执行以下步骤:
- 如果您有权访问多个帐户,请确保您已登录到要使用 IBM Cloud Kubernetes Service 的帐户。
- 运行
ibmcloud ks api-key info --cluster <cluster_name_or_ID>
以查看用于访问 IBM Cloud 基础架构产品服务组合的当前 API 密钥所有者。 - 运行
ibmcloud account list
以查看您当前使用的 IBM Cloud 帐户的所有者。 - 请与 IBM Cloud 帐户的所有者联系,并报告 API 密钥所有者在 IBM Cloud 基础架构中的许可权不足,或者可能处于待删除状态。
作为 帐户所有者,请执行以下步骤:
- 查看 IBM Cloud 基础架构中所需的经典许可权,以执行先前失败的操作。 对于 VPC 基础架构提供者,API 密钥所有者必须具有 管理员 平台访问角色。
- 请修正 API 密钥所有者的许可权,或者使用
ibmcloud ks api-key reset --region <region>
命令创建新的 API 密钥。 - 如果您或其他帐户管理员在您的帐户中手动设置 IBM Cloud 基础架构凭证,请运行
ibmcloud ks credential unset --region <region>
以从您的帐户中除去这些凭证。