Closed leva0887 closed 6 years ago
I tried new instruction and still no result. The same error is persist.
Also I have debug log. Maybe it can help to understand what is wrong
2017/11/28 17:10:58 [DEBUG] plugin: starting plugin: /usr/src/terraform/.terraform/plugins/linux_amd64/terraform-provider-xenserver/terraform-provider-xenserver []string{"/usr/src/terraform/.terraform/plugins/linux_amd64/terraform-provider-xenserver/terraform-provider-xenserver"}
2017/11/28 17:10:58 [DEBUG] plugin: waiting for RPC address for: /usr/src/terraform/.terraform/plugins/linux_amd64/terraform-provider-xenserver/terraform-provider-xenserver
2017/11/28 17:10:58 [ERROR] root: eval: *terraform.EvalInitProvider, err: dial unix /tmp/plugin855433688|netrpc: connect: no such file or directory
2017/11/28 17:10:58 [ERROR] root: eval: *terraform.EvalSequence, err: dial unix /tmp/plugin855433688|netrpc: connect: no such file or directory
2017/11/28 17:10:58 [DEBUG] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)"
2017/11/28 17:10:58 [DEBUG] plugin: terraform-provider-xenserver: {"@level":"debug","@message":"plugin address","@timestamp":"2017-11-28T17:10:58.480330+02:00","address":"/tmp/plugin855433688","network":"unix"}
2017/11/28 17:10:58 [DEBUG] dag/walk: upstream errored, not walking "provider.xenserver (close)"
2017/11/28 17:10:58 [DEBUG] dag/walk: upstream errored, not walking "root"
2017/11/28 17:10:58 [DEBUG] plugin: waiting for all plugin processes to complete...
2017/11/28 17:10:58 [DEBUG] plugin: /usr/src/terraform/.terraform/plugins/linux_amd64/terraform-provider-xenserver/terraform-provider-xenserver: plugin process exite`
Also double checked the version of terraform
[root@centos7 terraform]# ./terraform version
Terraform v0.10.0
Your version of Terraform is out of date! The latest version
is 0.11.0. You can update by downloading from www.terraform.io
Hi, Terraform version 0.10.7 is used to compile plugin. Does update of terraform to 0.10.7 solves your problem?
@leva0887 I made a local build of commit 614328e444ad7d8da3856448b0a19fe80f378539. As @mborodin mentioned, the dependency on the Terraform sources to compile against is 0.10.7.
On my Mac, I am using the binary terraform-provider-xenserver
against a normal install of 0.10.8. It is configured in ~/.terraformrc
like this:
providers {
xenserver = "/Users/ringods/Projects/golang/bin/terraform-provider-xenserver"
}
I just ran the examples/datasource_pifs
against my local xenserver and it worked fine. It fetched the UUIDs from the 4 ethernet cards and dropped them in the JSON file.
Can you test again against Terraform 0.10.7 or 0.10.8? Version 0.11.0 and up is untested at this moment.
Issue fixed
I am trying to use this provider. Here are details:
Please help to understand what is wrong