Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-980

Compress WMCO image payload

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • wicd, wmco
    • 5
    • False
    • None
    • False

      Developer story

      As a WMCO developer, I want to compress the WMCO image payload so that it can be transferred in one shot to the node to cut down on network errors for each transfer.

      Description

      Today we place all required files in a payload directory and transfer them to nodes one at a time. This requires the running WMCO container on the cluster to make an ssh connection for each transfer. Rather we can zip the payload into a single zip file and transfer it over and unzip it on location.

      Engineering details

      We should consider using WICD bootstrap command to unzip the file. This implies that the WICD binary should not be part of the compressed payload.

      We should look in to each image being used by all the docker files and ensure that it has a compression utility by default.

      Use Powershell Expand-Archive, or standard go archiving libraries like archive/zip on the node.

      Acceptance Criteria

      WMCO image has a single payload compressed file and which is transferred and unzipped on the node.
      QE should update their test case that looks for individual files to only look for a single payload zip file and the WICD binary. In addition they can verify the list of unzipped files on the node.

            Unassigned Unassigned
            paravindh Aravindh Puthiyaparambil
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: