Leons Petrazickis created JCLOUDS-395:
-----------------------------------------
Summary: Many pairs of twin hardware_ids on Softlayer, one invalid and one valid
Key: JCLOUDS-395
URL: https://issues.apache.org/jira/browse/JCLOUDS-395
Project: jclouds
Issue Type: Bug
Components: jclouds-compute
Affects Versions: 1.6.3
Environment: Softlayer
minCores 4.0, minDisk 100, minRam 49152
Reporter: Leons Petrazickis
Priority: Minor
When I try to run createNodesInGroup on Softlayer with the settings below, I get an error
message.
minCores = 4.0
minDisk = 100
minRam = 49152
Error message:
{"error":"Order is missing the following category: First Disk.","code":"SoftLayer_Exception_Order_MissingCategory"}
It's choosing this hardwareId:
1642,22422,13916
>From what I can tell, that hardwareId is identical in configuration to this hardwareId:
1642,22422,13887
Specifying 1642,22422,13887 instead works and an instance provisions successfully.
Both have the disk defined in listHardwareProfiles() as:
[{id=3899, type=LOCAL, size=100.0, bootDevice=true, durable=false}]
[{id=3876, type=LOCAL, size=100.0, bootDevice=true, durable=false}]
>From what I can tell, there are a lot of false pairs of hardware_ids like these, where
one has a working disk configuration and the other doesn't.
Jclouds currently generates hardware_ids for Softlayer in a very bruteforce way. It needs
to be a bit smarter about not generating invalid combinations, especially when the invalid
combination overrides a valid combination during provisioning.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)
|