Closed drewdouglass1 closed 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.
Thank you. Working much better now.
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:
ibm_compute_vm_instance.icp-boot: 1 error(s) occurred:
ibm_compute_vm_instance.icp-boot: Error ordering virtual guest: SoftLayer_Exception_InvalidHostname: The hostname and domain must be alphanumeric strings that may be separated by periods '.'. The only other allowable special character is the dash '-' However the special characters '.' and '-' may not be consecutive. Each alphanumeric string separated by a period is considered a label. Labels must begin and end with an alphanumeric character and must be between 1-63 characters in length. The last label, the TLD (top level domain) must be between 2-24 alphabetic characters. The TLD label and hostname cannot be solely comprised of digits. The domain portion must consist of least one label followed by a period '.' then ending with the TLD label. Combining the hostname, followed by a period '.', followed by the domain gives the FQDN (fully qualified domain name), which may not exceed 253 characters in total length. (HTTP 500)