Bug 2081155 - [RHOSP 16.2] Overcloud deployment fails when trying to deploy with rsyslog
Summary: [RHOSP 16.2] Overcloud deployment fails when trying to deploy with rsyslog
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-rsyslog
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: Martin Magr
QA Contact: Leonid Natapov
Joanne O'Flynn
URL:
Whiteboard:
Depends On:
Blocks: 2034925 2083855
TreeView+ depends on / blocked
 
Reported: 2022-05-02 21:36 UTC by Leonid Natapov
Modified: 2022-06-22 16:07 UTC (History)
3 users (show)

Fixed In Version: puppet-rsyslog-3.3.1-2.20220127125249.0rc0.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2083855 2083858 (view as bug list)
Environment:
Last Closed: 2022-06-22 16:07:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-14986 0 None None None 2022-05-02 21:37:47 UTC
Red Hat Product Errata RHBA-2022:4793 0 None None None 2022-06-22 16:07:54 UTC

Description Leonid Natapov 2022-05-02 21:36:13 UTC
Description of problem:

I was trying to enable rsyslog in overcloud deployment.
I included in overcloud deploy command  /usr/share/openstack-tripleo-heat-templates/environments/logging-environment-rsyslog.yaml along with custom yaml file with the following content:

parameter_defaults:
    RsyslogElasticsearchSetting:
        uid: "elastic"
        pwd: "dcS71OJc5j42748xTr61mdcW"
        skipverifyhost: "on"
        allowunsignedcerts: "on"
        server: "https://elastic-service-telemetry.apps.leonidcluster.lab.upshift.rdu2.redhat.com"
        serverport: 443

Overcloud deployment failed with the following error:

 Evaluation Error: Error while evaluating a Function Call, epp(): Invalid EPP: Syntax error at end of input (file: /etc/puppet/modules/rsyslog/templates/action.epp) (file: /etc/puppet/modules/rsyslog/manifests/component/action.pp, line: 13, column: 14) (file: /etc/puppet/modules/rsyslog/manifests/config/actions.pp, line: 3) on node ctrl-0-16-2.redhat.local", "+ rc=1", "+ '[' False = false ']'", "+ set -e", "+ '[' 1 -ne 2 -a 1 -ne 0 ']'", "+ exit 1", " attempt(s): 3", "2022-05-02 19:35:25,047 WARNING: 237810 -- Retrying running container: rsyslog", "2022-05-02 19:35:25,047 ERROR: 237810 -- Failed running container for rsyslog", "2022-05-02 19:35:25,047 INFO: 237810 -- Finished processing puppet configs for rsyslog", "2022-05-02 19:35:25,048 ERROR: 237787 -- ERROR configuring rsyslog"]}


same error was received for all overcloud nodes.

Comment 13 Leonid Natapov 2022-06-07 10:45:21 UTC
Fixed. Overcloud successfully deployed with rsyslog templates

Comment 17 errata-xmlrpc 2022-06-22 16:07:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:4793


Note You need to log in before you can comment on or make changes to this bug.