[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
I believe this bug is confirmed. I see that same thing as the original report and GeekSmith. I am building quantal on quantal. Hardware virtualization is enabled in my bios and is detected by vmware workstation. Also, the debug output from vmbuilder does not seem to be using any kind of virtualization. It is running kpartx. Building with the hypervisor set to vmserver works fine. ** Changed in: vmbuilder Status: Invalid = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
I get a similar error (see below the output that was left in my putty console by the time it failed). My hardware does support virtualization (see output below) Check for hardware support hypervisor@hypervisor:~$ sudo egrep '(vmx|svm)' --color=always /proc/cpuinfo [sudo] password for hypervisor: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid - Attempt to create virtual machine by running the following command (with sudo): vmbuilder kvm ubuntu \ --dest=/home/hypervisor/[path]\ --overwrite \ --mem=1024 \ --cpus=1 \ --rootsize=7168 \ --swapsize=1024 \ --addpkg=openssh-server \ --addpkg=vim \ --addpkg=cron \ --addpkg=acpid \ --addpkg=ubuntu-desktop \ --addpkg=xrdp \ --addpkg=nano \ --addpkg=firestarter \ --addpkg=build-essential \ --addpkg=cdbs \ --addpkg=debhelper \ --addpkg=python-setuptools \ --arch=amd64 \ --suite=precise \ --ip=[address] \ --mask=255.255.255.0 \ --bcast=192.168.0.255 \ --gw=[address] \ --flavour virtual \ --components main,universe,restricted \ --hostname [name]\ --user [user]\ --pass [pass]\ --libvirt qemu:///system \ --bridge=br0; - - Output - 2012-11-26 21:29:59,879 INFO: 2012-11-26 21:29:59,879 INFO: Warning: Fake initctl called, doing nothing 2012-11-26 21:29:59,880 INFO: 2012-11-26 21:29:59,880 INFO: Warning: Fake initctl called, doing nothing 2012-11-26 21:30:11,650 INFO: invoke-rc.d: policy-rc.d denied execution of force-reload. 2012-11-26 21:30:43,598 INFO: invoke-rc.d: policy-rc.d denied execution of start. 2012-11-26 21:30:49,146 INFO: invoke-rc.d: policy-rc.d denied execution of start. 2012-11-26 21:30:51,057 INFO: aspell-autobuildhash: processing: en [en-common] 2012-11-26 21:30:51,380 INFO: aspell-autobuildhash: processing: en [en-variant_0] 2012-11-26 21:30:51,386 INFO: aspell-autobuildhash: processing: en [en-variant_1] 2012-11-26 21:30:51,398 INFO: aspell-autobuildhash: processing: en [en-variant_2] 2012-11-26 21:30:51,409 INFO: aspell-autobuildhash: processing: en [en_CA-w_accents-only] 2012-11-26 21:30:51,423 INFO: aspell-autobuildhash: processing: en [en_CA-wo_accents-only] 2012-11-26 21:30:51,437 INFO: aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only] 2012-11-26 21:30:51,451 INFO: aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only] 2012-11-26 21:30:51,465 INFO: aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only] 2012-11-26 21:30:51,479 INFO: aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only] 2012-11-26 21:30:51,494 INFO: aspell-autobuildhash: processing: en [en_US-w_accents-only] 2012-11-26 21:30:51,507 INFO: aspell-autobuildhash: processing: en [en_US-wo_accents-only] 2012-11-26 21:31:57,488 INFO
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
Sorry - I've just realized why it wasn't working - I needed to switch on virtualization support in the BIOS (doh!) Thought it might help to let people know this could be the cause of the above issues (if you know that your CPU supports virtualization but are still having this issue) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
On my system, this seems to be unrelated to the hardware virtualisation availability. I can produce images for certain hypervisors without error (usually), but never for others. Please see attached files for output. I don't understand what part of the command is failing. I'd think that requesting a string length would be a pretty reliable operation, but I'm not a python wizard. ** Attachment added: Output from successful esxi build https://bugs.launchpad.net/vmbuilder/+bug/1019009/+attachment/3311087/+files/vmbvmware -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
Here's the failed vbox build, which I ran directly after the successful esxi build. I have tested esxi, vmw6, and kvm with success. Only vbox is failing at this point. ** Attachment added: Output from failed vbox build https://bugs.launchpad.net/vmbuilder/+bug/1019009/+attachment/3311088/+files/vmbvbox -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
This is in fact not a bug but obscure error thrown when the hardware virtualisation is not available. ** Changed in: vmbuilder Status: Confirmed = Invalid ** Changed in: ubuntu Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
** Changed in: vmbuilder Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
is there a workaround for this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1019009] Re: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__'
** Also affects: ubuntu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019009 Title: building precise on precise fails with TypeError: 'NoneType' object has no attribute '__getitem__' To manage notifications about this bug go to: https://bugs.launchpad.net/vmbuilder/+bug/1019009/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs