Bug 1043796

Summary: Wrong description of NFS server name in -h (help) option
Product: Red Hat Enterprise Virtualization Manager Reporter: Sivaram Shunmugam <sshunmug>
Component: ovirt-image-uploaderAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, iheim, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-17 11:56:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sivaram Shunmugam 2013-12-17 08:25:17 UTC
Description of problem:

When doing: 

# rhevm-image-uploader -h

The option to upload directly to nfs server states:

-nfs-server=mynfsserver.example.com

There is an addition "=" there that causes this command to fail.


How reproducible: Always


Steps to Reproduce:
1. rhevm-image-uploader -h
2. rhevm-image-uploader -n=mynfserver.example.com 


Actual results:

Image fails to upload with the "=".  Without "=" works fine.

Comment 1 Sandro Bonazzola 2013-12-17 11:56:35 UTC
(In reply to Sivaram Shunmugam from comment #0)
> Description of problem:
> 
> When doing: 
> 
> # rhevm-image-uploader -h
> 
> The option to upload directly to nfs server states:
> 
> -nfs-server=mynfsserver.example.com
> 
> There is an addition "=" there that causes this command to fail.
> 
> 
> How reproducible: Always
> 
> 
> Steps to Reproduce:
> 1. rhevm-image-uploader -h
> 2. rhevm-image-uploader -n=mynfserver.example.com 
> 
> 
> Actual results:
> 
> Image fails to upload with the "=".  Without "=" works fine.

Note that --help says:
    -n NFSSERVER, --nfs-server=NFSSERVER
                        the NFS server to which the file(s) should be
                        uploaded. This option is an alternative to export-
                        domain and should not be combined with export-domain.
                        Use this when you want to upload files to a specific
                        NFS server (e.g.--nfs-server=example.com:/path/to/export/<uuid>)

so either use:
 rhevm-image-uploader -n mynfserver.example.com
or:
 rhevm-image-uploader --nfs-server=mynfserver.example.com