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

Unable to provision bare metal with specific vlan #18

Open
dnwe opened this issue Oct 6, 2016 · 3 comments
Open

Unable to provision bare metal with specific vlan #18

dnwe opened this issue Oct 6, 2016 · 3 comments
Assignees

Comments

@dnwe
Copy link
Contributor

dnwe commented Oct 6, 2016

Experimenting with the bare-metal/tags branches I attempted to order a bare-metal thus:

resource "softlayer_bare_metal" "dnwe" {
  count                = 1
  tags                 = ["dnwe"]
  hostname             = "dnwe${format("%02d", count.index+1)}"
  domain               = "example.com"
  os_reference_code    = "UBUNTU_14_64"
  datacenter           = "lon02"
  fixed_config_preset  = "D2620_64GB_2X1TBSATA_NORAID"
  hourly_billing       = true
  network_speed        = 1000
  private_network_only = true
  private_vlan_id      = "885425"
}

Errors out with:

⁠softlayer_bare_metal.dnwe: Error ordering bare metal server: SoftLayer_Exception_Public: VLANs may not be specified for Bare Metal Server configurations. (HTTP 500)⁠⁠⁠⁠

There seems to be some discussion along similar lines on the internet around package 50 vs 200 (non-fast vs fast provision) that may be related.

@dnwe
Copy link
Contributor Author

dnwe commented Oct 6, 2016

Hmm googling around the issue it does seem to be that BARE_METAL_SERVER (package 200) is the only one that has presets, whereas BARE_METAL_INSTANCE (package 50) doesn't. If the fixedConfigPresets do indeed force a fast provision (where you cannot specify VLAN), then perhaps if a vlan_id is specified in the configuration then we could call getActivePresets to extract the CPU, Memory etc. options from the preset and inline those into the request?

@renier
Copy link
Contributor

renier commented Oct 6, 2016

@dnwe not a bad idea for now. I would prefer to go further and just allow people to specify cpu/memory/etc. which would be mutually exclusive to the preset setting. will be looking into this.

@jvrplmlmn
Copy link
Contributor

@renier is there any update on this issue? Is custom baremetal support something in SoftLayer's roadmap?

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

No branches or pull requests

3 participants