Public bug reported:

$ adt-buildvm-ubuntu-cloud -r wily
WARNING: python-distro-info not installed, falling back to determining default 
release from currently installed release
Downloading 
http://cloud-images.ubuntu.com/wily/current/wily-server-cloudimg-amd64-disk1.img...
285.0/286.5 MB (100%)                 
Download successful.
Resizing image, adding 4G...
Image resized.
Building seed image...
Traceback (most recent call last):
  File "/usr/bin/adt-buildvm-ubuntu-cloud", line 325, in <module>
    args.metadata, args.userdata, args.post_command)
  File "/usr/bin/adt-buildvm-ubuntu-cloud", line 249, in build_seed
    cwd=workdir)
  File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.4/subprocess.py", line 1459, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'genisoimage'

Similar to bug 1460066, it would be nice if I discovered this before
downloading the image, or the downloaded image were cached so I didn't
have to download it again.

Second, on retry I get:

Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
qemu failed with status 1

...because I didn't belong to the kvm group.

My workflow often involves running autopkgtest on a fresh VM, so I hit
these kinds of things often. Maybe a image download cache is the only
real solution that will work, rather than trying to manage each thing
individually?

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: autopkgtest 3.14.3
ProcVersionSignature: User Name 3.19.0-20.20-generic 3.19.8
Uname: Linux 3.19.0-20-generic x86_64
ApportVersion: 2.17.3-0ubuntu4
Architecture: amd64
Date: Thu Jun 18 12:26:51 2015
Ec2AMI: ami-00000413
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.large
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitecture: all
SourcePackage: autopkgtest
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images wily

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

Title:
  Various usability issues with adt-buildvm-ubuntu-cloud

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to