<div dir="ltr">hi,<div><br></div><div>i am using libvirt-1.2.0 which is installed from source. Which i am using to launch instance on xen.</div><div><br></div><div>its working fine when i am launching vm from the root user. But i am entered as another user means its throwing the error.</div>
<div><br></div><div>And libvirt is working fine in that user except the creating vm: Please refer the following things:</div><div><br></div><div><div>eucalyptus@cooldharma06:/opt/i-47FD0798$ virsh -c xen:///</div><div>WARNING: gnome-keyring:: couldn't connect to: /home/dharmalingams/.cache/keyring-r004e7/pkcs11: Permission denied</div>
<div>Welcome to virsh, the virtualization interactive terminal.</div><div><br></div><div>Type:  'help' for help with commands</div><div>       'quit' to quit</div><div><br></div><div>virsh # version</div><div>
Compiled against library: libvirt 1.2.0</div><div>Using library: libvirt 1.2.0</div><div>Using API: Xen 1.2.0</div><div>Running hypervisor: Xen 4.3.0</div><div><br></div><div>virsh # list</div><div> Id    Name                           State</div>
<div>----------------------------------------------------</div><div><br></div><div><b>virsh # create libvirt_sec.xml </b></div><div><b>error: Failed to create domain from libvirt_sec.xml</b></div><div><b>error: access denied</b></div>
</div><div><br></div><div>From the libvirtd.log:</div><div><br></div><div><div>2014-01-31 09:46:16.329+0000: 27937: error : virAccessDriverPolkitCheck:176 : access denied: Policy kit denied action org.libvirt.api.domain.write from 28281,1877379: exit status 1</div>
<div>2014-01-31 09:46:16.329+0000: 27937: error : virAccessManagerSanitizeError:203 : access denied</div><div>2014-01-31 09:46:16.329+0000: 27937: error : virAccessManagerSanitizeError:203 : access denied</div></div><div>
<br></div><div><br></div><div>Suggest me some solution to solve this one.</div><div><br></div><div><br></div><div>Thanks & Regards,</div><div>cooldharma06.</div><div><br></div></div>