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

Bug #1157211 reported by Bob Ball on 2013-03-19
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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.

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
Mate Lakat (mate-lakat) on 2013-03-19
tags: added: xenserver
Changed in nova:
importance: Undecided → Medium

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) on 2013-05-29
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in nova:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions