Uploaded image for project: 'Virtual Function Controller'
  1. Virtual Function Controller
  2. VFC-1397

Can not get thread log use uswgi

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Dublin Release
    • Dublin Release
    • Integration Lab --> VF-C tenant

      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 &

       

            haibin haibin
            haibin haibin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: