[Bug 859701] New: With default setup this is not possible to create persistent pool with virsh
https://bugzilla.novell.com/show_bug.cgi?id=859701 https://bugzilla.novell.com/show_bug.cgi?id=859701#c0 Summary: With default setup this is not possible to create persistent pool with virsh Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: achernikov@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Steps to reproduce: `sudo zypper in libvirt libvirt-devel qemu lzlib-devel libxslt-devel libxml2-devel` `sudo zypper in -f libvirt-daemon` because of https://bugzilla.novell.com/show_bug.cgi?id=859041 org.libvirt.unix.manage yes:yes:yes in the local privs on polkit pool.xml ```xml <pool type="dir"> <name>default</name> <target> <path>/var/lib/libvirt/images</path> <format type='qcow2' /> </target> </pool> ``` `virsh pool-define pool.xml && virsh pool-autostart default && virsh pool-start default` pool afterwards reported as persistent Name: default UUID: b4f7b74f-0738-4178-a3b7-0b0e9079ec37 State: running Persistent: yes Autostart: yes Capacity: 8.91 GiB Allocation: 1.52 GiB Available: 7.40 GiB but there is not file created at /etc/libvirt/storage drwx------ 4 root users 4096 Jan 21 10:22 . drwxr-xr-x 77 root root 4096 Jan 21 10:20 .. -rw-r--r-- 1 root root 518 Dec 23 14:05 libvirt.conf -rw-r--r-- 1 root root 13520 Jan 21 10:22 libvirtd.conf -rw-r--r-- 1 root root 1176 Dec 23 14:05 lxc.conf drwx------ 2 root root 4096 Jan 21 09:54 nwfilter drwx------ 3 root root 4096 Jan 21 09:54 qemu -rw-r--r-- 1 root root 2170 Dec 23 14:05 qemu-lockd.conf -rw-r--r-- 1 root root 15988 Dec 23 14:05 qemu.conf -rw-r--r-- 1 root root 2213 Dec 23 14:05 virtlockd.conf
From root anything is as expected.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859701 https://bugzilla.novell.com/show_bug.cgi?id=859701#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |jfehlig@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859701 https://bugzilla.novell.com/show_bug.cgi?id=859701#c1 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfehlig@suse.com AssignedTo|jfehlig@suse.com |bjzhang@suse.com QAContact|qa-bugs@suse.de |jdouglas@suse.com --- Comment #1 from James Fehlig <jfehlig@suse.com> 2014-02-25 02:29:14 UTC --- Bamvor, can you take a look at this bug? Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859701 https://bugzilla.novell.com/show_bug.cgi?id=859701#c2 bamvor jian zhang <bjzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |achernikov@suse.com --- Comment #2 from bamvor jian zhang <bjzhang@suse.com> 2014-06-26 09:29:11 UTC --- the configuration is located in /home/username/.config/libvirt/storage when you are not root. then you could try virsh vol-create to create a volume -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=859701 https://bugzilla.novell.com/show_bug.cgi?id=859701#c3 bamvor jian zhang <bjzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|achernikov@suse.com | Resolution| |INVALID --- Comment #3 from bamvor jian zhang <bjzhang@suse.com> 2014-07-23 02:50:56 UTC --- non-root user should check directory /home/@username/.config/libvirt/storage as pointed in comment #2, so it's not bug. Close it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com