#68 kojid needs to make a new seesion if its current one is invalid
Closed: Fixed 4 years ago by yulwang. Opened 8 years ago by ausil.


[root@hathor ~]# systemctl status kojid
● kojid.service - Koji build server
   Loaded: loaded (/usr/lib/systemd/system/kojid.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2016-04-13 01:08:35 UTC; 3 days ago
     Docs: https://fedoraproject.org/wiki/Koji/ServerHowTo
 Main PID: 25491 (kojid)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/kojid.service
           └─25491 /usr/bin/python /usr/sbin/kojid --fg --force-lock --verbose

Apr 16 19:08:39 hathor.ausil.us kojid[25491]: 2016-04-16 19:08:39,282 [ERROR] {25491} koji.build:137 Traceback (most recent call last):
Apr 16 19:08:39 hathor.ausil.us kojid[25491]:   File "/usr/sbin/kojid", line 120, in main
Apr 16 19:08:39 hathor.ausil.us kojid[25491]:     tm.updateBuildroots()
Apr 16 19:08:39 hathor.ausil.us kojid[25491]:   File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 515, in updateBuildroots
Apr 16 19:08:39 hathor.ausil.us kojid[25491]:     db_br = self.session.listBuildroots(hostID=self.host_id,state=tuple(states))
Apr 16 19:08:39 hathor.ausil.us kojid[25491]:   File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1730, in __call__
Apr 16 19:08:39 hathor.ausil.us kojid[25491]:     return self.__func(self.__name,args,opts)
Apr 16 19:08:39 hathor.ausil.us kojid[25491]:   File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2109, in _callMethod
Apr 16 19:08:39 hathor.ausil.us kojid[25491]:     raise err
Apr 16 19:08:39 hathor.ausil.us kojid[25491]: AuthError: Invalid session or bad credentials

for some reason the session was invalidated. kojid should make a new session when this happens and not hang.


Metadata Update from @yulwang:
- Issue priority set to: Low
- Issue tagged with: groomed

4 years ago

Metadata Update from @yulwang:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Closed this issue as there is monitor depend on Fedora deployment.
Feel free to let us know more concern if it is still an issue.

Login to comment on this ticket.

Metadata