-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Labels
OrderingAnything related to orderingAnything related to ordering
Description
Unable to order a dedicatedhost from slcli for a GPU flavor.
slcli dedicatedhost create -H E2ETestHost1 -D e2eperftest.com -f 56_CORES_X_484_RAM_X_1_5_TB_X_2_GPU_P100 -d dal13
Receive the below error when I submit an order request.
SoftLayerAPIError(SoftLayer_Exception_Public): Unable to find a price for the dedicated host configuration provided.
The slcli to get the routers available for the dedicatedHost item use the following structure:
SoftLayer_Virtual_DedicatedHost::getAvailableRouters
{
"cpuCount": 56,
"diskCapacity": 1200,
"memoryCapacity": 360,
"datacenter": {
"id": 1854895
}
But for dedicatedHost GPU flavor has to add the following structure:
{
"cpuCount": 56,
"diskCapacity": 1200,
"memoryCapacity": 360,
"datacenter": {
"id": 1854895
},
"pciDevices": [
{
"hardwareComponentModel":
{
"hardwareGenericComponentModel":
{"hardwareComponentType":
{"keyName":"GPU"
}
}
}
},
{
"hardwareComponentModel":
{
"hardwareGenericComponentModel":
{"hardwareComponentType":
{"keyName":"GPU"
}
}
}
}
]
}
Environment Information
Operating System:
softlayer-python version (slcli --version
): version 5.5.0
Metadata
Metadata
Assignees
Labels
OrderingAnything related to orderingAnything related to ordering