I'm trying to do a dry-run for ordering a bare metal server using the Softlayer python API following the instructions here: http://sldn.softlayer.com/blog/bpotter/ordering-bare-metal-servers-using-softlayer-api and leveraging the sample code provided (https://gist.github.com/bmpotter/27913e92e9ff7b6b0c54). However, I keep getting this exception when doing a orderVerify():
SoftLayer_Exception_Public: The price for 64 GB RAM (#154399) is not valid for location dal10.
Here is price array I use for package 253:
prices = [
{'id': getItemPriceId(items, 'server', 'INTEL_XEON_2620_2_40')},
{'id': getItemPriceId(items, 'os', 'OS_UBUNTU_14_04_LTS_TRUSTY_TAHR_64_BIT')},
{'id': getItemPriceId(items, 'ram', 'RAM_64_GB_DDR3_1333_REG_2')},
{'id': getItemPriceId(items, 'disk_controller', 'DISK_CONTROLLER_RAID_1')},
{'id': getItemPriceId(items, 'disk0', 'HARD_DRIVE_1_00_TB_SATA_2')},
{'id': getItemPriceId(items, 'disk1', 'HARD_DRIVE_1_00_TB_SATA_2')},
{'id': getItemPriceId(items, 'disk2', 'HARD_DRIVE_1_00_TB_SATA_2')},
{'id': getItemPriceId(items, 'disk3', 'HARD_DRIVE_1_00_TB_SATA_2')},
{'id': getItemPriceId(items, 'port_speed', '10_GBPS_REDUNDANT_PRIVATE_NETWORK_UPLINKS')},
{'id': getItemPriceId(items, 'power_supply', 'REDUNDANT_POWER_SUPPLY')},
{'id': getItemPriceId(items, 'bandwidth', 'BANDWIDTH_0_GB')},
{'id': getItemPriceId(items, 'pri_ip_addresses', '1_IP_ADDRESS')},
{'id': getItemPriceId(items, 'remote_management', 'REBOOT_KVM_OVER_IP')},
{'id': getItemPriceId(items, 'vpn_management', 'UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT')},
{'id': getItemPriceId(items, 'monitoring', 'MONITORING_HOST_PING_AND_TCP_SERVICE')},
{'id': getItemPriceId(items, 'notification', 'NOTIFICATION_EMAIL_AND_TICKET')},
{'id': getItemPriceId(items, 'response', 'AUTOMATED_NOTIFICATION')},
{'id': getItemPriceId(items, 'vulnerability_scanner', 'NESSUS_VULNERABILITY_ASSESSMENT_REPORTING')},
]
And the order info:
{'hardware': [{'domain': 'my.domain.com',
'hostname': 'myHost'}],
'location': 1441195,
'packageId': 253,
'prices': [{'id': 50635},
{'id': 37652},
{'id': 154399},
{'id': 141957},
{'id': 49811},
{'id': 49811},
{'id': 49811},
{'id': 49811},
{'id': 35685},
{'id': 50223},
{'id': 35963},
{'id': 34807},
{'id': 25014},
{'id': 33483},
{'id': 34241},
{'id': 32500},
{'id': 32627},
{'id': 35310}],
'quantity': 1}
I checked and RAM_64_GB_DDR3_1333_REG_2 is in the output of getOrderItemsDict(). Any ideas?