Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-16790

Improved container build procedure for the Replication System's tools

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Critical
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None
    • Templates:
    • Story Points:
      12
    • Sprint:
      DB_F18_11, DB_S19_01
    • Team:
      Data Access and Database

      Description

      A purpose of this ticket is to improve the container build procedure to facilitate deploying the Replication tools in the cloud (including Google's GKE) environments. Specifically:

      • switch the internal user of the container to UID=1000 (to be inline with the Qserv containers)
      • add the mysql binary to the list of packaged binaries (this is needed for extracting data from the Qserv workers' databases when starting the Replication workers). The tool will also produce a file-based configurations to be distributed among workers via the ConfigMap mechanism
      • tag containers with the `git` hash tag
      • implement a command-line tool qserv-replica-config for inspecting and manipulating the Replication system's configuration (from a MySQL/MariaDB database)
      • update documentation: https://confluence.lsstcorp.org/display/DM/Deploying%2C+configuring+and+operating+the+Qserv+Replication+system

      NOTE: the cloud-specific container build scripts will be put at a separate folder:

      admin/tools/docker/replication/container/tools/gke/build.sh
      admin/tools/docker/replication/container/tools/gke/collect.sh
      admin/tools/docker/replication/container/tools/gke/Dockerfile
      admin/tools/docker/replication/container/tools/gke/README
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  gapon Igor Gaponenko
                  Reporter:
                  gapon Igor Gaponenko
                  Reviewers:
                  Fabrice Jammes
                  Watchers:
                  Andy Salnikov, Fabrice Jammes, Fritz Mueller, Igor Gaponenko, Vaikunth Thukral
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel