Bug 2083666 - [RHOSP 17.0] rsyslog uses old puppet-tripleo code resulting overcloud deployment failure
Summary: [RHOSP 17.0] rsyslog uses old puppet-tripleo code resulting overcloud deploym...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-rsyslog
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: beta
: 17.0
Assignee: Martin Magr
QA Contact: Leonid Natapov
Joanne O'Flynn
URL:
Whiteboard:
Depends On:
Blocks: 2066951 2083858
TreeView+ depends on / blocked
 
Reported: 2022-05-10 14:51 UTC by Leonid Natapov
Modified: 2022-09-21 12:21 UTC (History)
7 users (show)

Fixed In Version: puppet-rsyslog-4.0.1-0.20220705180451.2548a0d.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:21:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 847095 0 None master: MERGED tripleo-heat-templates: Adapt on puppet-rsyslog update (Ic53b78c06fc0b5a8a536d32fe33d7e621becd158) 2022-06-29 14:25:41 UTC
OpenStack gerrit 848061 0 None stable/wallaby: NEW tripleo-heat-templates: Adapt on puppet-rsyslog update (Ic53b78c06fc0b5a8a536d32fe33d7e621becd158) 2022-06-29 14:25:47 UTC
Red Hat Issue Tracker OSP-15149 0 None None None 2022-05-11 15:28:21 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:21:52 UTC

Description Leonid Natapov 2022-05-10 14:51:52 UTC
OSP17 | rsyslog uses old puppet-tripleo code therefor overcloud deployment with rsyslog fails.

---------

2022-05-10 14:25:28.041583 | 5254008e-5b23-b758-80be-000000008412 |      FATAL | Create containers managed by Podman for /var/lib/tripleo-config/container-puppet-config/step_1 | controller-1 | error={"changed": false, "msg": "Failed containers: container-puppet-rsyslog"}
2022-05-10 14:25:28.042834 | 5254008e-5b23-b758-80be-000000008412 |     TIMING | tripleo_container_manage : Create containers managed by Podman for /var/lib/tripleo-config/container-puppet-config/step_1 | controller-1 | 0:12:15.356465 | 60.32s
2022-05-10 14:25:37.234515 |                                      |    WARNING | ERROR: Can't run container container-puppet-rsyslog
stderr: + /usr/bin/puppet apply --summarize --detailed-exitcodes --color=false --modulepath=/etc/puppet/modules:/usr/share/openstack-puppet/modules --tags '"file,file_line,concat,augeas,cron,rsyslog::generate_concat,concat::fragment"' /etc/config.pp
+ logger -s -t puppet-user
<13>May 10 14:25:30 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
<13>May 10 14:25:37 puppet-user:    (file: /etc/puppet/hiera.yaml)
<13>May 10 14:25:37 puppet-user: Warning: Undefined variable '::deploy_config_name'; 
<13>May 10 14:25:37 puppet-user:    (file & line not available)
<13>May 10 14:25:37 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.10/deprecated_language.html
<13>May 10 14:25:37 puppet-user:    (file & line not available)
<13>May 10 14:25:37 puppet-user: Error: Evaluation Error: Error while evaluating a Resource Statement, Could not find declared class rsyslog::server (file: /etc/puppet/modules/tripleo/manifests/profile/base/logging/rsyslog.pp, line: 149, column: 5) on node controller-0.redhat.local
+ rc=1
+ '[' false = false ']'
+ set +x
2022-05-10 14:25:37.235460 | 5254008e-5b23-b758-80be-000000008598 |      FATAL | Create containers managed by Podman for /var/lib/tripleo-config/container-puppet-config/step_1 | controller-0 | error={"changed": false, "msg": "Failed containers: container-puppet-rsyslog"}

Comment 9 Martin Magr 2022-06-20 19:55:26 UTC
There's no rsyslog::server puppet class any more. Apparently the version pin which we had in osp16 was removed and puppet-rsyslog update was pulled in. We need to switch in puppet-tripleo to use rsyslog::config instead.


[1] https://github.com/voxpupuli/puppet-rsyslog/tree/master/manifests

Comment 10 Takashi Kajinami 2022-07-04 16:49:37 UTC
The pin was removed AFTER wallaby release and it has never been backport to wallaby.
Looking at the latest compose we still have puppet-rsyslog-4.0.1 which provides the rsyslog::server class.

So I believe we don't need any change in RHOSP17 unless there is a need to bump puppet-rsyslog version.

Comment 19 Leonid Natapov 2022-07-18 06:34:37 UTC
Fixed. overcloud successfully deployed with enabled rsyslog. rsyslog container is up and running

Comment 23 errata-xmlrpc 2022-09-21 12:21:27 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 17.0 (Wallaby)), 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/RHEA-2022:6543


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