Fixed, misconfigure the dispatcher json file, thanks! -----Original Message----- From: Antonio Terceiro [mailto:[email protected]] Sent: Thursday, March 14, 2013 11:05 PM To: Song, Elen Cc: [email protected] Subject: Re: [Linaro-validation] DNS problem
Hello Elen, On Wed, Mar 13, 2013 at 08:49:08AM +0000, Song, Elen wrote: > Hi Antonio: > > I have a problem while add a dns name for my lava-server I have a > server in 192.168.0.1, and add a dns for it like lava.xxx.com But send > test job filed, the var/log/lava-scheduler.log show: > > 2013-03-13 08:46:40,883 [ERROR] [lava_scheduler_daemon.board.Board.serial-01] > ValueError: invalid literal for int() with base 10: '' > Traceback (most recent call last): > File "/usr/lib/python2.7/threading.py", line 524, in __bootstrap > self.__bootstrap_inner() > File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner > self.run() > File "/usr/lib/python2.7/threading.py", line 504, in run > self.__target(*self.__args, **self.__kwargs) > --- <exception caught here> --- > File > "/srv/lava/.cache/eggs/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/threadpool.py", > line 167, in _worker > result = context.call(ctx, function, *args, **kwargs) > File > "/srv/lava/.cache/eggs/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/context.py", > line 118, in callWithContext > return self.currentContext().callWithContext(ctx, func, *args, **kw) > File > "/srv/lava/.cache/eggs/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/python/context.py", > line 81, in callWithContext > return func(*args,**kw) > File > "/srv/lava/.cache/eggs/lava_scheduler-0.20-py2.7.egg/lava_scheduler_daemon/dbjobsource.py", > line 63, in wrapper > return func(*args, **kw) > File > "/srv/lava/.cache/eggs/lava_scheduler-0.20-py2.7.egg/lava_scheduler_daemon/dbjobsource.py", > line 210, in getJobForBoard_impl > json_data = self._get_json_data(job) > File > "/srv/lava/.cache/eggs/lava_scheduler-0.20-py2.7.egg/lava_scheduler_daemon/dbjobsource.py", > line 107, in _get_json_data > if parsed.port: > File "/usr/lib/python2.7/urlparse.py", line 107, in port > return int(port, 10) > exceptions.ValueError: invalid literal for int() with base 10: '' > > 2013-03-13 08:46:40,886 [ERROR] [sentry.errors] No servers configured, > and sentry not installed. Cannot send message > > Do you happened to know what's the wrong? It is crashing trying to convert an empty port number into an integrer, but I have no idea why that would happen. Can you provide more details about what exactly you did after you added your DNS entry lava.xxx.com? -- Antonio Terceiro Software Engineer - Linaro http://www.linaro.org _______________________________________________ linaro-validation mailing list [email protected] http://lists.linaro.org/mailman/listinfo/linaro-validation
