On 12/13/2011 09:46 AM, Matthew Booth wrote:
On 12/12/2011 09:28 PM, Greg Scott wrote:
> Trying to do a P2V; booted from the latest 0.8.5 CD and it immediately
> died. What in the world does this error mean?
>
> [root@Fedora16-64P2V log]# more virt-p2v-server.1323724282.log
> libguestfs: trace: close
> virt-v2v: Can't use string ("/tmp/9_NlkdocoV/f76c1443-10d8-49"...) as
> a HASH ref while "strict ref
> s" in use at
> /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line
> 80,<> line 5.
> [root@Fedora16-64P2V log]#
It means you found a bug :)
It looks like there's a bug which affects format/allocation conversions
in recent builds. Are you doing a format/allocation conversion with your
P2V? I.e. does your profile specify an allocation policy of sparse, or a
format of qcow2? The immediate workaround would be to not do that. The
bug is simple to fix. I'll try to do it today as the impact is pretty
severe.
virt-v2v-0.8.5-2 should hit updates-testing shortly. Please try again
with this new build. There's no need to rebuild your P2V image as it
hasn't changed.
Please add yourself to
https://bugzilla.redhat.com/show_bug.cgi?id=767197 if you want to follow
its progress through testing to stable. If you have a Fedora login, you
can help it reach stable faster by adding a WorksForMe comment to
https://admin.fedoraproject.org/updates/virt-v2v-0.8.5-2.fc16.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490