ibm-cloud-architecture / terraform-icp-ibmcloud

This Terraform example configurations uses the IBM Cloud provider to provision virtual machines on IBM Cloud Infrastructure (SoftLayer) and TerraForm Module ICP Deploy to prepare VSIs and deploy IBM Cloud Private on them in Highly Available configuration. This Terraform template automates best practices learned from installing ICP on IBM Cloud Infrastructure.
12 stars 21 forks source link

Deploy fails with ibm_compute_vm_instance.icp-boot: Error ordering virtual guest: SoftLayer_Exception_InvalidHostname #10

Closed drewdouglass1 closed 5 years ago

drewdouglass1 commented 5 years ago

Tried running this a couple of times, but it failed with the same error. Initially I did not have the "domain" variable set, but I added it and still had a problem. Here are the variables I defined minus my SL ID & Key.

key_name = ["drewd-ssh-key"] datacenter = "wdc07" os_reference_code = "UBUNTU_16_64" icp_inception_image = "ibmcom/icp-inception-amd64:3.1.0-ee" icppassword = "admin" image_location = "/Users/drewd/TerraForm/terraform-icp-ibmcloud-master/templates/icp-ee/icp-install/ibm-cloud-private-x86_64-3.1.0.tar.gz" domain = "demo" docker_package_location = "/Users/drewd/TerraForm/terraform-icp-ibmcloud-master/templates/icp-ee/icp-install/icp-docker-18.03.1_x86_64.bin"

Here is the full error: Error: Error applying plan:

1 error(s) occurred:

hassenius commented 5 years ago

Hi @drewdouglass1 ,

Seems like you're domain value of demo does not fulfil the softlayer requirements. Maybe try with demo.com or something like that. It requires an intry in the format of something.somethingelse

Let me know if you still have problems after this.

drewdouglass1 commented 5 years ago

Thank you. Working much better now.