Can not get thread log use uswgi

Description

When I instantiate ns, I can't get any logs from the thread. 

class BuildInWorkflowThread(Thread):
_def _init(self, plan_input):
Thread.init(self)
self.plan_input = plan_input

def run(self):
build_in.run_ns_instantiate(self.plan_input)

so, I guess we don't sucessfully start the thread.

I try to change the script run.sh from [1] to [2], then I got thread log.

[1] nohup uwsgi --http :8403 -t 120 --module lcm.wsgi --uid onap --gid onap --master --processes 4 &
[2] nohup python manage.py runserver 0.0.0.0:8403 > /dev/null &

 

Environment

Integration Lab --> VF-C tenant

Activity

Show:

Former user May 30, 2019 at 12:58 AM

The patch has been fixed by adding add --enable-threads

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created May 27, 2019 at 8:54 AM
Updated August 12, 2023 at 3:33 AM
Resolved May 30, 2019 at 12:58 AM

Flag notifications