Xen should use "console=hvc0" on boot

Bug #1691190 reported by Alvaro Lopez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Sean Dague

Bug Description

Xen's console is attached to hvc0 in PV guests [1]. If an image does set it up on its grub configuration, the instance may not boot properly.

Nova could set the os_cmdline for that guest as it is doing for other hypervisors (for example for LXC), adding the console setup there, so that libvirt configures the domain properly.

[1] https://wiki.xen.org/wiki/Xen_FAQ_Console

Tags: libvirt xen
Alvaro Lopez (aloga)
description: updated
Changed in nova:
assignee: nobody → Alvaro Lopez (aloga)
Matt Riedemann (mriedem)
Changed in nova:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: Triaged → In Progress
Changed in nova:
assignee: Alvaro Lopez (aloga) → Sean Dague (sdague)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/469826
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8ceba86a9d816336a42f7636cce85dc2f8e76dbc
Submitter: Jenkins
Branch: master

commit 8ceba86a9d816336a42f7636cce85dc2f8e76dbc
Author: Alvaro Lopez Garcia <email address hidden>
Date: Thu Jun 1 11:39:33 2017 +0200

    xen: pass Xen console in cmdline

    Xen's console is attached to hvc0 in PV guests [1]. If an image does set
    it up on its grub configuration, the instance may not boot properly.

    Nova is setting the os_cmdline for other hypervisors, so it should do
    the same for Xen. This way libvirt will configures the domain properly.

    [1] https://wiki.xen.org/wiki/Xen_FAQ_Console

    Change-Id: I7600c6e966ab3829185d008077463e9689b9afd5
    Closes-Bug: 1691190

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 16.0.0.0b3

This issue was fixed in the openstack/nova 16.0.0.0b3 development milestone.

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.