Bug 1659211 - virt-p2v: Conversion failed: NBD server error: timed out waiting for NBD server to start
Summary: virt-p2v: Conversion failed: NBD server error: timed out waiting for NBD serv...
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
Whiteboard: P2V
Depends On:
TreeView+ depends on / blocked
Reported: 2018-12-13 19:59 UTC by Anitha Udgiri
Modified: 2019-05-13 10:13 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-05-13 10:13:09 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3776641 None None None 2018-12-27 07:15:08 UTC

Description Anitha Udgiri 2018-12-13 19:59:41 UTC
Description of problem:

Cutomer is trying to convert a RHEL 7.4 physical server to virtual and gets the following error :

Error Message: Conversion failed: NDB server error: timed out waiting for NBD server to start.

Customer is using the following packages :

virt-p2v-1.38.2-5.el7 and  virt-v2v-1.38.2-12.22.lp.el7ev.x86_64

There are no logs created at this point.

Comment 2 Anitha Udgiri 2018-12-13 20:01:31 UTC
Attached are the journalct logs and screen shot of the error

Comment 5 Anitha Udgiri 2018-12-13 20:05:24 UTC
   I will ask the customer to obtain the debug output. In the meantime, do let us know if there is anything pertinent in the logs attached.


Comment 6 Richard W.M. Jones 2018-12-13 20:33:45 UTC
Thanks Anitha, I believe there is enough information in the journal that
the customer supplied.  Looking at it now.

Comment 7 Richard W.M. Jones 2018-12-13 20:42:24 UTC
This is a bug in virt-p2v.  The details are below.

The error is:

Dec 13 13:19:58 localhost launch-virt-p2v[1278]: qemu-nbd: Failed to bdrv_open '/dev/sda': Could not open '/dev/sda': No medium found: No medium found

It turns out this guest has 15 SCSI disks:

Dec 13 13:19:33 localhost launch-virt-p2v[1278]: disks  . . . . .   sda sdb sdc sdd sde sdf sdg sdh sdi sdj sdk sdl sdm sdn sdo

From the logs I can see that:
sda, sdb = removable disk of some kind (virtual CD?)
sdc = 600G hard disk
sdd, sdo = ? unclear
sde, sdf, sdg, sgh, sdi, sdj = large EMC SAN LUNs I think
sdk, sdl, sdm = 1.1 T hard disk or LUN

The bug is that virt-p2v should ignore removable disks called "/dev/sdX" (currently
it only ignores ones called /dev/sr*).

As a way to work around this, can the customer try to uncheck all checkboxes
which appear next to /dev/sda, /dev/sdb and any other removable devices, or
any devices which don't contain system data that they need to transfer to the
remote end.

Comment 8 Richard W.M. Jones 2019-05-13 10:13:09 UTC
We're not planning any more work on virt-p2v in RHEL 7 once 7.7 is released.
This does look as if it's still a bug.  If the issue can be reproduced in
RHEL 8 or upstream please file a new bug there.

Note You need to log in before you can comment on or make changes to this bug.