AW: obsworker connecting to localhost:5352
On Tue, Mar 15, 2022 at 10:15:21AM +0000, Mathias Radtke wrote:
OBS_SRC_SERVER="192.168.109.101:5352"
OBS_REPO_SERVERS="192.168.109.101:5252"
Why does it try to connect to localhost?
The source server to use is part of the job data. So the question is why the scheduler has put localhost into the job data. If your BSConfig.pm looks like the template we have, it looks like: my $hostname = Net::Domain::hostfqdn() || 'localhost'; our $srcserver = "http://$hostname:5352"; Thus it seems like the DNS lookup did not work when the scheduler was started. Simply restarting the schedulers should fix this. So BSConfig.pm was like in the template. However I changed the line now to #my $hostname = Net::Domain::hostfqdn() || 'localhost'; my $hostname = 'obs.uib.local' restarted the obs server to make sure all services will get the new hostname restarted obsworker1 and I still get 2022-03-15 11:54:48: building 'opsiconfd' for project 'home:uibmz:opsi:4.2:development' repository 'RHEL_8' arch 'x86_64' fetching sources, getsources: connect to localhost:5352: Connection refused build failed, marked as bad build host... rpc failed: connect to localhost:5252: Connection refused Any suggestion where to look at? Regards Mathias
participants (1)
-
Mathias Radtke