Re: [Libguestfs] Virtio-win RPM?
Thanks Matt. What would happen if I installed that RHEL6 libguestfs-winsupport RPM with nodeps on my Fedora conversion server? - Greg -----Original Message----- From: Matthew Booth [mailto:mbooth@redhat.com] Sent: Tuesday, November 22, 2011 5:12 AM To: Greg Scott Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] Virtio-win RPM? On 22/11/11 10:03, Matthew Booth wrote:
On 22/11/11 05:33, Greg Scott wrote:
Also, how do I turn on that TRACE info with virt-p2v-server in case I need it? Those lines Matt said to uncomment do not exist in the copy from yum install virt-v2v.
Sorry about that, those lines from from upstream v2v. I was just about to do a new build with this code in, but I noticed we still have a libguestfs dependency issue to resolve. We should be able to get something testable out in a couple of days.
Please try this build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3531688 It's a scratch build, so it'll only be available for a few days before it's automatically deleted. You will also require libguestfs from updates-testing. You can download it manually from here: https://admin.fedoraproject.org/updates/FEDORA-2011-16166/libguestfs-1.1 4.2-1.fc16 The v2v package doesn't have any dependency which will require you to install the new libguestfs, but if you don't install it libguestfs will fail to launch immediately after the data transfer completes. Disclaimer: I don't have a system here I can easily test the above v2v package on, and it has received no testing whatsoever! It's also not really 0.8.4-1, which is why I've put a suffix on it. That said, I don't anticipate a problem. 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
I believe that in the end of this ... try & error process, we have to make clear the stable (or not) versions of related programs that actually work on RHEL6 (or even fedora 16) as a workaround for future references. Although i understand the rapidly development of tools & libs that are used in this process, meaning that some bugs or features can be dissolved only by the latest stable versions. Evaggelos Balaskas Unix System Engineer - http://ebalaskas.gr.
On Tue, Nov 22, 2011 at 01:36:17PM +0200, Evaggelos Balaskas wrote:
I believe that in the end of this ... try & error process, we have to make clear the stable (or not) versions of related programs that actually work on RHEL6 (or even fedora 16) as a workaround for future references.
The stable & supported versions are the ones in RHEL 6. The problem is that these stable versions have (fully known and characterized) bugs and limitations. For example in this case there is no P2V at all in RHEL yet -- it's scheduled for 6.3. That's why people are very helpfully testing the Fedora and upstream versions. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
I wholeheartedly agree. I would much prefer to sleep at night and do this with stable, shipping releases of software. Maybe in a few months . . . The good news is, there are customers willing to trust that we can make this happen with what is available right now. As long as I have some guidance, I'm willing to be on the bleeding edge for this one and then maybe the next P2V scenario will be easier for everyone. Also, please forgive me if I end up ranting a little bit in this thread. Lack of sleep. It will all be worth the trouble in the end. - Greg -----Original Message----- From: libguestfs-bounces@redhat.com [mailto:libguestfs-bounces@redhat.com] On Behalf Of Evaggelos Balaskas Sent: Tuesday, November 22, 2011 5:36 AM To: libguestfs@redhat.com Subject: Re: [Libguestfs] Virtio-win RPM? I believe that in the end of this ... try & error process, we have to make clear the stable (or not) versions of related programs that actually work on RHEL6 (or even fedora 16) as a workaround for future references. Although i understand the rapidly development of tools & libs that are used in this process, meaning that some bugs or features can be dissolved only by the latest stable versions. Evaggelos Balaskas Unix System Engineer - http://ebalaskas.gr. _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs
On Tue, Nov 22, 2011 at 05:22:14AM -0600, Greg Scott wrote:
Thanks Matt.
What would happen if I installed that RHEL6 libguestfs-winsupport RPM with nodeps on my Fedora conversion server?
You shouldn't do this, and there is no reason to do it. libguestfs in Fedora contains everything needed for Windows support in the base package. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
libguestfs in Fedora contains everything needed for Windows support in the base package.
Except that it doesn't. It's missing firstboot.bat and all the other stuff in /var/lib/virt-v2v/software/windows. The version in updates-testing that Matt wants me to try might have it, I haven't checked yet. - Greg
On Tue, Nov 22, 2011 at 07:01:54AM -0600, Greg Scott wrote:
libguestfs in Fedora contains everything needed for Windows support in the base package.
Except that it doesn't. It's missing firstboot.bat and all the other stuff in /var/lib/virt-v2v/software/windows. The version in updates-testing that Matt wants me to try might have it, I haven't checked yet.
Those are virt-v2v (missing) files. libguestfs is a separate library that virt-v2v uses. libguestfs-winsupport definitely does not have anything to do with the problem and you shouldn't install that package. In fact, please don't because it'll probably break things very badly! Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
Ah - OK. So the missing files must be in the virt-v2v-0.8.4-1.fc16.mbooth.x86_64.rpm Matt just put together. I'll go put it in, along with the fedora-testing libguestfs stuff and hopefully have some good news to report in a few hours. - Greg -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Tuesday, November 22, 2011 7:07 AM To: Greg Scott Cc: Matthew Booth; libguestfs@redhat.com Subject: Re: [Libguestfs] Virtio-win RPM? On Tue, Nov 22, 2011 at 07:01:54AM -0600, Greg Scott wrote:
libguestfs in Fedora contains everything needed for Windows support in the base package.
Except that it doesn't. It's missing firstboot.bat and all the other stuff in /var/lib/virt-v2v/software/windows. The version in updates-testing that Matt wants me to try might have it, I haven't checked yet.
Those are virt-v2v (missing) files. libguestfs is a separate library that virt-v2v uses. libguestfs-winsupport definitely does not have anything to do with the problem and you shouldn't install that package. In fact, please don't because it'll probably break things very badly! Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top
On 22/11/11 13:19, Greg Scott wrote:
Ah - OK. So the missing files must be in the virt-v2v-0.8.4-1.fc16.mbooth.x86_64.rpm Matt just put together. I'll go put it in, along with the fedora-testing libguestfs stuff and hopefully have some good news to report in a few hours.
No. The missing files can't be distributed with Fedora. You'll need to extract them manually from a V2V rpm from RHEL. 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
On Tue, Nov 22, 2011 at 01:46:45PM +0000, Matthew Booth wrote:
On 22/11/11 13:19, Greg Scott wrote:
Ah - OK. So the missing files must be in the virt-v2v-0.8.4-1.fc16.mbooth.x86_64.rpm Matt just put together. I'll go put it in, along with the fedora-testing libguestfs stuff and hopefully have some good news to report in a few hours.
No. The missing files can't be distributed with Fedora. You'll need to extract them manually from a V2V rpm from RHEL.
This includes firstboot.bat ..? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v
The missing files can't be distributed with Fedora.
The obvious question - why not? These are the missing files, right? [root@mgrhost software]# pwd /var/lib/virt-v2v/software [root@mgrhost software]# ls -al -R .: total 12 drwxr-xr-x. 3 root root 4096 Nov 22 10:39 . drwxr-xr-x. 3 root root 4096 Jun 23 05:53 .. drwxr-xr-x. 2 root root 4096 Jun 23 05:53 windows ./windows: total 4304 drwxr-xr-x. 2 root root 4096 Jun 23 05:53 . drwxr-xr-x. 3 root root 4096 Nov 22 10:39 .. -rw-r--r--. 1 root root 994 Feb 14 2011 firstboot.bat -rw-r--r--. 1 root root 4324584 Feb 14 2011 rhev-apt.exe -rw-r--r--. 1 root root 68928 Feb 14 2011 rhsrvany.exe [root@mgrhost software]# - Greg
We just did a successful Windows P2V using the various software pieces Matt and Richard set up. Fredy is running this VM in a RHEV environment as I type this. I'll start a new thread with a how-to recipe for anyone else that needs to do a Windows P2V. Note that the Fedora docs are wrong because they don't mention those v2v files that cannot be distributed with Fedora. What's up with those files that they can't be distributed with Fedora anyway? - Greg
On 22/11/11 16:47, Greg Scott wrote:
The missing files can't be distributed with Fedora.
The obvious question - why not?
-rw-r--r--. 1 root root 994 Feb 14 2011 firstboot.bat
This file should be included with virt-v2v in Fedora. It was omitted accidentally.
-rw-r--r--. 1 root root 4324584 Feb 14 2011 rhev-apt.exe
Unfortunately the license on this file doesn't permit us to distribute it with Fedora.
-rw-r--r--. 1 root root 68928 Feb 14 2011 rhsrvany.exe
Rich: isn't this GPL? Could we include rhsrvany.exe in Fedora? If we could distribute rhsrvany.exe, we could make the migration work in the absence of rhev-apt.exe. I think this would be a good solution for Fedora. 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
On Wed, Nov 23, 2011 at 09:30:04AM +0000, Matthew Booth wrote:
On 22/11/11 16:47, Greg Scott wrote:
The missing files can't be distributed with Fedora.
The obvious question - why not?
-rw-r--r--. 1 root root 994 Feb 14 2011 firstboot.bat
This file should be included with virt-v2v in Fedora. It was omitted accidentally.
-rw-r--r--. 1 root root 4324584 Feb 14 2011 rhev-apt.exe
Unfortunately the license on this file doesn't permit us to distribute it with Fedora.
-rw-r--r--. 1 root root 68928 Feb 14 2011 rhsrvany.exe
Rich: isn't this GPL? Could we include rhsrvany.exe in Fedora?
Yes, although I'm not sure what the latest state of the project is.
If we could distribute rhsrvany.exe, we could make the migration work in the absence of rhev-apt.exe. I think this would be a good solution for Fedora.
rhev-apt should be open sourced too. Not sure why it isn't ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
All I know is, from the field, if anyone tries a Windows P2V with Fedora and the packaging as it sits today, without following this thread, they will be in for a rude surprise. The Fedora docs are also wrong. I found a bugzilla report close to the problem. https://bugzilla.redhat.com/show_bug.cgi?id=624950 - Greg
participants (4)
-
Evaggelos Balaskas -
Greg Scott -
Matthew Booth -
Richard W.M. Jones