Mailinglist Archive: opensuse-bugs (4775 mails)

< Previous Next >
[Bug 1049226] New: spurious 'No space left on device' on LXCs created by machinectl
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 18 Jul 2017 17:46:55 +0000
  • Message-id: <bug-1049226-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1049226


Bug ID: 1049226
Summary: spurious 'No space left on device' on LXCs created by
machinectl
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.2
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: markos.chandras@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Created attachment 732805
--> http://bugzilla.opensuse.org/attachment.cgi?id=732805&action=edit
reproducer

Hi,

From time to time, when trying to use 'machinectl' to create an LXC container,
I get 'No space left on device' errors. The filesytem has plenty of disk space,
and so does the /var/lib/images subvolume. I am not sure if this is a
systemd-machined issue or a btrfs one so feel free to adjust component and
title if necessary.

vagrant@vagrant-openSUSE-Leap:~> sudo btrfs fi show
Label: none uuid: e433f7ff-86be-4a03-9aea-6316f9124243
Total devices 1 FS bytes used 3.91GiB
devid 1 size 38.54GiB used 4.88GiB path /dev/sda2

vagrant@vagrant-openSUSE-Leap:~> sudo btrfs fi df -h /var/lib/machines/
Data, single: total=4.01GiB, used=3.76GiB
System, DUP: total=64.00MiB, used=16.00KiB
Metadata, DUP: total=384.00MiB, used=150.72MiB
GlobalReserve, single: total=16.00MiB, used=0.00B

I have attached a script which can reproduce the problem. It usually happens
when you provision a Leap 42.2 machine using vagrant

So in order to reproduce just do

vagrant init opensuse/openSUSE-42.2-x86_64
vagrant up
vagrant ssh
cd /vagrant
./foo.sh

The following error should happen after 2-3 attempts

==> opensuse422: (113/343) Installing: perl-5.18.2-5.6.x86_64 [.
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: .
==> opensuse422: error]
==> opensuse422: Abort, retry, ignore? [a/r/i] (a): a
==> opensuse422: Installation of perl-5.18.2-5.6.x86_64 failed:
==> opensuse422: Error: Subprocess failed. Error: RPM failed: error: unpacking
of archive failed on file
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/linux/dv
b/dmx.ph: cpio: rename failed - No space left on device
==> opensuse422: error: perl-5.18.2-5.6.x86_64: install failed
==> opensuse422: Warning: %posttrans scripts skipped while aborting:
==> opensuse422: cronie-1.4.11-58.25.x86_64.rpm
==> opensuse422: Problem occurred during or after installation or removal of
packages:
==> opensuse422: Installation aborted by user
==> opensuse422:
==> opensuse422: Please see the above error message for a hint.

Let me know if you need me to provide more information.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
This Thread
  • No further messages