Xen+libvirt fails to boot from encrypted volume (test_boot_server_from_encrypted_volume_luks)

Bug #1702897 reported by Anthony PERARD
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Low
Unassigned

Bug Description

This Tempest tests fails on Xen+libvirt:
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_boot_server_from_encrypted_volume_luks

This is because pygrub is unable to open an encrypted disk and so can not find the kernel of guest.

Log:

from libvirt:
2017-07-07 11:11:38 UTC libxl: error: libxl_bootloader.c:637:bootloader_finished: bootloader failed - consult logfile /var/log/xen/bootloader.179.log
2017-07-07 11:11:38 UTC libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: bootloader [7539] exited with error status 1

from bootloader.179.log:
Traceback (most recent call last):
  File "/usr/lib/xen-4.6/bin/pygrub", line 882, in <module>
    raise RuntimeError, "Unable to find partition containing kernel"
RuntimeError: Unable to find partition containing kernel

More logs can be found at:
http://logs.openstack.xenproject.org/79/359879/15/check/dsvm-tempest-xen/218cf07/

Revision history for this message
Sean Dague (sdague) wrote :

Found open reviews for this bug in gerrit, setting to In Progress.

review: https://review.openstack.org/481627 in branch: master

Changed in nova:
status: New → In Progress
melanie witt (melwitt)
Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

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

commit e44ea07c4ddd4f493482fd6f4f02446a2718ed65
Author: Anthony PERARD <email address hidden>
Date: Fri Jul 7 14:13:40 2017 +0100

    Skip boot from encrypted volume on Xen+libvirt

    The Xen toolstack is trying to locate the kernel by running pygrub on
    the host (as opposed to in guest) on the disk image, this fails for
    encrypted volume.

    Skip the Tempest test until this is resolved.

    Change-Id: I173ac0ae8ebfb249d75a29e425e90c8928c3da40
    Related-Bug: 1702897

Revision history for this message
Sean Dague (sdague) wrote :

There are no currently open reviews on this bug, changing the status back to the previous state and unassigning. If there are active reviews related to this bug, please include links in comments.

Changed in nova:
status: In Progress → New
Sean Dague (sdague)
Changed in nova:
status: New → Confirmed
tags: added: libvirt-xen
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.