vmbuilder xen ubuntu completely borked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
Fix Released
|
High
|
Soren Hansen | ||
vm-builder (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
When attempting to build an ubuntu image for xen, the script fails with python interpretation errors.
vmbuilder xen ubuntu --help results in the following stack trace:
Traceback (most recent call last):
File "/usr/bin/
cli.main()
File "/usr/lib/
hypervisor, distro = self.handle_
File "/usr/lib/
hypervisor = VMBuilder.
File "/usr/lib/
super(
File "/usr/lib/
super(Context, self)._
File "/usr/lib/
self.
File "/usr/lib/
group.
AttributeError: 'SettingGroup' object has no attribute 'add_option'
Investigation into this issue reveals that the developer likely intended to call the method 'add_setting' in the object SettingGroup. However, fixing this error only results in another one:
Traceback (most recent call last):
File "/usr/bin/
cli.main()
File "/usr/lib/
hypervisor, distro = self.handle_
File "/usr/lib/
hypervisor = VMBuilder.
File "/usr/lib/
super(
File "/usr/lib/
super(Context, self)._
File "/usr/lib/
self.
File "/usr/lib/
self.
AttributeError: 'Xen' object has no attribute 'register_
Changed in vmbuilder: | |
status: | New → Confirmed |
assignee: | nobody → Soren Hansen (soren) |
importance: | Undecided → High |
milestone: | none → 0.12.3 |
affects: | ubuntu → vm-builder (Ubuntu) |
Changed in vm-builder (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in vmbuilder: | |
status: | Confirmed → Fix Committed |
Changed in vm-builder (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in vmbuilder: | |
status: | Fix Committed → Fix Released |
I've worked on some of this already. I'm submitting a patch which resolves the issue for me.