CLI run of reports hangs forever, and log shows "no attribute username" error #14892
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v3.7.1
Python Version
3.11
Steps to Reproduce
/opt/netbox/venv/bin/python3 /opt/netbox/netbox/manage.py runreport --verbosity 3 CruftCustomFields.py
Expected Behavior
If running it via the web UI works, then running it via the CLI would also work.
Also, if running via CLI fails, exit with error instead of hanging.
Alternately, if report requires a username, some way for
manage.py runreport
to specify the username to run it as.Observed Behavior
Report works fine via web UI.
Via CLI, output is
and just sits there until interrupted.
netbox.log shows
The text was updated successfully, but these errors were encountered: