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

Documentation Bug: PMM v2 minor upgrade with PMM v1 information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Story Points:
      0
    • Sprint:
      Platform Sprint 21

      Description

      Hi,

      The documentation to upgrade minor version on PMM v2 has information and output from PMM v1, leading to the possibility to upgrade between major versions. Once it is not possible:
      https://www.percona.com/doc/percona-monitoring-and-management/2.x/install/docker-upgrading.html#updating-pmm-server-using-docker

       

      We can notice it in some topics, e.g:

      Checking the docker via docker ps as documentation explains we can see the PMM v2.2.0. However, when the documentation guides us to check the yml file inside the container, it shows a different version and also using a nonvalid command for PMM2

      $ docker exec -it pmm-server head -1 /srv/update/main.yml
      v1.5.3 

      Following on in the documentation, we have to pull the latest PMM2 image:
      https://www.percona.com/doc/percona-monitoring-and-management/2.x/install/docker-upgrading.html#pmm-deploying-docker-container-creating

      Although, when it checks the new container via docker ps  , it shows info about PMM v1.5.0:

      CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
      480696cd4187 percona/pmm-server:1.5.0 "/opt/entrypoint.sh" 4 minutes ago Up 4 minutes 192.168.100.1:80->80/tcp, 443/tcp pmm-server
      

      Suggested fix:

      • Remove the outputs about PMM 1v
      • Change the command to check the PMM server version inside the container. 

       

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                paul.jacobs Paul Jacobs
                Reporter:
                jeannunes.dasilva Jean Nunes da Silva
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 2 hours
                    2h