Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Conversation

eed3si9n
Copy link
Contributor

@eed3si9n eed3si9n commented Dec 7, 2018

Ref lightbend/reactive-cli#177
Trying to reproduce the issue.
Fixes #93

@ghost ghost assigned eed3si9n Dec 7, 2018
@ghost ghost added the review label Dec 7, 2018
@eed3si9n eed3si9n force-pushed the wip/dns branch 7 times, most recently from e07abf4 to 557a77f Compare December 7, 2018 10:08
@eed3si9n
Copy link
Contributor Author

eed3si9n commented Dec 7, 2018

Still seeing

[INFO] [12/07/2018 16:24:18.891] [default-akka.actor.default-dispatcher-16] [akka.tcp://default@10.130.4.13:10000/system/bootstrapCoordinator] Looking up [Lookup(bootstrap-dns-demo,Some(management),Some(tcp))]
[WARN] [12/07/2018 16:24:21.911] [default-akka.actor.default-dispatcher-17] [akka.tcp://default@10.130.4.13:10000/system/bootstrapCoordinator] Resolve attempt failed! Cause: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://default/system/IO-DNS#2009517534]] after [3000 ms]. Message of type [akka.io.dns.DnsProtocol$Resolve]. A typical reason for AskTimeoutException is that the recipient actor didn't send a reply.

@eed3si9n
Copy link
Contributor Author

eed3si9n commented Dec 7, 2018

Still seeing

[INFO] [12/07/2018 18:28:54.757] [default-akka.actor.default-dispatcher-16] [akka.tcp://default@10.130.4.29:10000/system/bootstrapCoordinator] Looking up [Lookup(bootstrap-dns-demo-internal.reactivelibtest1.svc.cluster.local,Some(management),Some(tcp))]
[WARN] [12/07/2018 18:28:56.607] [default-akka.actor.default-dispatcher-3] [akka.tcp://default@10.130.4.29:10000/system/bootstrapCoordinator] Resolve attempt failed! Cause: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://default/system/IO-DNS#-199650001]] after [3000 ms]. Message of type [akka.io.dns.DnsProtocol$Resolve]. A typical reason for `AskTimeoutException` is that the recipient actor didn't send a reply.

@eed3si9n
Copy link
Contributor Author

To clarify, I am seeing Some(management) in Looking up [Lookup(bootstrap-dns-demo-internal.reactivelibtest1.svc.cluster.local,Some(management),Some(tcp))]. This would fail because the port that we have it set up here is akka-mgmt-http.

In theory

  management {
    cluster {
      bootstrap {
        contact-point-discovery {
          port-name = akka-mgmt-http
        }
      }
    }
  }

should've been picked up from akka-cluster-bootstrap/src/main/resources/rp-tooling.conf.

@eed3si9n eed3si9n force-pushed the wip/dns branch 2 times, most recently from 7a5002c to f47f3d3 Compare December 11, 2018 07:54
@eed3si9n
Copy link
Contributor Author

Finally got it to lookup akka-mgmt-http, but still not working.

[INFO] [12/11/2018 09:07:10.583] [default-akka.actor.default-dispatcher-3] [akka.tcp://default@10.130.4.132:10000/system/bootstrapCoordinator] Looking up [Lookup(bootstrap-demo-kubernetes-dns-internal.reactivelibtest1.svc.cluster.local,Some(akka-mgmt-http),Some(tcp))]
[WARN] [12/11/2018 09:07:13.603] [default-akka.actor.default-dispatcher-20] [akka.tcp://default@10.130.4.132:10000/system/bootstrapCoordinator] Resolve attempt failed! Cause: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://default/system/IO-DNS#1521988542]] after [3000 ms]. Message of type [akka.io.dns.DnsProtocol$Resolve]. A typical reason for AskTimeoutException is that the recipient actor didn't send a reply.

@eed3si9n eed3si9n force-pushed the wip/dns branch 6 times, most recently from bd90959 to 03648e8 Compare December 13, 2018 04:49
@eed3si9n
Copy link
Contributor Author

I am thinking #93 needs to happen for DNS to work.
The correct message is being sent but probably the other side is not interpreting the new style of message akka.io.dns.DnsProtocol$Resolve.

@eed3si9n eed3si9n changed the title add tests for Kubernetes using DNS remove async-dns implementation, and add tests for Kubernetes using DNS Dec 18, 2018
@eed3si9n eed3si9n merged commit 8aafd00 into master Dec 18, 2018
@ghost ghost removed the review label Dec 18, 2018
@eed3si9n eed3si9n deleted the wip/dns branch December 18, 2018 18:49
@eed3si9n eed3si9n added this to the 1.6.0 milestone Jan 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant