Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AdrianAbraham opened this issue Aug 17, 2015 · 0 comments

Comments

@AdrianAbraham
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant