Actions
Bug #6526
closedMentat controller
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
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.
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. )
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.
Updated by Rajmund Hruška about 4 years ago
- Status changed from Feedback to Resolved
Updated by Pavel Kácha almost 4 years ago
- Target version changed from Backlog to 2.7
Merged to devel, updating version
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