Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Specifying disk in softlayer causes 500 error #3

Open
hashibot opened this issue Jun 13, 2017 · 1 comment
Open

Specifying disk in softlayer causes 500 error #3

hashibot opened this issue Jun 13, 2017 · 1 comment
Labels

Comments

@hashibot
Copy link

This issue was originally opened by @pat610 as hashicorp/terraform#9083. It was migrated here as part of the provider split. The original body of the issue is below.


I'm installing a custom private image in SoftLayer which fails when I specify my disks. However it works when I leave disks out of the configuration.

softlayer_virtual_guest.terraform-sample-BDTGroup: Creating...
backend_vlan_id: "" => "559104"
cpu: "" => "8"
dedicated_acct_host_only: "" => "false"
disks.#: "" => "1"
disks.0: "" => "100"
domain: "" => "somedomain.com"
frontend_vlan_id: "" => "559102"
hourly_billing: "" => "true"
image: "" => "4b36e2f4-02f7-4830-8dd2-c37988c76783"
ipv4_address: "" => ""
ipv4_address_private: "" => ""
local_disk: "" => "false"
name: "" => "terraform-vm"
private_network_only: "" => "false"
public_network_speed: "" => "1000"
ram: "" => "32768"
region: "" => "tor01"
Error applying plan:

1 error(s) occurred:

softlayer_virtual_guest.terraform-sample-BDTGroup: Error creating virtual guest: softlayer-go: could not SoftLayer_Virtual_Guest#createObject, HTTP error code: '500'

Terraform Version

Terraform v0.7.3

Terraform Configuration Files

resource "softlayer_virtual_guest" "terraform-sample-BDTGroup" {
    name = "terraform-vm"
    domain = "somedomain.com"
    image = "4b36e2f4-02f7-4830-8dd2-c37988c76783"
    region = "tor01"
    public_network_speed = 1000
    hourly_billing = true
    private_network_only = false
    cpu = 8
    ram = 32768
    disks = [100]
    dedicated_acct_host_only = false
    local_disk = false
    frontend_vlan_id = 559102
    backend_vlan_id = 559104    
}

Expected Behavior

Get a VM with my custom image

Actual Behavior

Error applying plan:

1 error(s) occurred:

softlayer_virtual_guest.terraform-sample-BDTGroup: Error creating virtual guest: softlayer-go: could not SoftLayer_Virtual_Guest#createObject, HTTP error code: '500'

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

Important Factoids

SoftLayer with a custom image

References

  • GH-8734
@hashibot hashibot added the bug label Jun 13, 2017
@albee-jhoney
Copy link

Let us know, if you face the same error in the IBM Cloud provider here: https://github.com/IBM-Cloud/terraform-provider-ibm; docs - https://ibm-cloud.github.io/tf-ibm-docs/

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

No branches or pull requests

2 participants