Bug 1043796 - Wrong description of NFS server name in -h (help) option
Summary: Wrong description of NFS server name in -h (help) option
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-image-uploader
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Sandro Bonazzola
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-17 08:25 UTC by Sivaram Shunmugam
Modified: 2013-12-17 11:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-17 11:56:35 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)

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


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