← Back to team overview

touch-packages team mailing list archive

[Bug 1510511] Re: machinectl pull-raw fails

 

I tried that command (on current xenial, you didn't specify an Ubuntu
release/package version), and it works fine:

$ machinectl pull-raw https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
Download of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img complete.
SHA256 checksum of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img is valid.
gpg: Signatur vom Mi 28 Okt 2015 03:01:23 CET mittels RSA-Schlüssel ID 7DB87C81
gpg: Korrekte Signatur von "UEC Image Automatic Signing Key <cdimage@xxxxxxxxxx>" [unbekannt]
gpg: WARNUNG: Ein Schlüssel ohne gesichertes Vertrauen wird benutzt!
Signature verification succeeded.
Unpacking QCOW2 file.
Created new local image 'trusty-server-cloudimg-amd64-disk1'.
Operation completed successfully.
Exiting.

$ machinectl list-images
NAME                               TYPE RO  USAGE  CREATED MODIFIED                  
trusty-server-cloudimg-amd64-disk1 raw  no  815.5M n/a     Do 2015-10-29 14:23:43 CET

Actually trying to start the container fails due to

Okt 29 14:26:25 donald systemd[1]: Starting Container trusty-server-cloudimg-amd64-disk1...
Okt 29 14:26:25 donald systemd-nspawn[10918]: Failed to open /dev/loop-control: Operation not permitted
Okt 29 14:26:25 donald systemd[1]: systemd-nspawn@trusty\x2dserver\x2dcloudimg\x2damd64\x2ddisk1.service: Main process exited, code=exited, status=1/FAILURE

But that sounds like a separate problem.

> Failed to convert qcow2 image: No space left on device

That sounds like the actual cause for what you see? :-) Can you confirm
that it works with enough disk space?

** Changed in: systemd (Ubuntu)
       Status: New => Incomplete

** Summary changed:

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Incomplete

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@xxxxxxxxxx>" [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


References