Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4020

HSM copytool event monitoring capabilities

Details

    • 10799

    Description

      This ticket is to track the work being done to add copytool event monitoring capabilities to liblustreapi. The end result will be that external monitoring agents are able to read an event stream out of a FIFO.

      Attachments

        Issue Links

          Activity

            [LU-4020] HSM copytool event monitoring capabilities
            jamesanunez James Nunez (Inactive) made changes -
            Labels New: HSM
            jamesanunez James Nunez (Inactive) made changes -
            Link New: This issue is related to LU-4751 [ LU-4751 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.5.1 [ 10608 ]
            pjones Peter Jones made changes -
            Labels Original: 11i
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.6.0 [ 10595 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones added a comment -

            Landed for 2.6

            pjones Peter Jones added a comment - Landed for 2.6
            bogl Bob Glossman (Inactive) added a comment - backport to b2_5; http://review.whamcloud.com/9512
            mjmac Michael MacDonald (Inactive) made changes -
            Attachment New: test.py [ 14176 ]

            Attached a small proof-of-concept for generating valid JSON with PyYAML. The main takeaway is that the JSON we are currently generating is indeed valid YAML. Given that the DLC patches that bring in libyaml have not yet landed on master, and won't land for 2.5.x, I propose that we move forward with the existing simple JSON generator, but plan to replace it with libyaml when that becomes available.

            mjmac Michael MacDonald (Inactive) added a comment - Attached a small proof-of-concept for generating valid JSON with PyYAML. The main takeaway is that the JSON we are currently generating is indeed valid YAML. Given that the DLC patches that bring in libyaml have not yet landed on master, and won't land for 2.5.x, I propose that we move forward with the existing simple JSON generator, but plan to replace it with libyaml when that becomes available.

            I have pushed a new patch-set #6 for http://review.whamcloud.com/7790. Where after re-base, I tried to answer to the multiple comments from previous patch-sets.

            Andreas, is the new liblustreapi_json.c, what you wanted ? I am not really aware of this licensing protocols and thus about their packaging needs … What about the specific data-structures definitions being used, do they need to be in a separate .h file too with the appropriate header?

            Jinshan, I did not remove the head-list structure llapi_json_item_list, because I find code more easy to read than without.

            bfaccini Bruno Faccini (Inactive) added a comment - I have pushed a new patch-set #6 for http://review.whamcloud.com/7790 . Where after re-base, I tried to answer to the multiple comments from previous patch-sets. Andreas, is the new liblustreapi_json.c, what you wanted ? I am not really aware of this licensing protocols and thus about their packaging needs … What about the specific data-structures definitions being used, do they need to be in a separate .h file too with the appropriate header? Jinshan, I did not remove the head-list structure llapi_json_item_list, because I find code more easy to read than without.

            People

              mjmac Michael MacDonald (Inactive)
              mjmac Michael MacDonald (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: