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

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

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • rhel-9.5
    • rhel-9.5
    • pcp
    • None
    • None
    • None
    • 1
    • rhel-pt-pcp
    • ssg_platform_tools
    • 1
    • None
    • PCP Sprint 4
    • None
    • None
    • None

      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 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: