-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Labels
Description
Please triple-check to make sure that you have properly masked out user credentials like usernames, passwords and API keys before submitting your issue
Expected Behavior
Provision an Endurance file storage successfully
Actual Behavior
while I run the following
client = SoftLayer.Client(username=sl_user, api_key=sl_api_key)
filestorage_manager = SoftLayer.FileStorageManager(client)
result = filestorage_manager.order_file_volume(
storage_type='endurance',
location='dal10',
size=20,
iops=None,
tier_level=4,
service_offering='enterprise'
)
I saw the error
File "/Library/Python/2.7/site-packages/SoftLayer/managers/file.py", line 343, in order_file_volume
snapshot_size, service_offering, 'file', hourly_billing_flag
File "/Library/Python/2.7/site-packages/SoftLayer/managers/storage_utils.py", line 683, in prepare_volume_order_object
find_price_by_category(package, order_category_code),
File "/Library/Python/2.7/site-packages/SoftLayer/managers/storage_utils.py", line 125, in find_price_by_category
% price_category)
ValueError: Could not find price with the category, storage_service_enterprise
Environment Information
Operating System: Mas
softlayer-python version (slcli --version
): 5.3.1