Bug 496751

Summary: nbd-client should modprobe nbd
Product: [Fedora] Fedora Reporter: Martin Ebourne <fedora>
Component: nbdAssignee: Milos Jakubicek <xjakub>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: dyoung, eharrison, wtogami, xjakub
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.9.12-1.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-16 01:21:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Ebourne 2009-04-20 22:27:24 UTC
Description of problem:
nbd-client gives a misleading error message when nbd module is not loaded, instead it should just modprobe it and work.

Version-Release number of selected component (if applicable):
nbd-2.9.10-2.fc11.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Run nbd-server somewhere, eg. nbd-server 2000 /dev/sdb
2. Run nbd-client locally, eg. nbd-client server-host 2000 /dev/nbd0
  
Actual results:
Assuming module wasn't loaded nbd-client gives this confusing error message:
Error: Can not open NBD: No such file or directory

Expected results:
Should modprobe the nbd module and work, if this is really not possible then should give an error suggesting to modprobe the nbd module.

Additional info:

Comment 1 Milos Jakubicek 2009-05-13 23:20:59 UTC
I've added a tiny patch which prints at least "Please ensure the 'nbd' module is loaded." in this case. Fixed in devel branch (F12), will be part of the next update for F9/10/11.

Comment 2 Fedora Update System 2009-05-13 23:57:59 UTC
nbd-2.9.12-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/nbd-2.9.12-1.fc9

Comment 3 Fedora Update System 2009-05-14 00:02:02 UTC
nbd-2.9.12-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/nbd-2.9.12-1.fc10

Comment 4 Fedora Update System 2009-05-14 00:03:32 UTC
nbd-2.9.12-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/nbd-2.9.12-1.fc11

Comment 5 Fedora Update System 2009-05-15 23:26:27 UTC
nbd-2.9.12-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nbd'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-4982

Comment 6 Fedora Update System 2009-05-15 23:27:29 UTC
nbd-2.9.12-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing-newkey update nbd'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-4987

Comment 7 Fedora Update System 2009-05-15 23:33:16 UTC
nbd-2.9.12-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update nbd'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-5030

Comment 8 Warren Togami 2009-05-16 21:53:02 UTC
Is it really necessary to update F9 and F10 for this tiny bug?

Comment 9 Milos Jakubicek 2009-05-16 22:27:02 UTC
I wouldn't update the package just because of this one, the update resolves also bug 454099 and updates from 2.9.10 to 2.9.12 -- do you find this unjustified?

I wanted to do this ASAP so that there is enough time for being in updates-testing before F9 will be EOLed.

Comment 10 Warren Togami 2009-05-16 22:41:53 UTC
It has been broken with bug 454099 for YEARS now.  It is not a serious problem at all.

Anyhow, your choice...

Comment 11 Bug Zapper 2009-06-09 14:15:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 12 Fedora Update System 2009-06-16 01:21:15 UTC
nbd-2.9.12-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2009-06-16 01:44:57 UTC
nbd-2.9.12-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2009-06-16 02:08:29 UTC
nbd-2.9.12-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.