Skip to content

ordering not able to lookup RHEL prices properly #1289

@allmightyspiff

Description

@allmightyspiff
 slcli order place SINGLE_E31270_V3_4_DRIVES DALLAS13 INTEL_SINGLE_XEON_1270_3_50 RAM_32_GB_DDR3_1333_REG_2 OS_RHEL_7_1_64_BIT DISK_CONTROLLER_NONRAID HARD_DRIVE_1_00_TB_SATA_2 BANDWIDTH_500_GB 1_GBPS_PUBLIC_PRIVATE_NETWORK_UPLINKS 1_IP_ADDRESS REBOOT_KVM_OVER_IP NESSUS_VULNERABILITY_ASSESSMENT_REPORTING NOTIFICATION_EMAIL_AND_TICKET MONITORING_HOST_PING_AND_TCP_SERVICE UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT AUTOMATED_NOTIFICATION --complex-type SoftLayer_Container_Product_Order_Hardware_Server --extras '{"hardware":[{"domain":"test-cgallo.com","hostname":"testOrderCANCEL"}]}'  --billing monthly --verify

Calling: SoftLayer_Product_Order::verifyOrder(id=None, mask='', filter='None', args=({'orderContainers': [{'hardware': [{'domain': 'test-cgallo.com', 'hostname': 'testOrderCANCEL'}], 'packageId': 257, 'quantity': 1, 'location': 1854895, 'useHourlyPricing': False, 'complexType': 'SoftLayer_Container_Product_Order_Hardware_Server', 'prices': [{'id': 49515}, {'id': 49415}, {'id': None}, {'id': 876}, {'id': 49759}, {'id': 50357}, {'id': 274}, {'id': 21}, {'id': 906}, {'id': 418}, {'id': 57}, {'id': 56}, {'id': 420}, {'id': 58}]}]},), limit=None, offset=None))
SoftLayerAPIError(500): Price does not have an id.

Using a different OS seems to work.

slcli  -v order place SINGLE_E31270_V3_4_DRIVES DALLAS13 INTEL_SINGLE_XEON_1270_3_50 RAM_32_GB_DDR3_1333_REG_2 OS_UBUNTU_18_04_LTS_BIONIC_BEAVER_MINIMAL  DISK_CONTROLLER_NONRAID HARD_DRIVE_1_00_TB_SATA_2 BANDWIDTH_500_GB 1_GBPS_PUBLIC_PRIVATE_NETWORK_UPLINKS 1_IP_ADDRESS REBOOT_KVM_OVER_IP NESSUS_VULNERABILITY_ASSESSMENT_REPORTING NOTIFICATION_EMAIL_AND_TICKET MONITORING_HOST_PING_AND_TCP_SERVICE UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT AUTOMATED_NOTIFICATION --complex-type SoftLayer_Container_Product_Order_Hardware_Server --extras '{"hardware":[{"domain":"test-cgallo.com","hostname":"testOrderCANCEL"}]}'  --billing monthly --verify
Calling: SoftLayer_Product_Order::verifyOrder(id=None, mask='', filter='None', args=({'orderContainers': [{'hardware': [{'domain': 'test-cgallo.com', 'hostname': 'testOrderCANCEL'}], 'packageId': 257, 'quantity': 1, 'location': 1854895, 'useHourlyPricing': False, 'complexType': 'SoftLayer_Container_Product_Order_Hardware_Server', 'prices': [{'id': 49515}, {'id': 49415}, {'id': 219129}, {'id': 876}, {'id': 49759}, {'id': 50357}, {'id': 274}, {'id': 21}, {'id': 906}, {'id': 418}, {'id': 57}, {'id': 56}, {'id': 420}, {'id': 58}]}]},), limit=None, offset=None))
INTEL_SINGLE_XEON_1270_3_50                          Single Intel Xeon E3-1270 v3 (4 Cores, 3.50 GHz)               0
RAM_32_GB_DDR3_1333_REG_2                            32 GB RAM                                                      0
OS_UBUNTU_18_04_LTS_BIONIC_BEAVER_MINIMAL            Ubuntu Linux 18.04 LTS Bionic Beaver Minimal Install (64 bit)  0
DISK_CONTROLLER_NONRAID                              Non-RAID                                                       0
HARD_DRIVE_1_00_TB_SATA_2                            1.00 TB SATA                                                   0
BANDWIDTH_500_GB                                     500 GB Bandwidth Allotment                                     0
1_GBPS_PUBLIC_PRIVATE_NETWORK_UPLINKS                1 Gbps Public & Private Network Uplinks                        0
1_IP_ADDRESS                                         1 IP Address                                                   0
REBOOT_KVM_OVER_IP                                   Reboot / KVM over IP                                           0
NESSUS_VULNERABILITY_ASSESSMENT_REPORTING            Nessus Vulnerability Assessment & Reporting                    0
NOTIFICATION_EMAIL_AND_TICKET                        Email and Ticket                                               0
MONITORING_HOST_PING_AND_TCP_SERVICE                 Host Ping and TCP Service Monitoring                           0
UNLIMITED_SSL_VPN_USERS_1_PPTP_VPN_USER_PER_ACCOUNT  Unlimited SSL VPN Users                                        0
AUTOMATED_NOTIFICATION                               Automated Notification                                         0
execution_time    3.774045s
                              oduct_Package::getAllObjects (0.184000s)
                                    ::getDatacenters (0.201119s)
                              oduct_Package::getAllObjects (0.176010s)
                                   _Package::getItems (1.452847s)
                  SoftLayer_Product_Order::verifyOrder (1.736083s)
version           softlayer-python/v5.8.8

Metadata

Metadata

Assignees

Labels

BugOrderingAnything related to ordering

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions