Public bug reported:

When I run "vmbuilder --ec2 ..." on the latest code from this branch:

  https://code.launchpad.net/~nijaba/vmbuilder/ec2exec

it fails with the following error.  Let me know if you need additional
information to reproduce.

[...]
2008-11-24 00:37:42,564 DEBUG    Processing triggers for libc6 ...
2008-11-24 00:37:42,567 DEBUG    ldconfig deferred processing now taking place
2008-11-24 00:37:43,545 DEBUG    Processing triggers for initramfs-tools ...
2008-11-24 00:37:43,580 INFO     grep: /proc/self/status: No such file or 
directory
2008-11-24 00:37:43,580 DEBUG    Unmounting volatile lrm filesystems
2008-11-24 00:37:43,581 DEBUG    Unpreventing daemons from starting
2008-11-24 00:37:43,581 INFO     Running ec2 postinstall
2008-11-24 00:37:43,587 DEBUG    Output from template 
'VMBuilder/plugins/ec2/templates/upstart.tmpl': # tty1 - getty
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/getty 38400 xvc0

2008-11-24 00:37:43,587 DEBUG    Oh, dear, an exception occurred
2008-11-24 00:37:43,587 INFO     Cleaning up
2008-11-24 00:37:43,587 DEBUG    Unmounting /tmp/vmbuilderyOuf3N/target/
2008-11-24 00:37:43,587 DEBUG    ['umount', '/tmp/vmbuilderyOuf3N/target/']
2008-11-24 00:37:43,667 DEBUG    ['rmdir', 'ubuntu-xen']
2008-11-24 00:37:43,672 DEBUG    ['rm', '-rf', '/tmp/vmbuilderyOuf3N']
Traceback (most recent call last):
  File "./vmbuilder", line 29, in <module>
    VMBuilder.run()
  File "/root/ec2exec/VMBuilder/__init__.py", line 66, in run
    frontend.run()
  File "/root/ec2exec/VMBuilder/plugins/cli/__init__.py", line 82, in run
    vm.create()
  File "/root/ec2exec/VMBuilder/vm.py", line 447, in create
    self.install()
  File "/root/ec2exec/VMBuilder/vm.py", line 388, in install
    self.call_hooks('post_install')
  File "/root/ec2exec/VMBuilder/vm.py", line 165, in call_hooks
    getattr(plugin, func)()
  File "/root/ec2exec/VMBuilder/plugins/ec2/__init__.py", line 102, in 
post_install
    self.run_in_target('passwd', '-l', self.vm.user)
  File "/root/ec2exec/VMBuilder/plugins/__init__.py", line 78, in run_in_target
    return run_cmd('chroot', self.destdir, *args, **kwargs)
AttributeError: 'EC2' object has no attribute 'destdir'

** Affects: vmbuilder
     Importance: Undecided
         Status: New

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: vm-builder (Ubuntu)
   Importance: Undecided
       Status: New

-- 
vmbuilder EC2: AttributeError: 'EC2' object has no attribute 'destdir'
https://bugs.launchpad.net/bugs/301487
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to