Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-5203

VGC docker fix for receiving signals

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: To Do (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: voltha-go-controller
    • Labels:
      None
    • Story Points:
      1

      Description

      VGC was not receiving signals due to incorrect way of spawning the docker image. VGC was being spawned from a script instead of being spawned as a container directly from the deployment.yaml. 
      When spawned from a script, the script will be running as PID 1 and VGC will be the child process. Due to this VGC will not be able to catch OS signals as the signals are directed to PID 1.

      Running the VGC container from the deployment.yaml results in VGC to run as PID 1, which allows it to catch signals.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            sridharbr Sridhar Ravindra
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There is 1 open Gerrit change