[Bug 919681] New: unable to create lxc container on an lvm
http://bugzilla.opensuse.org/show_bug.cgi?id=919681 Bug ID: 919681 Summary: unable to create lxc container on an lvm Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: aotto1968@t-online.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537.36 Build Identifier: lxc-create -n sicher -t opensuse -B lvm --lvname lxc_sicher --vgname lxc --fstype btrfs --fssize 20G File descriptor 3 (/var/lib/lxc/sicher/partial) leaked on lvcreate invocation. Parent PID 10921: lxc-create lxc_container: Error creating filesystem type btrfs on /dev/lxc/lxc_sicher lxc_container: Failed to create backing store type lvm lxc_container: Error creating backing store type lvm for sicher lxc_container: Error creating container sicher Reproducible: Always Steps to Reproduce: 1. run command: lxc-create -n sicher -t opensuse -B lvm --lvname lxc_sicher --vgname lxc --fstype btrfs --fssize 20G Actual Results: the new device is created: # ls -al /dev/lxc/ insgesamt 0 drwxr-xr-x 2 root root 100 26. Feb 11:23 . drwxr-xr-x 22 root root 4460 26. Feb 11:23 .. lrwxrwxrwx 1 root root 8 26. Feb 11:23 lxc_sicher -> ../dm-13 but thurther actions not Expected Results: the lxc should be available -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=919681 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aotto1968@t-online.de, | |bwiedemann@suse.com, | |jslaby@suse.com Assignee|bnc-team-screening@forge.pr |tbehrens@suse.com |ovo.novell.com | Flags| |needinfo?(aotto1968@t-onlin | |e.de) --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> --- I think, the LVM is not the problem, but
lxc_container: Error creating filesystem type btrfs on /dev/lxc/lxc_sicher
I got it working here with your line. Do you have the btrfsprogs package installed? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=919681 --- Comment #2 from Andreas Otto <aotto1968@t-online.de> --- Hi additional info. 1) I can create LVM volumes using YAST 2) I never can create LVM volumes using lcx-create 3) last suse release I had no problems. xx:~ # lxc-create -n test3 -t opensuse -B lvm --lvname lxc_test3 --vgname lxc --fstype btrfs --fssize 20G --logpriority=DEBUG File descriptor 3 (/var/lib/lxc/test3/partial) leaked on lvcreate invocation. Parent PID 7185: lxc-create lxc_container: Error creating filesystem type btrfs on /dev/lxc/lxc_test3 lxc_container: Failed to create backing store type lvm lxc_container: Error creating backing store type lvm for test3 lxc_container: Error creating container test3 xx:~ # ls -al /dev/lxc/lxc_test3 lrwxrwxrwx 1 root root 8 Feb 27 13:30 /dev/lxc/lxc_test3 -> ../dm-14 other error... I discovered later on create an normal lxc container fails too, because I was unable to restart the "lxc-create" if package download fails -> always I had at least one "no route to host" error and i should have to do an "redo" - but with automatic installation there is no "redo" -> HINT !! - the "round robin" configuration of you loadbalancer in front of your package storage may be wrong. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The restart fails with an error in -> /usr/share/lxc/templates/lxc-opensuse during the "zypper ar" code zypper --quiet --root $cache/partial-$arch-packages --non-interactive ar http://download.opensuse.org/distribution/$DISTRO/repo/oss/ repo-oss || return 1 zypper --quiet --root $cache/partial-$arch-packages --non-interactive ar http://download.opensuse.org/update/$DISTRO/ update || return 1 -> If the REPO is already there -> the "zypper ar" fails -> so I delete the "|| return 1" stuff than i get an error message but the code continue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=919681 --- Comment #3 from Andreas Otto <aotto1968@t-online.de> --- # rpm -qa | grep btrfsprogs btrfsprogs-3.16.2-4.1.x86_64 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=919681 --- Comment #4 from Andreas Otto <aotto1968@t-online.de> --- it fails with ext4 as well # lxc-create -n test3 -t opensuse -B lvm --lvname lxc_test3 --vgname lxc --fstype ext4 --fssize 20G --logpriority=DEBUG File descriptor 3 (/var/lib/lxc/test3/partial) leaked on lvcreate invocation. Parent PID 7260: lxc-create lxc_container: Error creating filesystem type ext4 on /dev/lxc/lxc_test3 lxc_container: Failed to create backing store type lvm lxc_container: Error creating backing store type lvm for test3 lxc_container: Error creating container test3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=919681 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla_opensuse@ojkastl.d | |e Flags|needinfo?(aotto1968@t-onlin | |e.de) | --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> --- would still be useful to find out why it works for me but fails for you... leaving the further debugging to the maintainers -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=919681 http://bugzilla.opensuse.org/show_bug.cgi?id=919681#c10 Dmitry Gribenchuk <dmitrygribenchuk@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitrygribenchuk@gmail.com --- Comment #10 from Dmitry Gribenchuk <dmitrygribenchuk@gmail.com> --- Hi! I have the same issue with xfs file system -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com