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

Can not get thread log use uswgi

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Highest
    • Resolution: Done
    • Dublin Release
    • 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

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: