issues accessing /sys/hypervisor/uuid when rebooting VM
Bug #1081182 reported by
John Garbutt
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xen-api (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Reported as openstack question:
https:/
Looks like you get "access denided" on /sys/hypervisor
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
To post a comment you must log in.
Further investigation, first the type will always work because it just returns a string with zero processing.
http:// kernel. ubuntu. com/git? p=ubuntu/ ubuntu- precise. git;a=blob; f=drivers/ xen/sys- hypervisor. c;h=1e0fe01eb67 05dee98acd115be 1ab781cdabbc10; hb=ba6c2f688e25 5a1f52f2930ae9e 6d62ede804289# l37
When comparing this to upstream, there seems to be a much newer way of getting that information (and if it fails, fallback). Maybe because it's a bit problematic when using the most recent release of Xen to use the older method?
https:/ /github. com/torvalds/ linux/commit/ 5c13f8067745efc 15f6ad0158b58d5 7c44104c25
This commit added a new hypercall of getting it with a fallback to the original, I would speculate that if that's added, it'll work in all scenarios.