我面臨着與RHEL操作系統明碼標價錯誤,而試圖運行每小時baremetal服務器使用現有的柔性圖像/模板供應以下verifyorder請求baremetal服務器。無法提供每小時使用模板圖像
{
"parameters":[
{ "complexType": "SoftLayer_Container_Product_Order_Hardware_Server",
"location":"DALLAS09",
"packageId":200,
"quantity":1,
"presetId":93,
"hardware":[
{
"hostname":"BM-test2",
"domain":"ibm.com"
}
],
"useHourlyPricing":1,
"prices":[
{
"id":"1800"
},
{
"id":"49759"
},
{
"id":"876"
},
{
"id":"178117"
},
{
"id":"178213"
},
{
"id":"273"
},
{
"id":"21"
},
{
"id":"37292"
},
{
"id":"906"
},
{
"id":"37278"
},
{
"id":"420"
},
{
"id":"21414"
}
],
"imageTemplateId":1401015
}
]
}
我使用的是彈性圖像用於配置該baremetal,(imageTemplateId「:1401015)。
我使用這個模板,實現這一點,我已經提供了要提供每小時baremetal‘useHourlyPricing’: 1 ,.
的包標識和所需的價格我從驗證指示命令的發佈請求採取(當我們點擊添加,而在control.softlayer.com訂購設備訂購按鈕。這些都似乎是正確的因爲它們沒有錯誤)
但是我收到以下錯誤而執行驗證訂單
{"error":"Red Hat Enterprise Linux 6.x (64 bit) (per-processor licensing) (21414) is not available at an hourly rate.","code":"SoftLayer_Exception_Order_Item_Invalid"}
我給這個價格代碼,因爲它是本OS這是存在於Baremetal其撓曲拍攝圖像時,(I使用Hardware.captureImage()它的方法)
如果我不提OS價格ID,我得到以下錯誤:
{"error":"Order is missing the following category: Operating System.","code":"SoftLayer_Exception_Order_MissingCategory"}
請讓我知道我可以使用Flex圖像訂購每小時裸機,什麼是正確的它的操作系統價格ID。