Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-2926

Unable to gather OpenStack console logs since kernel cmd line has no console args

XMLWordPrintable

    • Important
    • 3
    • Sprint 226 - Team FirstBoot
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      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:

      https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.12-e2e-openstack-csi-cinder/1584490419985584128/artifacts/e2e-openstack-csi-cinder/openstack-gather/artifacts/nodes/

      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:

      
      

            rhn-coreos-bgilbert Benjamin Gilbert (Inactive)
            mdemaced Maysa De Macedo Souza
            Michael Nguyen Michael Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: