Skip to content

It's not possible to order File/Block Performance through SLCLI #795

@rubercuellar

Description

@rubercuellar

I tried the following commands:

FILE PERFORMANCE:

slcli file volume-order --storage-type=performance --size=20 --iops=200 --location=dal09

The following exception is raised:

Usage: slcli-script.py file volume-order [OPTIONS]

Error: Missing option "--os-type". Choose from HYPER_V, LINUX, VMWARE, WINDOWS_
2008, WINDOWS_GPT, WINDOWS, XEN.

BLOCK PERFORMANCE
slcli block volume-order --storage-type=performance --size=20 --iops=200 --location=dal09 --os-type=LINUX

The following exception is raised:

Argument Error: Could not find disk space price for the given volume

I tried with the same values through UI and It works fine.

Expected Behavior

A File/Block Performance storage should be ordered

Actual Behavior

An exception is raised

Environment Information

Operating System: Windows 7
softlayer-python version (slcli --version):
5.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions