Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-32381

pcp-check tool shows internal errors when pmda-uwsgi is not installed

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.5
    • rhel-9.5
    • pcp
    • None
    • pcp-6.2.2-1.el9
    • Minor
    • sst_pt_pcp
    • ssg_platform_tools
    • 22
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Red Hat Enterprise Linux
    • PCP Sprint 5
    • All

      What were you trying to do that didn't work?

      When pmcheck tool is used on a system where pcp-pmda-uwsgi is not installed it shows an internal error "File not found".

      Please provide the package NVR for which bug is seen:

      pcp-6.2.1-1.el9

      How reproducible:

      Always

      Steps to reproduce

      1.  Install pcp and pcp-system-tools packages
      2.  Run pmcheck without any argument

      Expected results

      pmcheck shows results of components checks without internal errors:

      # pmcheck 
      pmcd            active              
      pmda-overhead   could be activated  
      pmda-postgresql cannot be activated  No systemd unit file installed
      pmda-redis      cannot be activated 
      pmda-uwsgi      cannot be activated 
      pmie            active              
      pmlogger        active              
      pmproxy         could be activated  
      zeroconf        active 
      

      Actual results

      # pmcheck 
      pmcd            active              
      pmda-overhead   could be activated  
      pmda-postgresql cannot be activated  No systemd unit file installed
      pmda-redis      cannot be activated 
      /usr/bin/python3: can't open file '/var/lib/pcp/pmdas/uwsgi/pmdauwsgi.python': [Errno 2] No such file or directory
      pmda-uwsgi      cannot be activated 
      pmie            active              
      pmlogger        active              
      pmproxy         could be activated  
      zeroconf        active 
      

            nathans@redhat.com Nathan Scott
            jkurik@redhat.com Jan Kurik
            pcp-maint pcp-maint
            Jan Kurik Jan Kurik
            Jacob Valdez Jacob Valdez
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: