Softlayer SLCLI VSI订单问题:
使用以下订单详细信息从Slcli订购VSI时收到错误消息“SoftLayerAPIError(SoftLayer_Exception_NotFound):无法找到核心容量1642的价格。”
如果您遇到此类问题或者我在这里缺少任何值,请提供帮助。
遵循SLCLI命令行
15:05:15nirav@NiravsMac~/Downloads/ArraySSLVPN $ slcli virtual create
Hostname: niravtest.win.com
Domain: windo.com
Cpu: 1642
Memory: 4096
Datacenter: dal05
Operating System Code: 175777
This action will incur charges on your account. Continue? [y/N]: y
SoftLayerAPIError(SoftLayer_Exception_NotFound): Unable to find price for core capacity of 1642.
16:06:30nirav@NiravsMac~/Downloads/ArraySSLVPN $ slcli virtual create
Hostname: niravtest.win.com
Domain: win.com
Cpu: 1964
Memory: 4096
Datacenter: dal09
Operating System Code: 175777
This action will incur charges on your account. Continue? [y/N]: y
SoftLayerAPIError(SoftLayer_Exception_NotFound): Unable to find price for core capacity of 1964.
答案 0 :(得分:0)
问题是你发送了错误的数据,CPU = 1642的值不存在,你需要发送CPU容量,如2核,4核等。所以你需要重新设置“1642”的值为“ 4“或您想要的CPU容量。
要查看创建VM的有效值的完整列表,您可以调用:
$ slcli virtual create-options
此致