-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
Description of problem:
Even after updating from RHOSP17.1.3 to 17.1.4, message in /etc/motd file appears twice.
Version-Release number of selected component (if applicable):
~~~
[stack@undercloud ~]$ cat /etc/rhosp-release
Red Hat OpenStack Platform release 17.1.4 (Wallaby)
[stack@undercloud ~]$ sudo rpm -qa | grep tripleo-ansible
tripleo-ansible-3.3.1-17.1.20240920151437.el9ost.noarch
~~~
How reproducible:
always
Steps to Reproduce:
1. for example, on director node, set /etc/motd file as follows
~~~
[stack@undercloud ~]$ cat /etc/motd
test message in /etc/motd file on director node
~~~
2. ssh to director node
Actual results:
message in /etc/motd file appears twice as follows
~~~
[root@dell-r640-101 ~]# ssh stack@director
test message in /etc/motd file on director node < ======
Register this system with Red Hat Insights: insights-client --register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Fri Nov 29 08:22:08 2024 from 10.0.0.1
test message in /etc/motd file on director node < ======
[stack@undercloud ~]$
~~~
Expected results:
message in /etc/motd file should appear only once
Additional info:
message in file under /etc/motd.d directory appears only once.
/etc/ssh/sshd_config does not have `PrintMotd no`
~~~
(overcloud) [stack@undercloud ~]$ sudo cat /etc/ssh/sshd_config
-
- Ansible managed
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
AuthorizedKeysFile .ssh/authorized_keys
ChallengeResponseAuthentication no
GSSAPIAuthentication no
GSSAPICleanupCredentials no
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
Subsystem sftp /usr/libexec/openssh/sftp-server
SyslogFacility AUTHPRIV
UseDNS no
UsePAM yes
X11Forwarding yes
PasswordAuthentication yes
[tripleo-admin@overcloud-controller-0 ~]$ sudo cat /etc/ssh/sshd_config
-
- Ansible managed
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
AuthorizedKeysFile .ssh/authorized_keys
ChallengeResponseAuthentication no
GSSAPIAuthentication no
GSSAPICleanupCredentials no
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
Subsystem sftp /usr/libexec/openssh/sftp-server
SyslogFacility AUTHPRIV
UseDNS no
UsePAM yes
X11Forwarding yes
PasswordAuthentication no
~~~
- external trackers