天天看点

vdsm user and kvm group 不能访问glusterfs

[ ERROR ] Cannot access storage connection 192.168.184.14:/Govirt: permission settings on the specified storage do not allow access to the storage to vdsm user and kvm group. Verify permission settings on the specified storage or specify another location

执行下面的设置

gluster volume set Govirt cluster.quorum-type auto

gluster volume set Govirt network.ping-timeout 10

gluster volume set Govirt auth.allow \*

gluster volume set Govirt group virt

gluster volume set Govirt storage.owner-uid 36

gluster volume set Govirt storage.owner-gid 36

gluster volume set Govirt server.allow-insecure on

解决 :

          --== STORAGE CONFIGURATION ==--

          During customization use CTRL-D to abort.

          Please specify the storage you would like to use (glusterfs, iscsi, fc, nfs3, nfs4)[nfs3]: glusterfs

[ INFO  ] Please note that Replica 3 support is required for the shared storage.

          Please specify the full shared storage connection path to use (example: host:/path): 192.168.184.18:/GO

[ INFO  ] GlusterFS replica 3 Volume detected

[ INFO  ] Installing on first host