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"}
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
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.
Fixed. overcloud successfully deployed with enabled rsyslog. rsyslog container is up and running
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