# addrConn.createTransport failed to connect to Instance Manager

**URL:** <https://forums.suse.com/t/addrconn-createtransport-failed-to-connect-to-instance-manager/42161>\
**Category:** SUSE Storage\
**Created:** [December 15, 2023, 3:44am UTC](https://forums.suse.com/t/addrconn-createtransport-failed-to-connect-to-instance-manager/42161 "2023-12-15T03:44:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![des](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@des](https://forums.suse.com/u/des)\
**Post date:** [December 15, 2023, 3:44am UTC](https://forums.suse.com/t/addrconn-createtransport-failed-to-connect-to-instance-manager/42161/1 "2023-12-15T03:44:14Z")

</div>

I’m currently experiencing an issue where the Longhorn Manager is unable to connect to the Instance Manager on the same node. Or at the very least it has transient failures to connect. Here’s an example of a log I’m seeing in the Longhorn Manager.

```bash
longhorn-manager-q4x8p longhorn-manager W1215 03:35:22.010195 1 logging.go:59] [core] [Channel #197 SubChannel #198] grpc: addrConn.createTransport failed to connect to {
longhorn-manager-q4x8p longhorn-manager "Addr": "10.42.10.18:8502",
longhorn-manager-q4x8p longhorn-manager "ServerName": "10.42.10.18:8502",
longhorn-manager-q4x8p longhorn-manager "Attributes": null,
longhorn-manager-q4x8p longhorn-manager "BalancerAttributes": null,
longhorn-manager-q4x8p longhorn-manager "Type": 0,
longhorn-manager-q4x8p longhorn-manager "Metadata": null
longhorn-manager-q4x8p longhorn-manager }. Err: connection error: desc = "transport: Error while dialing: dial tcp 10.42.10.18:8502: operation was canceled"

```

Due to this it appears that Longhorn is unstable. With volumes mounted into Pods periodically experiencing an I/O error which causes the Pod to restart.

I’ve deployed Longhorn 1.5.3 into a Rancher managed RKE v1.27.6 cluster using Ubuntu 22.04 nodes. I’ve also reconfigured the taints and tolerations as I only want one set of nodes disks to be used and I want the UI / driver on the tools nodes. I’ve used the following values.yaml for this deployment.

```yaml
defaultSettings:
  createDefaultDiskLabeledNodes: true
  taintToleration: type=tools:NoSchedule; katonic.ai/node-pool:NoSchedule
longhornManager:
    tolerations:
    - key: "type"
      operator: "Equal"
      value: "tools"
      effect: "NoSchedule"
    - key: "katonic.ai/node-pool"
      operator: "Exists"
      effect: "NoSchedule"
longhornDriver:
    tolerations:
    - key: "type"
      operator: "Equal"
      value: "tools"
      effect: "NoSchedule"
    nodeSelector:
      type: "tools"
longhornUI:
    tolerations:
    - key: "type"
      operator: "Equal"
      value: "tools"
      effect: "NoSchedule"
    nodeSelector:
      type: "tools"

```

I’ve also created two debug Pods on the same node and confirmed using `nc` that I am able to communicate between two Pods on the same node.

Any help on this would be greatly appreciated 🙏🏼

Des

---

<div class="post-metadata">

**Author:** ![PhanLe0110](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/phanle0110/32/7022_2.png) [@PhanLe0110](https://forums.suse.com/u/PhanLe0110)\
**Post date:** [December 19, 2023, 3:42am UTC](https://forums.suse.com/t/addrconn-createtransport-failed-to-connect-to-instance-manager/42161/2 "2023-12-19T03:42:09Z")

</div>

Hi @des ! Could you reproduce the problem and send us support bundle to `longhorn-support-bundle@suse.com` ?

---

<div class="post-metadata">

**Author:** ![des](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@des](https://forums.suse.com/u/des)\
**Post date:** [December 19, 2023, 11:32pm UTC](https://forums.suse.com/t/addrconn-createtransport-failed-to-connect-to-instance-manager/42161/3 "2023-12-19T23:32:46Z")

</div>

Hi,

With more digging it seems that these connection issues are quite common. I discovered that we also see them periodically in other clusters as well. The difference being that these other clusters are much smaller. I was tailing all instance-manager logs in the new, bigger, cluster so the errors were more obvious. Also, it seems that the instability may happen on occasion when creating new volumes but is resolved in a reasonably short amount of time.

So I probably don’t need to take any further action. But, out of interest, what is the process to create a support bundle?

Thanks.

Des
