Bug 1052014
Summary: | guest fail to start with permission denied error when with gluster volume | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Shanzhi Yu <shyu> | |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> | |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.6 | CC: | acathrow, bili, chhu, dyuan, mazhang, mzhan, scohen, shyu, vbellur, zpeng | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1052114 (view as bug list) | Environment: | ||
Last Closed: | 2014-04-04 21:26:53 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1052114 | |||
Bug Blocks: |
Description
Shanzhi Yu
2014-01-13 06:19:47 UTC
there are two workaround to make it work 1)login to glusterfs server and change owner and group of disk(created from gluster client,here is rhel6.4-qcow2.img) to qemu:qemu 2)login to gluster server and change permission of disk to 666(the default is 600) sorry for forgot third workaround 3)configure user = "root" and group = "root" in /etc/libvirt/qemu.conf on gluster client, restart libvirt. guest will start without any error. Can you please also attach the gluster server and client logs to this? The issue is that libvirt isn't chowning/chmoding the files before starting qemu that will use them. Gluster is performing okay in this case. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |