dell / csm

Dell Container Storage Modules (CSM)
Apache License 2.0
70 stars 15 forks source link

[BUG]: CSI-PowerScale installation fails when reverse DNS lookup is unavailable #142

Closed randeepdell closed 2 years ago

randeepdell commented 2 years ago

Describe the bug CSI-PowerScale driver crashes when we don't have a reverse lookup IP record.

To Reproduce Steps to reproduce the behavior:

  1. Make sure reverse DNS lookup is not available on the machine
  2. Try to install CSI-PowerScale driver
  3. It fails with the error "level=error runid=14 msg="Failed to create Node ID with errorlookup 249.7.168.10.in-addr.arpa. on 10.43.0.10:53: read udp 10.181.7.249:53375->10.43.0.10:53: i/o timeout" file="/go/src/service/node.go:313""

Expected behavior Driver installation should use any other parameter such as IP address or node name and proceed.

Logs time="2021-10-25T08:53:47Z" level=info msg="/csi.v1.Identity/GetPluginInfo: REQ 0013: XXX_NoUnkeyedLiteral={}, XXX_sizecache=0" time="2021-10-25T08:53:47Z" level=info msg="/csi.v1.Identity/GetPluginInfo: REP 0013: Name=csi-isilon.dellemc.com, VendorVersion=2.0.0, Manifest=map[commit:8ee8087aa3d146565777aeecdc2ada2a19f2c286 formed:Tue, 21 Sep 2021 06:00:10 UTC semver:2.0.0 url:http://github.com/dell/csi-isilon], XXX_NoUnkeyedLiteral={}, XXX_sizecache=0" time="2021-10-25T08:53:49Z" level=info msg="/csi.v1.Node/NodeGetInfo: REQ 0014: XXX_NoUnkeyedLiteral={}, XXX_sizecache=0" time="2021-10-25T08:53:59Z" level=debug runid=14 msg="error getting FQDN: 'lookup 249.7.181.10.in-addr.arpa. on 10.43.0.10:53: read udp 10.181.7.249:53375->10.43.0.10:53: i/o timeout'" file="/go/src/common/utils/utils.go:235" time="2021-10-25T08:53:59Z" level=info runid=14 msg="Node ID of worker node is ''" file="/go/src/service/node.go:311" time="2021-10-25T08:53:59Z" level=error runid=14 msg="Failed to create Node ID with errorlookup 249.7.181.10.in-addr.arpa. on 10.43.0.10:53: read udp 10.181.7.249:53375->10.43.0.10:53: i/o timeout" file="/go/src/service/node.go:313" time="2021-10-25T08:53:59Z" level=info msg="/csi.v1.Node/NodeGetInfo: REP 0014: lookup 249.7.181.10.in-addr.arpa. on 10.43.0.10:53: read udp 10.181.7.249:53375->10.43.0.10:53: i/o timeout"

System Information (please complete the following information):

Additional context Add any other context about the problem here.

randeepdell commented 2 years ago

PR has been merged.