P2V using 2 physical machines - Fedora OS installed on both
Hi All, We have installed Fedora 21 on two physical machines (HP SL hardware) and generated the ISO using the "livecd-creator" on one of the machine (p2v server) We are unable to establish the connection between the two machines when we try to boot the first machine (p2v machine) using the ISO created ! Can you please share the sequence of steps which we need to follow when using two physical machines ? Screenshots might be helpful, if available. Do we need to try the RHEL 7.1 free version for testing this, if Fedora 21 is not supported ? Thanks. Praveen.
On Mon, Nov 02, 2015 at 07:24:42PM +0530, Praveen Tiwari wrote:
Hi All,
We have installed Fedora 21 on two physical machines (HP SL hardware) and generated the ISO using the "livecd-creator" on one of the machine (p2v server)
We are unable to establish the connection between the two machines when we try to boot the first machine (p2v machine) using the ISO created !
Can you please share the sequence of steps which we need to follow when using two physical machines ? Screenshots might be helpful, if available.
All the steps are covered in the manual: http://libguestfs.org/virt-p2v.1.html As it is simply making an ssh connection, you just need to check that ssh works. There is a console on the virt-p2v ISO, accessible using Alt+Ctrl+F2 (IIRC).
Do we need to try the RHEL 7.1 free version for testing this, if Fedora 21 is not supported ?
Either one should work. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Thanks for your time Richard. We are still unable to proceed :( Please find the steps which we followed. 1. Installed Fedora 21 on both the physical machines. (PHYSICAL HARDWARE 1 , 2 == PHY1, PHY2).The hardwares used are HP SL nodes which has Hardware RAID0 configured. 2. Installed following packages : yum install qemu libvirt-client virt-manager virt-viewer guestfish libguestfs-tools virt-top 3. On the First physical hardware (P2V Machine PHY1), we execute the following commands: virt-p2v-make-kickstart fedora livecd-creator p2v.ks 4 This creates the "livecd-p2v-2xxxxxx.iso which is copied outside of the PHY1 P2V server.(We copy it on desktop) 5. We boot the same first physical machine, PHY1 by attaching the ISO as Virtual CDROM device from the ILO console 6. We are able to see the Conversion Server' GUI login screen 7. After entering the credentials, we click on 'Test Connection' with Conversion Server details' (SSH is working fine for the Conversion server, PHY2 !) 'Next' button is never enabled !!! The error message says "End of File" Please guide us. Thanks and Regards, Praveen. On Tue, Nov 3, 2015 at 4:47 AM, Richard W.M. Jones <rjones@redhat.com> wrote:
On Mon, Nov 02, 2015 at 07:24:42PM +0530, Praveen Tiwari wrote:
Hi All,
We have installed Fedora 21 on two physical machines (HP SL hardware) and generated the ISO using the "livecd-creator" on one of the machine (p2v server)
We are unable to establish the connection between the two machines when we try to boot the first machine (p2v machine) using the ISO created !
Can you please share the sequence of steps which we need to follow when using two physical machines ? Screenshots might be helpful, if available.
All the steps are covered in the manual:
http://libguestfs.org/virt-p2v.1.html
As it is simply making an ssh connection, you just need to check that ssh works. There is a console on the virt-p2v ISO, accessible using Alt+Ctrl+F2 (IIRC).
Do we need to try the RHEL 7.1 free version for testing this, if Fedora 21 is not supported ?
Either one should work.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
On Tue, Nov 03, 2015 at 05:11:38PM +0530, Praveen Tiwari wrote:
Thanks for your time Richard.
We are still unable to proceed :( Please find the steps which we followed.
1. Installed Fedora 21 on both the physical machines. (PHYSICAL HARDWARE 1 , 2 == PHY1, PHY2).The hardwares used are HP SL nodes which has Hardware RAID0 configured. 2. Installed following packages : yum install qemu libvirt-client virt-manager virt-viewer guestfish libguestfs-tools virt-top 3. On the First physical hardware (P2V Machine PHY1), we execute the following commands: virt-p2v-make-kickstart fedora livecd-creator p2v.ks 4 This creates the "livecd-p2v-2xxxxxx.iso which is copied outside of the PHY1 P2V server.(We copy it on desktop) 5. We boot the same first physical machine, PHY1 by attaching the ISO as Virtual CDROM device from the ILO console 6. We are able to see the Conversion Server' GUI login screen 7. After entering the credentials, we click on 'Test Connection' with Conversion Server details' (SSH is working fine for the Conversion server, PHY2 !)
'Next' button is never enabled !!! The error message says "End of File"
It's all good up to step 6. Step 7 is a bug in virt-p2v, where it doesn't reveal the real error message (see BZ# that I previously posted). However you can try to diagnose the real problem: In the virt-p2v GUI, press Ctrl+Alt+F1. This should give you a root shell. If you need to log in, use root with the password p2v Then do: ssh root@name-of-v2v-conversion-server and fix any problem that may be stopping you from ssh-ing to the conversion server. Once you've fixed those, the 'test connection' button should work. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Thanks a lot for your awesome support Richard. "test connection" worked after we configured the necessary IP details but the "Conversion" ends with status as 1 with the below error message: (PFA of the complete logs stored on conversion server under "/tmp/virt-v2v-***" directory) /run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. : : Error: The device /dev/null is so small that it cannot possibly store a file system or partition table. Perhaps you selected the wrong device? Warning: Error fsyncing/closing /dev/null: Invalid argument parted -m -s -- /dev/sda unit b print : : Converting cattleprod to run on KVM virt-v2v: error: virt-v2v is unable to convert this guest type (linux/debian) Could you please help us as I think we are at the last stage. Appreciate your support. Thanks, Praveen. On Tue, Nov 3, 2015 at 5:26 AM, Richard W.M. Jones <rjones@redhat.com> wrote:
Thanks for your time Richard.
We are still unable to proceed :( Please find the steps which we followed.
1. Installed Fedora 21 on both the physical machines. (PHYSICAL HARDWARE 1 , 2 == PHY1, PHY2).The hardwares used are HP SL nodes which has Hardware RAID0 configured. 2. Installed following packages : yum install qemu libvirt-client virt-manager virt-viewer guestfish libguestfs-tools virt-top 3. On the First physical hardware (P2V Machine PHY1), we execute the following commands: virt-p2v-make-kickstart fedora livecd-creator p2v.ks 4 This creates the "livecd-p2v-2xxxxxx.iso which is copied outside of
On Tue, Nov 03, 2015 at 05:11:38PM +0530, Praveen Tiwari wrote: the
PHY1 P2V server.(We copy it on desktop) 5. We boot the same first physical machine, PHY1 by attaching the ISO as Virtual CDROM device from the ILO console 6. We are able to see the Conversion Server' GUI login screen 7. After entering the credentials, we click on 'Test Connection' with Conversion Server details' (SSH is working fine for the Conversion server, PHY2 !)
'Next' button is never enabled !!! The error message says "End of File"
It's all good up to step 6.
Step 7 is a bug in virt-p2v, where it doesn't reveal the real error message (see BZ# that I previously posted). However you can try to diagnose the real problem:
In the virt-p2v GUI, press Ctrl+Alt+F1.
This should give you a root shell. If you need to log in, use root with the password p2v
Then do:
ssh root@name-of-v2v-conversion-server
and fix any problem that may be stopping you from ssh-ing to the conversion server.
Once you've fixed those, the 'test connection' button should work.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Hello Richard, We are completely blocked with our trials :( Please find the latest set of logs attached. Also, please let us know, how to enable v2v debug logging ? Thanks, Praveen. On Tue, Nov 3, 2015 at 2:12 PM, Praveen Tiwari < praveentiwari.plywood@gmail.com> wrote:
Thanks a lot for your awesome support Richard.
"test connection" worked after we configured the necessary IP details but the "Conversion" ends with status as 1 with the below error message: (PFA of the complete logs stored on conversion server under "/tmp/virt-v2v-***" directory)
/run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad. Falling back to internal scanning. : : Error: The device /dev/null is so small that it cannot possibly store a file system or partition table. Perhaps you selected the wrong device? Warning: Error fsyncing/closing /dev/null: Invalid argument parted -m -s -- /dev/sda unit b print : :
Converting cattleprod to run on KVM
virt-v2v: error: virt-v2v is unable to convert this guest type
(linux/debian)
Could you please help us as I think we are at the last stage. Appreciate your support.
Thanks,
Praveen.
On Tue, Nov 3, 2015 at 5:26 AM, Richard W.M. Jones <rjones@redhat.com> wrote:
Thanks for your time Richard.
We are still unable to proceed :( Please find the steps which we followed.
1. Installed Fedora 21 on both the physical machines. (PHYSICAL HARDWARE 1 , 2 == PHY1, PHY2).The hardwares used are HP SL nodes which has Hardware RAID0 configured. 2. Installed following packages : yum install qemu libvirt-client virt-manager virt-viewer guestfish libguestfs-tools virt-top 3. On the First physical hardware (P2V Machine PHY1), we execute the following commands: virt-p2v-make-kickstart fedora livecd-creator p2v.ks 4 This creates the "livecd-p2v-2xxxxxx.iso which is copied outside of
On Tue, Nov 03, 2015 at 05:11:38PM +0530, Praveen Tiwari wrote: the
PHY1 P2V server.(We copy it on desktop) 5. We boot the same first physical machine, PHY1 by attaching the ISO as Virtual CDROM device from the ILO console 6. We are able to see the Conversion Server' GUI login screen 7. After entering the credentials, we click on 'Test Connection' with Conversion Server details' (SSH is working fine for the Conversion server, PHY2 !)
'Next' button is never enabled !!! The error message says "End of File"
It's all good up to step 6.
Step 7 is a bug in virt-p2v, where it doesn't reveal the real error message (see BZ# that I previously posted). However you can try to diagnose the real problem:
In the virt-p2v GUI, press Ctrl+Alt+F1.
This should give you a root shell. If you need to log in, use root with the password p2v
Then do:
ssh root@name-of-v2v-conversion-server
and fix any problem that may be stopping you from ssh-ing to the conversion server.
Once you've fixed those, the 'test connection' button should work.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
participants (2)
-
Praveen Tiwari -
Richard W.M. Jones