There is no terminal running on serial port after provisioning

Bug #1544820 reported by Andrey Danin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Maksim Malchuk
Mitaka
Fix Released
High
Maksim Malchuk

Bug Description

Reproduced on 7.0

When provisioning is done and a node is rebooted there is no way to log into the node via serial port. It may be crucial when a server has IPMI SerialOnLAN only and the server has failed to get IP settings for some reason. It's hard to debug such environments.

Workaround: I didn't test it but it should be straightforward. Run getty on /dev/ttyS0 like in [1]

[1] https://help.ubuntu.com/community/SerialConsoleHowto

Revision history for this message
Aleksey Zvyagintsev (azvyagintsev) wrote :
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

Aleksey, what UI changes do you talking about?

Dmitry Pyzhov (dpyzhov)
tags: added: area-library feature
Changed in fuel:
assignee: Fuel for Openstack (fuel) → Fuel Library Team (fuel-library)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Maksim Malchuk (mmalchuk)
description: updated
Changed in fuel:
milestone: 9.0 → 10.0
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

This is a feature request. Removing from the Mitaka release because we don't backport patches of this kind.

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/319914

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-agent (master)

Reviewed: https://review.openstack.org/319914
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=39fe69492c50b10912cb131f6a4e2b5aa3caeaec
Submitter: Jenkins
Branch: master

commit 39fe69492c50b10912cb131f6a4e2b5aa3caeaec
Author: Maksim Malchuk <email address hidden>
Date: Mon May 23 15:49:11 2016 +0300

    Run console on the serial port if required

    This commit adds the ability to use IPMI SOL console when the nodes
    provisioned with an option 'console=ttySx' or 'console=ttySx,speed',
    where x is 0 for the COM1 and 1 for COM2. If speed parameter doesn't
    provided so 9600 used as default. This feature can be used for the
    bootstrap nodes too.

    DocImpact
    Closes-Bug: #1544820
    Change-Id: I210001c5692281add2439843f4ad69d65c8f6e17
    Signed-off-by: Maksim Malchuk <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

Perhaps, this fix should be targeted to 9.1 too.

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Changed to the New status on request.

Dmitry Pyzhov (dpyzhov)
tags: added: 9.1-proposed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-agent (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/350296

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-agent (stable/mitaka)

Reviewed: https://review.openstack.org/350296
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=34f6f9f3ee7ccbd826a48e0a3ac61994ce7466fc
Submitter: Jenkins
Branch: stable/mitaka

commit 34f6f9f3ee7ccbd826a48e0a3ac61994ce7466fc
Author: Maksim Malchuk <email address hidden>
Date: Mon May 23 15:49:11 2016 +0300

    Run console on the serial port if required

    This commit adds the ability to use IPMI SOL console when the nodes
    provisioned with an option 'console=ttySx' or 'console=ttySx,speed',
    where x is 0 for the COM1 and 1 for COM2. If speed parameter doesn't
    provided so 9600 used as default. This feature can be used for the
    bootstrap nodes too.

    DocImpact
    Closes-Bug: #1544820
    Change-Id: I210001c5692281add2439843f4ad69d65c8f6e17
    Signed-off-by: Maksim Malchuk <email address hidden>
    (cherry picked from commit 39fe69492c50b10912cb131f6a4e2b5aa3caeaec)

tags: added: on-verification
Revision history for this message
Alexey. Kalashnikov (akalashnikov) wrote :

Verified on 9.1 snapshot #237

root@node-5:~# cat /boot/grub/grub.cfg | grep console
        linux /vmlinuz-3.13.0-93-generic root=/dev/mapper/os-root ro console=ttyS0 net.ifnames=0 biosdevname=0 rootdelay=90 nomodeset root=UUID=64e98980-ab2e-44b4-a062-92a37ee4ed15 nomdmonddf nomdmonisw
                linux /vmlinuz-3.13.0-93-generic root=/dev/mapper/os-root ro console=ttyS0 net.ifnames=0 biosdevname=0 rootdelay=90 nomodeset root=UUID=64e98980-ab2e-44b4-a062-92a37ee4ed15 nomdmonddf nomdmonisw
                linux /vmlinuz-3.13.0-93-generic root=/dev/mapper/os-root ro recovery nomodeset console=ttyS0 net.ifnames=0 biosdevname=0 rootdelay=90 nomodeset root=UUID=64e98980-ab2e-44b4-a062-92a37ee4ed15

root@node-5:~# ll /dev/ttyS0
crw-rw---- 1 root dialout 4, 64 Sep 14 08:48 /dev/ttyS0
root@node-5:~# screendump /dev/ttyS0

Ubuntu 14.04.5 LTS node-5.test.domain.local tty1

node-5 login:

tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.