XenAPI depends on /sys/hypervisor/uuid - not readable across reboot

Bug #1157211 reported by Bob Ball
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Bob Ball

Bug Description

Folsom in both Ubuntu 12.04 and 12.10 with XCP 1.6 beta 2.

I get access denied errors when I try to do anything with /sys/hypervisor/uuid and as a result, compute will not stat. I've spent all day researching and came up empty. It seems that the very first time I power on a new VM, I'm able to read it with cat. Once I reboot, no go. Checked permissions, running as su. I am completely stuck right now. I can access the type file that's in the same folder.

Tags: xenserver
Revision history for this message
Bob Ball (bob-ball) wrote :

See also external bug https://bugs.launchpad.net/ubuntu/+source/xen-api/+bug/1081182 - however this bug report is for working around the issue rather than fixing the underlying xen-api bug.

Changed in nova:
assignee: nobody → Bob Ball (bob-ball)
status: New → In Progress
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/24777

Mate Lakat (mate-lakat)
tags: added: xenserver
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/24777
Committed: http://github.com/openstack/nova/commit/90cda3512ae509d548bf2b4343ce0d8b8b9bfb43
Submitter: Jenkins
Branch: master

commit 90cda3512ae509d548bf2b4343ce0d8b8b9bfb43
Author: Bob Ball <email address hidden>
Date: Tue Mar 19 14:12:29 2013 +0000

    xenapi: Retrieve VM uuid from xenstore.

    Fall back to retrieving the uuid from xenstore if
    /sys/hypervisor/uuid isn't accessible.

    Change-Id: I409079068d3102ff86a71431b29c1ce2e6fe8857
    Fixes: bug #1157211

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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