Project

General

Profile

Actions

Bug #6526

closed

Mentat controller

Added by Rajmund Hruška about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
09/23/2020
Due date:
% Done:

100%

Estimated time:
To be discussed:
No

Description

Even though each process is successfully created and ps command shows that they exist, mentat-controller ends with an error after the execution of command start.

2020-09-23 12:23:49,437 ERROR: System startup seems to have failed

Command status then shows the following errors:
2020-09-23 12:26:10,948 ERROR: Process '7457' is dead, but pid file '/home/hruska/mentat-ng/chroot/var/mentat/run/mentat-storage.py.pid' exists
2020-09-23 12:26:10,948 ERROR: Process '7464' is dead, but pid file '/home/hruska/mentat-ng/chroot/var/mentat/run/mentat-enricher.py.pid' exists
2020-09-23 12:26:10,948 ERROR: Process '7469' is dead, but pid file '/home/hruska/mentat-ng/chroot/var/mentat/run/mentat-inspector-b.py.pid' exists
2020-09-23 12:26:10,949 ERROR: Process '7474' is dead, but pid file '/home/hruska/mentat-ng/chroot/var/mentat/run/mentat-inspector.py.pid' exists

Actions #1

Updated by Rajmund Hruška about 4 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from Rajmund Hruška to Pavel Kácha

It seems that the issue was in regular expression not matching my output from ps. I've added python3.7 to this regexp.

https://homeproj.cesnet.cz/projects/mentat/repository/mentat-ng/revisions/98962f810888aa14c2ec28366c4733417791eda5

Actions #2

Updated by Pavel Kácha about 4 years ago

  • Assignee changed from Pavel Kácha to Rajmund Hruška

Nice one. Wouldn't it make sense to make regexp more general? Like /python(?:\d+(?:\.\d+)?)? (Written from the top of my head, maybe wrong, but you get the idea. )

Actions #3

Updated by Rajmund Hruška about 4 years ago

  • Assignee changed from Rajmund Hruška to Pavel Kácha

That's a better solution. Should I also make some tests for this matching? In my opinion, it's unnecessary.

https://homeproj.cesnet.cz/projects/mentat/repository/mentat-ng/revisions/657bd21baf2b4db73f2b400f0dff120c7900c35b

Actions #4

Updated by Rajmund Hruška about 4 years ago

  • Status changed from Feedback to Resolved
Actions #5

Updated by Pavel Kácha almost 4 years ago

  • Target version changed from Backlog to 2.7

Merged to devel, updating version

Actions #6

Updated by Jan Mach almost 4 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

Closing, so that the version can also be closed.

Actions

Also available in: Atom PDF