Uploaded image for project: 'RHEL Documentation'
  1. RHEL Documentation
  2. RHELDOCS-18329

KnownEL9 Known Issue: Setup imuxsock using rhel-system-roles.logging causing an error

XMLWordPrintable

    • None
    • rhel-sst-system-roles
    • 1
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Known Issue
    • Hide
      .Configuring the _imuxsock_ input basics type causes a problem

      Configuring the _imuxsock_ input basics type through the `logging` RHEL system role and consequently the `use_imuxsock` option causes a problem in the resulting configuration on the managed nodes. The role sets the `name` parameter, however, the _imuxsock_ input type does not support the `name` parameter. As a result, the `rsyslog` logging utility prints the `parameter 'name' not known -- typo in config file?` error.
      Show
      .Configuring the _imuxsock_ input basics type causes a problem Configuring the _imuxsock_ input basics type through the `logging` RHEL system role and consequently the `use_imuxsock` option causes a problem in the resulting configuration on the managed nodes. The role sets the `name` parameter, however, the _imuxsock_ input type does not support the `name` parameter. As a result, the `rsyslog` logging utility prints the `parameter 'name' not known -- typo in config file?` error.
    • Done
    • Required
    • Required
    • Not Required

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

      Configure input basics to use imuxsock in rsyslog using the rhel-system-roles causing an issue in the resulting configuration on the managed system.

      Please provide the package NVR for which bug is seen:

      redhat.rhel_system_roles 1.22.0 
      
      rsyslog-8.2102.0-13.el8.x86_64   

      How reproducible:

      always

      Steps to reproduce

      1. Run the following playbook

       

      ---                                
      - name: Reproducer for issue with removing symlink from log device
        hosts: reproducer
        become: true
                                             
        collections:                                                               
          - redhat.rhel_system_roles                                                
                   
        tasks:
          - name: Apply configuration role to target
            ansible.builtin.import_role:
              name: redhat.rhel_system_roles.logging
            vars:
              logging_inputs:
                - name: custom_basics
                  type: basics
                  use_imuxsock: true  

       

       

      Expected results

      No error thrown

      Actual results

       

      2024-05-06T05:58:47.322317-04:00 rhel8-rsyslog-logger-permission rsyslogd: error during parsing file /etc/rsyslog.d/90-input-basics-custom_basics.conf, on or before line 10: parameter 'name' not known -- typo in config file? [v8.2102.0-13.el8 try https://www.rsyslog.com/e/2207 ]
      2024-05-06T05:58:47.322323-04:00 rhel8-rsyslog-logger-permission rsyslogd: [origin software="rsyslogd" swVersion="8.2102.0-13.el8" x-pid="7691" x-info="https://www.rsyslog.com"] start
       

       

       

              rhn-support-gfialova Gabriela Fialova
              rhn-support-sfroemer Steffen Frömer
              Sergei Petrosian
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: