[U-co] Problema vmbuilder

Andres Mujica amujicaz en gmail.com
Mie Ago 15 03:19:29 UTC 2012


Y si le agrega --removepkg=cron al vmbuilder cuando lo invoca?  Lo otro es
k no use la ñ en el passwd (si es k lo esta haciendo)
On Aug 13, 2012 9:04 AM, "Hollman Enciso R." <hollman.enciso en gmail.com>
wrote:

> Hola *
>
> estoy tratando de crear una maquina virtual con vmbuilder, he intentado de
> varias formas encontradas en el google pero siempre me saca un error,
> buscando en el LP veo que esta como un bug confirmado pero sin resolver,
> aplique una solución dada en los comentarios pero a mi no me funcionó :(
> "osea no es una solución" alguien sabe a que se debe este error, que podria
> hacer ??
>
> como nota lo he intentado hacer desde ubuntu 10.04, 11.10 y 12.04
>
> Si alguien me da una luz se lo agradezco ;)
>
> les dejo el comando completo con el proceso
>
> root en nexus:/home/hollman# vmbuilder kvm ubuntu --suite=lucid
> --flavour=virtual --arch=i386
> --mirror=http://de.archive.ubuntu.com/ubuntu-o
> --libvirt=qemu:///system --part=vmbuilder.partition --user=hollman
> --pass=acavalacontraseña --mem=512 --hostname vmnexus
> 2012-08-12 18:54:45,951 INFO    : Calling hook: preflight_check
> 2012-08-12 18:54:45,980 INFO    : Calling hook: set_defaults
> 2012-08-12 18:54:45,981 INFO    : Calling hook: bootstrap
> 2012-08-12 19:14:39,903 INFO    : Calling hook: configure_os
> 2012-08-12 19:15:15,040 INFO    :
> 2012-08-12 19:15:15,042 INFO    : Current default time zone: 'Etc/UTC'
> 2012-08-12 19:15:15,048 INFO    : Local time is now:      Mon Aug 13
> 00:15:15 UTC 2012.
> 2012-08-12 19:15:15,049 INFO    : Universal Time is now:  Mon Aug 13
> 00:15:15 UTC 2012.
> 2012-08-12 19:15:15,049 INFO    :
> Extracting templates from packages: 100%
> 2012-08-12 19:17:28,991 INFO    :
> 2012-08-12 19:17:28,992 INFO    : Current default time zone: 'Etc/UTC'
> 2012-08-12 19:17:29,001 INFO    : Local time is now:      Mon Aug 13
> 00:17:28 UTC 2012.
> 2012-08-12 19:17:29,002 INFO    : Universal Time is now:  Mon Aug 13
> 00:17:28 UTC 2012.
> 2012-08-12 19:17:29,002 INFO    : Run 'dpkg-reconfigure tzdata' if you wish
> to change it.
> 2012-08-12 19:17:29,002 INFO    :
> 2012-08-12 19:18:32,623 INFO    : stop: Unknown instance:
> 2012-08-12 19:19:02,404 INFO    : Updating certificates in
> /etc/ssl/certs... WARNING: Skipping duplicate certificate brasil.gov.br.pem
> 2012-08-12 19:19:02,882 INFO    : 0 added, 1 removed; done.
> 2012-08-12 19:19:02,888 INFO    : Running hooks in
> /etc/ca-certificates/update.d....done.
> 2012-08-12 19:19:13,503 INFO    : restart: Unknown instance:
> 2012-08-12 19:19:14,596 INFO    : start: Unknown parameter: JOB
> 2012-08-12 19:19:21,311 INFO    : umount: /tmp/tmpj915Cm/dev: device is
> busy.
> 2012-08-12 19:19:21,312 INFO    :         (In some cases useful info about
> processes that use
> 2012-08-12 19:19:21,312 INFO    :          the device is found by lsof(8)
> or fuser(1))
> 2012-08-12 19:19:21,313 INFO    : Cleaning up
> 2012-08-12 19:19:21,313 ERROR   : Process (['umount',
> '/tmp/tmpj915Cm/dev']) returned 1. stdout: , stderr: umount:
> /tmp/tmpj915Cm/dev: device is busy.
>         (In some cases useful info about processes that use
>          the device is found by lsof(8) or fuser(1))
>
> Traceback (most recent call last):
>   File "/usr/bin/vmbuilder", line 24, in <module>
>     cli.main()
>   File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line
> 216, in main
>     distro.build_chroot()
>   File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 84, in
> build_chroot
>     self.call_hooks('configure_os')
>   File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in
> call_hooks
>     call_hooks(self, *args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in
> call_hooks
>     getattr(context, func, log_no_such_method)(*args, **kwargs)
>   File
> "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line
> 155, in configure_os
>     self.suite.unmount_dev()
>   File
> "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line
> 119, in unmount_dev
>     run_cmd('umount', '%s/dev' % self.context.chroot_dir)
>   File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 120, in
> run_cmd
>     raise VMBuilderException, "Process (%s) returned %d. stdout: %s,
> stderr: %s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
> VMBuilder.exception.VMBuilderException: Process (['umount',
> '/tmp/tmpj915Cm/dev']) returned 1. stdout: , stderr: umount:
> /tmp/tmpj915Cm/dev: device is busy.
>         (In some cases useful info about processes that use
>          the device is found by lsof(8) or fuser(1))
>
> --
> Hollman Eduardo Enciso R.
> http://www.hollmanenciso.com/
> twitter/identi.ca @hollman
> --
> Al escribir recuerde observar la etiqueta (normas) de esta lista:
> http://goo.gl/Pu0ke
> Para cambiar su inscripción, vaya a "Cambio de opciones" en
> http://goo.gl/Nevnx
>



Más información sobre la lista de distribución Ubuntu-co