Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-1836

more careful packages handling, update shouldn't break container if was interrupted in the middle of packages installation

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • None
    • 1.5.3
    • None
    • None

    Description

      STR:

      docker run -d -p 443:443 --name pmm-server percona/pmm-server:1.5.0
      sleep 10
      docker exec -it pmm-server pmm-update-check # run update check
      curl -v -k -X POST https://127.0.0.1/configurator/v1/updates # run update via API call, web interface can be used also
      sleep 5
      docker restart pmm-server
      sleep 2
      docker ps

      Expected result:
      pmm-server container in running state, web interface is available, it is possible to rerun update 

      Current result:
      not possible to start pmm-server container, web interface not available, very hard to recover container from a broken state

      Description:
      It is needed to more careful install packages, update shouldn't broke container if it was interrupted in the middle of packages installation
      real cause of interruption like network, OOM, docker restart is not important

      Attachments

        Activity

          People

            Unassigned Unassigned
            mykola.marzhan Mykola Marzhan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist