【发布时间】:2016-08-17 17:40:04
【问题描述】:
我正在尝试使用 python CLI 创建一个每小时的裸机服务器:
$ slcli hw create -H testhost -D blah.com -s S1270_8GB_2X1TBSATA_NORAID -o UBUNTU_16_64 -d dal01 --port-speed 100 --billing hourly -k mykey
This action will incur charges on your account. Continue? [y/N]: y
SoftLayerAPIError(SoftLayer_Exception_Public): Unable to add a Graphics Processing Unit price (178117) because it is not valid for the package (200).
我想订购一台简单的单核服务器,而不是配备 GPU 的服务器。 slcli hw create-options 不显示任何与 GPU 相关的选项。
我昨天也能够发出这个完全相同的命令,并且能够创建服务器,所以从昨天到今天,SoftLayer API 中似乎发生了一些变化。
如果我尝试在 https://control.softlayer.com 上创建类似的配置,我会收到相同的 GPU 包错误。
我进入 HardwareManager 并为提交的订单转储了价目表 JSON,我也没有看到任何提及此 GPU 价格 ID 178117:
{'presetId': 64, 'hardware': [{'domain': u'blah.com', 'hostname': u'testhost'}], 'useHourlyPricing': True, 'location': 'DALLAS', 'packageId': 200, 'prices': [{'id': 21}, {'id': 420}, {'id': 906}, {'id': 175791}, {'id': 1800}, {'id': 273}], 'sshKeys': [{'sshKeyIds': [655115]}], 'quantity': 1}
【问题讨论】: