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

voltctl - log configuration for multiple stacks doesn't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: VOLTHA v2.12
    • Component/s: voltctl
    • Labels:
      None
    • Story Points:
      1

      Description

      voltctl log set/list command only works for the default VOLTHA stack. If there are multiple stacks available, the only way to set the log config for other stacks is to change the env variable KV_STORE_DATAPATH_PREFIX.

      In default, KV_STORE_DATAPATH_PREFIX points to "service/voltha/voltha1_voltha1" path. 

      When the "voltctl use stack" command is issued, the correct KV_STORE_DATAPATH_PREFIX should be set by the voltctl.

      The ultimate solution would be to have a VOLTHA API to set component log levels. See VOL-4797.

        Attachments

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

          Activity

            People

            Assignee:
            serkantul Serkant Uluderya
            Reporter:
            serkantul Serkant Uluderya
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes