hello Kory,
I have hit several time the problem in the last couple of
days especially with a user who did not have any problem on v3 (I
migrated them recently on v4) and who reported the error below on the
very same machine. Clearly the client was receiving a host name without
the domain name and was not able to resolve the server name into an IP
address.
I have added in hosts_config.json the various address for the server
(serverA,
serverA.in2p3.fr, xxx.yyy.zzz.kkk) and the client has not been
reported the problem anymore.
cheers,
JY
Kory Draughn wrote:
> Hi Jean-Yves,
>
> *hosts_config.json* is a server only file, so clients cannot and
> should not rely on that.
>
> What you need to do is make sure your clients can resolve the
> hostnames of the servers they attempt to connect to. That must be done
> through DNS or some other mechanism.
>
> Thanks,
>
> Kory Draughn
> Chief Technologist
> iRODS Consortium
>
>
> On Thu, Mar 16, 2023 at 6:42 AM Jean-Yves Nief <
ni...@cc.in2p3.fr
> <mailto:
ni...@cc.in2p3.fr>> wrote:
>
> hello again,
>
> I have noticed the following issue recently with 4.2.11
> clients running from remote sites (containers etc...). I thought
> it was
> due to some exotic config on the remote clients.
> If someone do a iput of a small file (or use no multistreams
> transfer),
> it works fine as the upload goes through our catalog providers. When
> dealing with multistreams transfers, the client is going to connect
> directly to a consumer server hosting the physical resource (eg:
>
serverA.in2p3.fr <
http://serverA.in2p3.fr>). For some users, it
> ends like this:
> remote addresses: aaa.bbb.ccc.ddd ERROR: getaddrinfo_with_retry
> address
> resolution timeout [serverA]
> .....
> aaa.bbb.ccc.ddd is the IP address of one of the catalog provider.
> Note that the client has issues as it tries to resolve the name
> "serverA" which obviously does not exist locally. It lacks the
> ".
in2p3.fr <
http://in2p3.fr>" domain name.
> As a temporary solution, I ask these guys to add in
> /etc/resolv.conf the
> following line:
> search
in2p3.fr <
http://in2p3.fr>
> And it works fine. However, not everybody may have the rights to
> modify
> it if needed.
> I was wondering if I could solve this by adding the address into
> hosts_config.json.
> But before making the change and do a quick restart, I wanted to
> check
> with you if that would make the trick as the system is in production.
> thanks in advance,
> JY
>
> --
> --
> The Integrated Rule-Oriented Data System (iRODS) -
https://irods.org
>
> iROD-Chat:
http://groups.google.com/group/iROD-Chat
> ---
> You received this message because you are subscribed to the Google
> Groups "iRODS-Chat" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
irod-chat+...@googlegroups.com
> <mailto:
irod-chat%2Bunsu...@googlegroups.com>.
> <mailto:
irod-chat+...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/irod-chat/CAA-7h7nRNCaByr-zrLWFNanGFdYMtF6AdXK%3DYJ5E95DATxBQGg%40mail.gmail.com
> <
https://groups.google.com/d/msgid/irod-chat/CAA-7h7nRNCaByr-zrLWFNanGFdYMtF6AdXK%3DYJ5E95DATxBQGg%40mail.gmail.com?utm_medium=email&utm_source=footer>.