Terraform PowerDNS提供程序在检查DNS记录的当前状态时遇到麻烦。 下面提供了错误(以及跟踪调试(TF_LOG = DEBUG))。
powerdns_record.dns_a_worker_pub[2]: Refreshing state... (ID: k8s-worker-3.k8s-debs-2.cluster.local.:::A)
lking "powerdns_record.dns_a_worker_pub[1]"
2019/03/05 22:52:32 [TRACE] vertex 'root.powerdns_record.dns_a_worker_pub[1]': walking
2019/03/05 22:52:32 [TRACE] vertex 'root.powerdns_record.dns_a_worker_pub[1]': evaluating
2019/03/05 22:52:32 [TRACE] [walkRefresh] Entering eval tree: powerdns_record.dns_a_worker_pub[1]
2019/03/05 22:52:32 [TRACE] root: eval: *terraform.EvalSequence
2019/03/05 22:52:32 [TRACE] root: eval: *terraform.EvalGetProvider
2019/03/05 22:52:32 [TRACE] root: eval: *terraform.EvalReadState
2019/03/05 22:52:32 [TRACE] root: eval: *terraform.EvalRefresh
2019/03/05 22:52:32 [TRACE] dag/walk: walking "powerdns_record.dns_a_worker_pub[2]"
2019/03/05 22:52:32 [TRACE] vertex 'root.powerdns_record.dns_a_worker_pub[2]': walking
2019/03/05 22:52:32 [TRACE] vertex 'root.powerdns_record.dns_a_worker_pub[2]': evaluating
2019/03/05 22:52:32 [TRACE] [walkRefresh] Entering eval tree: powerdns_record.dns_a_worker_pub[2]
2019/03/05 22:52:32 [TRACE] root: eval: *terraform.EvalSequence
2019/03/05 22:52:32 [TRACE] root: eval: *terraform.EvalGetProvider
2019/03/05 22:52:32 [TRACE] root: eval: *terraform.EvalReadState
2019/03/05 22:52:32 [TRACE] root: eval: *terraform.EvalRefresh
2019/03/05 22:52:32 [ERROR] root: eval: *terraform.EvalRefresh, err: powerdns_record.dns_a_worker_priv.1: Error checking PowerDNS Record: invalid character 'C' looking for beginning of value
2019/03/05 22:52:32 [ERROR] root: eval: *terraform.EvalSequence, err: powerdns_record.dns_a_worker_priv.1: Error checking PowerDNS Record: invalid character 'C' looking for beginning of value
2019/03/05 22:52:32 [TRACE] [walkRefresh] Exiting eval tree: powerdns_record.dns_a_worker_priv[1]
这是对条目进行评估的方面。无法弄清楚到底是什么问题。
答案 0 :(得分:0)
我已经通过使用tcpdump检查流量来解决这个问题。它正在连接到我在 http_proxy 和 https_proxy 环境变量下指定的代理。
很抱歉打扰您。因此,响应是出乎意料的。令我惊讶的是,即使连接到端口8080,也使用了代理。