[Bug 612082] Re: optparser attribute missing in cli.py (warning-message-printing fail when --part is given a nonexistent file)
Barry Warsaw
612082 at bugs.launchpad.net
Thu Oct 27 20:54:07 UTC 2011
On further reflection, I think the patch is safe to upload to Precise,
and I will do this. I'm not entirely convinced the bug meets the SRU
guidelines for Lucid
https://wiki.ubuntu.com/StableReleaseUpdates
so I won't prepare an SRU for it. I have however uploaded vm-
builder_0.12.4-0ubuntu0.3~ppa0 to my PPA so you should be able to grab
it from there and at least test it to make sure it fixes your problem.
If you think an SRU is warranted, please review the guidelines above and
file a separate bug for that.
Thanks again for your contribution to Ubuntu!
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/612082
Title:
optparser attribute missing in cli.py (warning-message-printing fail
when --part is given a nonexistent file)
Status in Virtual Machine Builder:
New
Status in “vm-builder” package in Ubuntu:
Fix Released
Bug description:
Running vmbuilder (python-vm-builder v0.12.3-0ubuntu1) in Lucid I get
the following output resulting in an Attribute error
administrator at server-base:/vm/server$ sudo vmbuilder kvm ubuntu --arch=i386 --suite=lucid --flavour=virtual --libvirt=qemu:///system ip=192.168.2.101 --part=vmbuilder.partition --templates=mytemplates --user=administrator --name=Administrator pass=password --addpkg openssh-server --mem=512 hostname=server --bridge=br0
2010-07-31 16:49:28,283 INFO : Calling hook: preflight_check
2010-07-31 16:49:28,286 INFO : Calling hook: set_defaults
2010-07-31 16:49:28,287 INFO : Calling hook: bootstrap
2010-07-31 16:54:13,482 INFO : Calling hook: configure_os
2010-07-31 16:54:34,376 INFO : update-alternatives: error: no alternatives for rsh.
2010-07-31 16:54:34,461 INFO : update-alternatives: error: no alternatives for rlogin.
2010-07-31 16:54:34,547 INFO : update-alternatives: error: no alternatives for rcp.
2010-07-31 16:54:35,324 INFO : Creating SSH2 RSA key; this may take some time ...
2010-07-31 16:54:36,286 INFO : Creating SSH2 DSA key; this may take some time ...
2010-07-31 16:54:36,403 INFO :
2010-07-31 16:54:36,403 INFO : Warning: Fake initctl called, doing nothing
2010-07-31 16:54:36,404 INFO :
2010-07-31 16:54:36,405 INFO : Warning: Fake initctl called, doing nothing
2010-07-31 16:54:37,808 INFO :
2010-07-31 16:54:37,808 INFO : Current default time zone: 'Etc/UTC'
2010-07-31 16:54:37,811 INFO : Local time is now: Sat Jul 31 15:54:37 UTC 2010.
2010-07-31 16:54:37,812 INFO : Universal Time is now: Sat Jul 31 15:54:37 UTC 2010.
2010-07-31 16:54:37,812 INFO :
2010-07-31 16:55:07,479 INFO :
2010-07-31 16:55:07,479 INFO : Current default time zone: 'Etc/UTC'
2010-07-31 16:55:07,482 INFO : Local time is now: Sat Jul 31 15:55:07 UTC 2010.
2010-07-31 16:55:07,482 INFO : Universal Time is now: Sat Jul 31 15:55:07 UTC 2010.
2010-07-31 16:55:07,482 INFO : Run 'dpkg-reconfigure tzdata' if you wish to change it.
2010-07-31 16:55:07,483 INFO :
2010-07-31 16:55:12,919 INFO : Calling hook: post_install
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 24, in <module>
cli.main()
File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 115, in main
self.set_disk_layout(hypervisor)
File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 250, in set_disk_layout
hypervisor.optparser.error("%s parsing --part option: %s" % (errno, strerror))
AttributeError: 'KVM' object has no attribute 'optparser'
To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/612082/+subscriptions
More information about the Ubuntu-sponsors
mailing list