[Bug 1510511] Re: machinectl pull-raw fails: No space left on device

Philip Freeman 1510511 at bugs.launchpad.net
Wed Dec 4 00:20:42 UTC 2019


marble at bravo:~$ sudo machinectl pull-tar https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz
Enqueued transfer job 1. Press C-c to continue download in background.
Pulling 'https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz', saving as 'trusty-server-cloudimg-amd64-root'.
Downloading 186.4M for https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz.
Downloading 253B for https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.nspawn.
HTTP request to https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.nspawn failed with code 404.
Settings file could not be retrieved, proceeding without.
Downloading 260B for https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz.sha256.
Downloading 836B for https://cloud-images.ubuntu.com/trusty/current/SHA256SUMS.gpg.
Download of https://cloud-images.ubuntu.com/trusty/current/SHA256SUMS.gpg complete.
Set up default quota hierarchy for /var/lib/machines/.#tarb32b45621ce56d91.
Downloading 3.0K for https://cloud-images.ubuntu.com/trusty/current/SHA256SUMS.
Download of https://cloud-images.ubuntu.com/trusty/current/SHA256SUMS complete.
Got 1% of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz. 5min 33s left at 566.3K/s.
Got 2% of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz. 3min 52s left at 804.6K/s.
Got 3% of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz. 3min 21s left at 920.3K/s.
Got 4% of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz. 3min 9s left at 969.1K/s.
Got 5% of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz. 2min 57s left at 1021.9K/s.
Got 6% of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz. 2min 49s left at 1.0M/s.
Got 7% of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz. 2min 48s left at 1.0M/s.
<SNIP>
Got 51% of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz. 1min 54s left at 814.3K/s.
tar: usr/share/ca-certificates/mozilla/Staat_der_Nederlanden_Root_CA_-_G2.crt: Cannot open: No space left on device
tar: usr/share/ca-certificates/mozilla/OpenTrust_Root_CA_G2.crt: Cannot open: No space left on device
tar: usr/share/ca-certificates/mozilla/CA_Disig_Root_R1.crt: Cannot open: No space left on device
tar: usr/share/ca-certificates/mozilla/AddTrust_Public_Services_Root.crt: Cannot open: No space left on device
<SNIP>

marble at bravo:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  1.4M  3.2G   1% /run
/dev/sda2       439G   11G  406G   3% /
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/loop0       89M   89M     0 100% /snap/core/7270
/dev/sda1       511M  6.1M  505M   2% /boot/efi
tmpfs           3.2G     0  3.2G   0% /run/user/1000
/dev/loop1      500M  335M  130M  73% /var/lib/machines
marble at bravo:~$ sudo ls -la /var/lib/machine*
-rw------- 1 root root 524288000 Dec  4 00:20 /var/lib/machines.raw

/var/lib/machines:
total 24
drwx------  1 root root   94 Dec  4 00:16 .
drwxr-xr-x 37 root root 4096 Dec  4 00:02 ..
-rw-r--r--  1 root root  253 Dec  4 00:16 .#settings280eb06251545046
drwxr-xr-x  1 root root  152 Dec  4 00:19 .#tarb32b45621ce56d91

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1510511

Title:
  machinectl pull-raw fails: No space left on device

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  $ machinectl pull-raw https://cloud-images.ubuntu.com/trusty/current
  /trusty-server-cloudimg-amd64-disk1.img

  fails to expand /var/lib/machines.raw or /var/lib/machines, and thus
  fails to complete:

  SHA256 checksum of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img is valid.
  gpg: Signature made Wed 21 Oct 2015 16:06:28 BST using RSA key ID 7DB87C81
  gpg: Good signature from "UEC Image Automatic Signing Key <cdimage at ubuntu.com>" [unknown]
  gpg: WARNING: Using untrusted key!
  Signature verification succeeded.
  Unpacking QCOW2 file.
  Failed to convert qcow2 image: No space left on device
  Exiting.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1510511/+subscriptions



More information about the foundations-bugs mailing list