Ask Your Question

Access denied to /sys/hypervisor/uuid

asked 2012-11-16 23:09:39 -0500

chrislgrigg gravatar image

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.

Any help?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2012-11-17 00:09:30 -0500

mnaser gravatar image

Just ran into this (funny you wrote this an hour ago). It doesn't really seem related to OpenStack, maybe a Kernel issue?

I solved it by fully shutting down the VM running nova-compute and then starting it again (reboot didn't work). Might be related to reboots, but a full shutdown and start up definitely fixes it.

I'd be interested to see why it's doing that now...

edit flag offensive delete link more

answered 2012-11-20 15:48:05 -0500

johngarbutt gravatar image

Turns out you hit this bug if you reboot the VM from inside or outside. If you shutdown and restart then you don't get the issue.

This should be raised against the Ubuntu package I guess, but looks a lot like a PV ops kernel issue (probably on the guest side). I will try look into this for you. (

edit flag offensive delete link more

answered 2013-03-07 22:27:41 -0500

there is a workaround to get the UUID until the bug is fixed in XAPI:

root@ubuntulucidlynx1004:~# xenstore-read domid 2 root@ubuntulucidlynx1004:~# xenstore-read /local/domain/2/vm /vm/6fddd486-b376-647d-d7d4-9acf0e164722

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-11-16 23:09:39 -0500

Seen: 484 times

Last updated: Mar 07 '13