"WARN[0000] Error resizing exec session" in logrotate_crond container

Solution In Progress - Updated -

Issue

  • We are getting "WARN[0000] Error resizing exec session" error when run a command inside container of logrotate_crond. Can you check and advise?
[root@overcloud-controller-0 ~]# podman exec -it logrotate_crond cat /var/spool/cron/root
# HEADER: This file was autogenerated at 2022-07-26 16:36:33 +0300 by puppet.
# HEADER: While it can still be managed manually, it is definitely not recommended.
# HEADER: Note particularly that the comments starting with 'Puppet Name' should
# HEADER: not be deleted, as doing so could cause duplicate cron jobs.
# Puppet Name: logrotate-crond
PATH=/bin:/usr/bin:/usr/sbin SHELL=/bin/sh
0 * * * * sleep `expr ${RANDOM} \% 90`; /usr/sbin/logrotate -s /var/lib/logrotate/logrotate-crond.status /etc/logrotate-crond.conf 2>&1|logger -t logrotate-crond
WARN[0000] Error resizing exec session 91e32d322b946288ebd59d9b89ecd687270145e50051372e22d7cf565c684c2c: could not open ctl file for terminal resize for container 306c14ece5d528595c654c15cf2c14eab3c2fb0104b5a862e1bbb2a97198fc68: open /var/lib/containers/storage/overlay-containers/306c14ece5d528595c654c15cf2c14eab3c2fb0104b5a862e1bbb2a97198fc68/userdata/91e32d322b946288ebd59d9b89ecd687270145e50051372e22d7cf565c684c2c/ctl: no such device or address

Environment

  • Red Hat OpenStack Platform 16.2 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content