terraform-provider-softlayer
terraform-provider-softlayer copied to clipboard
SOAP-ENV:Client Errors
terraform version: v0.8.7+ terrafrom-provider-softlayer version: 580b8ef95af8f328023dda115a7dfa72294e61b3 and after
While working with terraform tonight, I started running into errors between terraform and softlayer.
terraform plan -var-file variables.tfvars
...
Error refreshing state: 7 error(s) occurred:
* softlayer_vlan.mesos_public: Error retrieving vlan: SOAP-ENV:Client: Bad Request (HTTP 200)
* softlayer_global_ip.gateway_global_ip.0: Error retrieving Global Ip: SOAP-ENV:Client: Bad Request (HTTP 200)
* softlayer_lb_local.mesos_lb_local: Error retrieving load balancer: SOAP-ENV:Client: Bad Request (HTTP 200)
* softlayer_vlan.mesos_private: Error retrieving vlan: SOAP-ENV:Client: Bad Request (HTTP 200)
* softlayer_global_ip.gateway_global_ip.1: Error retrieving Global Ip: SOAP-ENV:Client: Bad Request (HTTP 200)
* softlayer_virtual_guest.gateway-server.0: Error retrieving virtual guest: SOAP-ENV:Client: Bad Request (HTTP 200)
* softlayer_virtual_guest.gateway-server.1: Error retrieving virtual guest: SOAP-ENV:Client: Bad Request (HTTP 200)
I stashed the changes that I was working on and got the same error. I checked the 3 clusters that I have going on and ran into the error with all of them. I tried upgrading terraform and the softlayer-provider plugin and it did not change anything. I'm unable to plan or destroy clusters as a consequence.
@tomwganem this happened to us too. Are you using the xmlrpc endpoint for the provider? Or do you have a .softlayer file in your home dir (probably created by slcli) with the endpoint defined? In either case, comment/remove the endpoint definition and try again.
Commenting out the endpoint in the .softlayer file in my home directory fixed the issue. Thank you @athak
Commenting out the endpoint in the .softlayer file in my home directory fixed the issue.
I run into the same issue, and this fix also works for me.
Ran into the same issue. Had forgotten that I had just installed the slcli
tool. Commented out the API endpoint in my ~/.softlayer
and was good to go.
Could generate a warning or debug message to stdout
or stderr
when this file is detected and overrides something Terraform was going to do?