$ sudo maas-import-ephemerals -v
precise/amd64: updating [maas-precise-12.04-amd64-ephemeral-20121008]
downloading maas-precise-12.04-amd64-ephemeral-20121008 from https://maas.ubuntu.com/images/ephemeral/releases/precise/release-20121008/precise-ephemeral-maas-amd64.tar.gz
..
254976K ........ ........ ........ ........ ........ ........ 97% 5.42M 1s
258048K ........ ........ ........ ........ ........ ........ 98% 5.39M 1s
261120K ........ ........ ........ ........ ........ ........ 99% 5.38M 0s
264192K ........ ........ ........ .. 100% 4.57M=49s
2012-11-02 12:38:40 (5.29 MB/s) - `/var/lib/maas/ephemeral/.working/maas-import-ephemerals.hs9UWS/precise/amd64/dist.tar.gz' saved [272250525/272250525]
extracting tarball
adding images for precise/amd64/generic to maas
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
Command:
tgtadm -C 0 --lld iscsi --op new --mode target --tid 1 -T iqn.2004-05.com.ubuntu:maas:maas-precise-12.04-amd64-ephemeral-20121008
exited with code: 107.
tgtadm: can't send the request to the tgt daemon, Transport endpoint is not connected
failed tgt-admin add for maas-precise-12.04-amd64-ephemeral-20121008
This is bad, and it throws away the downloaded content.
This needs better handling one way or another.
Do you know why tgt wasn't running? Is /that/ a bug too, or had you simply stopped it?