Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-8926

Add progress reporting to rhc-worker-script

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Conversions
    • None
    • None

      ** Note that this is a public ticket, please refrain from adding any sensitive data. **

      rhc-worker-playbook has implemented progress reporting via while loop checking if thread is allive, in given response interval it sends update message to dispatcher with updated stdout of the script.

      Goal: 

      Unanswered questions:

      • how is the infrastructure going to work? Is it enough to send message to dispatcher with progress or is this going to be special 'channel' for streaming the progress?
      • See discussion here

      Format of progress showed in the UI is dependent on what rhc-worker-script is able to send:

      • Time based - every N seconds send still running message -  'is alive', period based on worker config
      • Chunk based - sent messages with stdout/log of the script progress
        • Maybe more of a combination, sent time based chunks of collected stdout 

      First draft of worker progress reporting is being done in https://github.com/oamg/rhc-worker-script/pull/100

      Acceptance Criteria:

      • UI shows message about progress of the script execution

              Unassigned Unassigned
              awaltlov@redhat.com Andrea Waltlova (Inactive)
              None
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: