Details
-
Bug
-
Status: Closed
-
Highest
-
Resolution: Done
-
Dublin Release
-
Integration Lab --> VF-C tenant
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 &
Attachments
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
88522,1 | Add --enable-threads to uwsgi | master | vfc/nfvo/lcm | Status: MERGED | +2 | +1 |
88525,1 | Add --enable-threads to uwsgi | master | vfc/gvnfm/vnflcm | Status: MERGED | +2 | +1 |
88526,1 | Add --enable-threads to uwsgi | master | vfc/nfvo/catalog | Status: MERGED | +2 | +1 |
88527,1 | Add --enable-threads to uwsgi | master | vfc/gvnfm/vnfres | Status: MERGED | +2 | +1 |
88528,1 | Add --enable-threads to uwsgi | master | vfc/gvnfm/vnfmgr | Status: MERGED | +2 | +1 |
88823,1 | Remove --enable-threads param | master | vfc/gvnfm/vnfres | Status: MERGED | +2 | +1 |
88859,1 | change uwsgi start to django start | master | vfc/gvnfm/vnflcm | Status: MERGED | +2 | +1 |
88877,1 | change uwsgi start to django start | master | vfc/nfvo/lcm | Status: ABANDONED | 0 | 0 |
88879,1 | change uwsgi start to django start | master | vfc/nfvo/catalog | Status: ABANDONED | 0 | 0 |