sceptre-phenix icon indicating copy to clipboard operation
sceptre-phenix copied to clipboard

Errors and logging

Open activeshadow opened this issue 3 years ago • 0 comments


Originally created by @glattercj on Thu, 03 Dec 2020 15:48:58 GMT


There are 2 'phenix' log files that I'm aware of (by default):

  • /var/log/phenix/error.log
  • /var/log/phenix/phenix-apps.log

With phenix ui running inside docker, neither of them are showing this error that I can only see by showing the docker logs:

ERROR handlers.go:176: creating experiment test2 - applying apps to experiment: applying experiment app FOO for action configure: running user app: user app FOO command phenix-app-FOO failed: exit status 1
...
phenix      | AttributeError: 'NoneType' object has no attribute 'get'
phenix      | [✗] 'FOO' experiment app (configure)

If it's not possible to get stderr/stdout from phenix ui running inside a docker container, there should at least be documentation that describes what IS and what ISN'T inside the various log files and where to go to find possible messages (e.g. docker logs).

It would be great to be able to see the error from the UI, but the only options for phenix ui are:

--logs.minimega-path
--logs.phenix-path

Since there are multiple 'phenix' log files, which one should we be using?

activeshadow avatar Apr 16 '21 17:04 activeshadow