-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.12
-
Important
-
None
-
3
-
Sprint 226 - Team FirstBoot
-
1
-
Rejected
-
False
-
Description of problem:
No logs are being collected with "openstack console log <server>" command anymore because the instances in OpenShift 4.12 stopped being configured to send the output to the console by having console=tty0 console=ttyS0 configured in the kernel args.
In 4.11 we had:
[core@ostest-88829-master-2 ~]$ cat /proc/cmdline BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-5e617b583c6eb17b5df9dbed3b8c656bed3e10f4e76d9c254c039552edf59113/vmlinuz-4.18.0-372.26.1.el8_6.x86_64 random.trust_cpu=on console=tty0 console=ttyS0,115200n8 ostree=/ostree/boot.0/rhcos/5e617b583c6eb17b5df9dbed3b8c656bed3e10f4e76d9c254c039552edf59113/0 ignition.platform.id=openstack root=UUID=18ee343c-9ed6-4135-be46-a0d2fe218a46 rw rootflags=prjquota boot=UUID=d1fb9efd-a690-481e-b334-103eea4ac825
and now with 4.12:
[core@sqknth4w-71fac-gnwxk-master-1 ~]$ cat /proc/cmdline BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-f1c0b149e6e8c17d99be3303c7806743d88ece325318193caba5b61e1634de1d/vmlinuz-4.18.0-372.26.1.el8_6.x86_64 ostree=/ostree/boot.0/rhcos/f1c0b149e6e8c17d99be3303c7806743d88ece325318193caba5b61e1634de1d/0 ignition.platform.id=openstack root=UUID=4641935a-54a4-437f-acf3-8d36e5199cf8 rw rootflags=prjquota boot=UUID=85e78f8f-2f1e-4021-abf9-7b24d73f2eb9
Example of failure in the CI no logs gathered:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Install with any 4.12 openshift-install linux in an openstack cloud 2. Once installation progress, run : openstack console log show <server-id>, notice no output is displayed 3.
Actual results:
Expected results:
Additional info:
- blocks
-
OCPBUGS-2995 [4.12] Unable to gather OpenStack console logs since kernel cmd line has no console args
- Closed
- is blocked by
-
OCPBUGS-2996 [4.13] Bootimage bump tracker
- Closed
- is cloned by
-
OCPBUGS-2995 [4.12] Unable to gather OpenStack console logs since kernel cmd line has no console args
- Closed
- links to