You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm getting duplicated MOTD (Thea Head) when logging even on fresh installed machines.
Looks like this:
$ ssh operations@someip
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 5.4.0-1041-azure x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Mon Aug 9 09:52:43 UTC 2021
System load: 0.0 Processes: 121
Usage of /: 6.6% of 30.84GB Users logged in: 0
Memory usage: 10% IP address for eth0: 10.1.6.5
Swap usage: 0%
* Super-optimized for small spaces - read how we shrank the memory
footprint of MicroK8s to make it the smallest full K8s around.
https://ubuntu.com/blog/microk8s-memory-optimisation
* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
15 packages can be updated.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
New release '20.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
.ed"""" """$$$$be.
-" ^""**$$$e.
." '$$$c
/ "4$$b
d 3 $$$$
$ * .$$$$$$
.$ ^c $$$$$e$$$$$$$$.
d$L 4. 4$$$$$$$$$$$$$$b
$$$$b ^ceeeee. 4$$ECL.F*$$$$$$$
$$$$P d$$$$F $ $$$$$$$$$- $$$$$$
3$$$F "$$$$b $"$$$$$$$ $$$$*"
$$P" "$$b .$ $$$$$...e$$
*c .. $$ 3$$$$$$$$$$eF
%ce"" $$$ $$$$$$$$$$*
*$e. *** d$$$$$"L$$
$$$ 4J$$$$$% $$$
$"'$=e....$*$$**$cz$$"
$ *=%4.$ L L$ P3$$$F
$ "%*ebJLzb$e$$$$$b
%.. 4$$$$$$$$$$
$$$e z$$$$$$$$$$
"*$c "$$$$$$$P"
"""*$$$$$$$"
You are on a production system, be careful!
Last login: Mon Aug 9 09:52:03 2021 from <removed>
.ed"""" """$$$$be.
-" ^""**$$$e.
." '$$$c
/ "4$$b
d 3 $$$$
$ * .$$$$$$
.$ ^c $$$$$e$$$$$$$$.
d$L 4. 4$$$$$$$$$$$$$$b
$$$$b ^ceeeee. 4$$ECL.F*$$$$$$$
$$$$P d$$$$F $ $$$$$$$$$- $$$$$$
3$$$F "$$$$b $"$$$$$$$ $$$$*"
$$P" "$$b .$ $$$$$...e$$
*c .. $$ 3$$$$$$$$$$eF
%ce"" $$$ $$$$$$$$$$*
*$e. *** d$$$$$"L$$
$$$ 4J$$$$$% $$$
$"'$=e....$*$$**$cz$$"
$ *=%4.$ L L$ P3$$$F
$ "%*ebJLzb$e$$$$$b
%.. 4$$$$$$$$$$
$$$e z$$$$$$$$$$
"*$c "$$$$$$$P"
"""*$$$$$$$"
You are on a production system, be careful!
How to reproduce
Steps to reproduce the behavior:
Install cluster
SSH to newly created machine(s)
check MOTD
Expected behavior
The Head should be printed only once
Environment
Cloud provider: All
OS: Ubuntu
Additional context
/etc/motd looks fine:
[operations@xxxx ~]$ cat /etc/motd
.ed"""" """$$$$be.
-" ^""**$$$e.
." '$$$c
/ "4$$b
d 3 $$$$
$ * .$$$$$$
.$ ^c $$$$$e$$$$$$$$.
d$L 4. 4$$$$$$$$$$$$$$b
$$$$b ^ceeeee. 4$$ECL.F*$$$$$$$
$$$$P d$$$$F $ $$$$$$$$$- $$$$$$
3$$$F "$$$$b $"$$$$$$$ $$$$*"
$$P" "$$b .$ $$$$$...e$$
*c .. $$ 3$$$$$$$$$$eF
%ce"" $$$ $$$$$$$$$$*
*$e. *** d$$$$$"L$$
$$$ 4J$$$$$% $$$
$"'$=e....$*$$**$cz$$"
$ *=%4.$ L L$ P3$$$F
$ "%*ebJLzb$e$$$$$b
%.. 4$$$$$$$$$$
$$$e z$$$$$$$$$$
"*$c "$$$$$$$P"
"""*$$$$$$$"
You are on a production system, be careful!
DoD checklist
Changelog updated (if affected version was released)
COMPONENTS.md updated / doesn't need to be updated
Automated tests passed (QA pipelines)
apply
upgrade
Case covered by automated test (if possible)
Idempotency tested
Documentation updated / doesn't need to be updated
All conversations in PR resolved
Backport tasks created / doesn't need to be backported
The text was updated successfully, but these errors were encountered:
Currently, deployment creates /etc/motd file with the skull directly. I think is the wrong approach.
Ubuntu uses update-motd package and creates /etc/update-motd.d dir to store motd in right order. Creating eg. 99-epiphany script seems to be the right way.
In addition, I would add displaying epicli version at the end of this script.
Describe the bug
I'm getting duplicated MOTD (Thea Head) when logging even on fresh installed machines.
Looks like this:
How to reproduce
Steps to reproduce the behavior:
Expected behavior
The Head should be printed only once
Environment
Additional context
/etc/motd looks fine:
DoD checklist
The text was updated successfully, but these errors were encountered: