Hi devel,
Is it possible to resolve an IPv6 address from a hostname inside VDSM?
I am aware of socket.getaddrinfo
<
https://docs.python.org/3.8/library/socket.html#socket.getaddrinfo>, but
are there any libs inside vdsm which already does it, and I can use.
What do I want to do with it?
For this command inside VDSM
*gluster vol info <volname> --remote-host=host1.test.example.com
<
http://host1.test.example.com>*
Gluster is not able to resolve the ip of
host1.test.example.com and fails as
https://pastebin.com/Bt1AUvkU.
I wanted to know if a workaround can be added in vdsm-gluster to resolve a
static IPv6 host
and pass the ip to the gluster command.
--
Thanks,
Kaustav Majumder