Skip to content

Failure to verify order when specifying a networkVlan for a primaryBackendNetworkComponent #6

Description

@AdrianAbrahamWork

I'm trying to verify my CCI order before placing it. If I include primaryBackendNetworkComponent => { networkVlan => { id => 807505 } }, I receive "Could not verify order. An uncaught exception was generated. Please contact development." If I remove the networkVlan, the order verification goes through fine.

Here's the object I'm handing to generateOrderTemplate:

$VAR1 = bless( {
                 'datacenter' => {
                                   'name' => 'sea01'
                                 },
                 'operatingSystemReferenceCode' => 'CENTOS_LATEST',
                 'hourlyBillingFlag' => 1,
                 'startCpus' => 1,
                 'localDiskFlag' => 1,
                 'hostname' => 'sea-tst-vlan-01a',
                 'maxMemory' => 1024,
                 'domain' => 'test.local',
                 'primaryBackendNetworkComponent' => {
                                                       'networkVlan' => {
                                                                          'id' => 807505
                                                                        }
                                                     }
               }, 'slapi:SoftLayer_Virtual_Guest' );

I first raised this as a support ticket in the portal and received the following reply:

This is an specific issue with the Perl Client it is not handle properly the primaryBackendNetworkComponent" field when the field is specified the request fails, only the developers in charge of the client can fix this issue please report the issue here: >https://github.com/softlayer/softlayer-api-perl-client/issues

Meanwhile I can suggest you to use the Softlayer_Virtual_Guest:createObject method in order to create the new VSI.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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