Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-14162

FFU upgrade from 16.2.6 to 17.1.4 - wrong default parameters in the pacemaker-remote-baremetal-puppet.yaml and placement-api-container-puppet.yaml

XMLWordPrintable

    • PIDONE 18.0.7, PIDONE 18.0.8
    • 2
    • Important

      After completing the FFU to 17.1, wrong default parameters (path and regex) have been found in the sections related to the logging sources of these yaml files

      • pacemaker-remote-baremetal-puppet.yaml
      • placement-api-container-puppet.yaml

      The log collection related to Pacemaker Remote and Placement API are compromised by these wrong parameters

      Regarding the pacemaker-remote-baremetal-puppet.yaml file: 

      • wrong parameters (path and regex) in PacemakerRemoteLoggingSource
        PacemakerRemoteLoggingSource:
            type: json
            default:
              tag: system.pacemaker_remote
              file: /var/log/pacemaker.log                          # <-- The path of this log doesn't exist
              startmsg.regex: ^[^ ]\s[^ ]* [^ ]* [[^ ]] [^ ] #<--- A double \ is required in this regex
      • path and regex correctly set in PacemakerRemoteLoggingSource 
          PacemakerRemoteLoggingSource:
            tag: system.pacemaker_remote
            file: /var/log/host/pacemaker/pacemaker.log
            startmsg.regex: '^[^ ]\\s[^ ]* [^ ]* \\[[^ ]\\] [^ ]'

         

      Regarding the placement-api-container-puppet.yaml file: 

      • wrong path in PlacementLoggingSource
        PlacementLoggingSource:
            type: json
            default:
              tag: openstack.placement
              file: /var/log/containers/httpd/placement_wsgi_error_ssl.log  # <-- The path of this log doesn't exist
      • path correctly set in PlacementLoggingSource
          PlacementLoggingSource:
            tag: openstack.placement
            file: /var/log/containers/httpd/placement/placement_wsgi_error.log

         

       

              rhn-support-lmiccini Luca Miccini
              rhn-support-rbruzzon Riccardo Bruzzone
              rhos-dfg-pidone
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: