xenapi: guest kernel not cleaned up

Bug #1161471 reported by Mate Lakat
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Hua Zhihao

Bug Description

Started with a clean hypervisor.
installed devstack
Running an exercise, with the following result:

=====================================================================
SKIP boot_from_volume
SKIP quantum-adv-test
SKIP swift
PASS aggregates
PASS bundle
PASS client-args
PASS client-env
PASS euca
PASS floating_ips
PASS horizon
PASS sec_groups
PASS volumes

Leaves behind some kernels on the hypervisor:

[root@zarss ~]# ls -la /boot/guest/
total 8492
drwxr-xr-x 2 root root 4096 Mar 28 08:58 .
drwxr-xr-x 4 root root 4096 Mar 28 08:58 ..
-rw-r--r-- 1 root root 4955792 Mar 28 08:53 312ec2de-82bb-479d-9b05-ec2e9ee97a4b
-rw-r--r-- 1 root root 3714968 Mar 28 08:53 8c764649-babf-4148-8c4f-4550714ac88c

Maybe it is related to 714709 https://bugs.launchpad.net/nova/+bug/714709 ?
Maybe this is an exercise issue?

No instances are reported by Nova:
stack@DevStackOSDomU:~/devstack$ nova list --all-tenants 1
stack@DevStackOSDomU:~/devstack$ nova list

Tags: xenserver
Mate Lakat (mate-lakat)
tags: added: xenserver
description: updated
Revision history for this message
John Garbutt (johngarbutt) wrote :

nasty, looks like the bug has come back again. We need a test for this one I guess.

Changed in nova:
importance: Undecided → High
importance: High → Medium
Revision history for this message
John Garbutt (johngarbutt) wrote :

Going for medium, its not that widely used feature.

Chuck Short (zulcss)
Changed in nova:
status: New → Triaged
Revision history for this message
John Garbutt (johngarbutt) wrote :

going for low, it doesn't break the feature.

We need to look at what cases the kernel does not get tided up. Or if the code is failing in its attempt to tidy up

Changed in nova:
importance: Medium → Low
Revision history for this message
John Garbutt (johngarbutt) wrote :

It seems they are not cleaned up from the destination after live-migrates, but that isn't covered in exercises. Would be good to pin down if this is still happening.

Sean Dague (sdague)
Changed in nova:
status: Triaged → Confirmed
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/262661

Changed in nova:
assignee: nobody → John Hua (john-hua)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 0bb080ba042b4269474f3bd2f555762a8061004b
Author: John Hua <email address hidden>
Date: Thu Dec 31 13:27:55 2015 +0800

    xenapi: Image cache cannot be disabled

    Image cache should be able to be disabled by setting cache_images = none
    in nova.conf. Currently the condition judgment is wrong.

    Change-Id: I5ebff2c1f7534b06233a4d41d7f5f2e5e3b60b5a
    Closes-Bug: #1161471

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/nova 14.0.0.0b1

This issue was fixed in the openstack/nova 14.0.0.0b1 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.