Bug 1378352 - ovirt-engine-rename allows setting an empty new name using the command line option --newname='
Summary: ovirt-engine-rename allows setting an empty new name using the command line o...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Tools.Rename
Version: 4.0.4.4
Hardware: Unspecified
OS: Unspecified
low
low vote
Target Milestone: ---
: ---
Assignee: Yedidyah Bar David
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: 1377758
TreeView+ depends on / blocked
 
Reported: 2016-09-22 08:51 UTC by Tareq Alayan
Modified: 2022-02-25 08:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-25 07:30:25 UTC
oVirt Team: Integration


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44916 0 None None None 2022-02-25 08:26:42 UTC

Description Tareq Alayan 2016-09-22 08:51:28 UTC
Description of problem:
there is no validation on input

Version-Release number of selected component (if applicable):
rhevm-4.0.4.3-0.1.el7ev.noarch
ovirt-engine-setup-base-4.0.4.3-0.1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. /ovirt-engine-rename --newname= --otopi-environment="OSETUP_RENAME/forceIgnoreAIAInCA=bool:'True' OVESETUP_CORE/engineStop=bool:'True' OSETUP_RENAME/confirmForceOverwrite=bool:'False'
2.
3.

Actual results:
caused an empty fqdn

Expected results:
fail with proper error message

Additional info:

Comment 1 Yaniv Lavi 2018-06-25 07:30:25 UTC
Closing old bugs.
Please reopen if still relevant.
Patches are welcomed.


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