Bug 1015447

Summary: Adding a iscsi data storage domain throws a invalid syntax for logical_unit.id property
Product: Red Hat Enterprise Virtualization Manager Reporter: Carlos Mestre González <cmestreg>
Component: ovirt-engineAssignee: Sergey Gotliv <sgotliv>
Status: CLOSED DUPLICATE QA Contact: Aharon Canan <acanan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: abaron, acathrow, amureini, cmestreg, hateya, iheim, lpeer, mpastern, oramraz, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-14 11:34:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Carlos Mestre González 2013-10-04 09:37:12 UTC
Description of problem:
as the title said, adding a iscsi via cli ends in a syntax error

Version-Release number of selected component (if applicable):
rhevm-cli.noarch                     3.3.0.7-1.el6ev 
rhevm-cli.noarch                     3.3.0.7-1.el6ev

How reproducible:
command example: add storagedomain --host-name host1 --type data --storage-type iscsi  --name "scsi1" --storage-address test.redhat.com --storage-logical_unit "logical_unit.target=XXXX,logical_unit.address=1.1.1.1,logical_unit.id_=1cmg01"



Steps to Reproduce:
1. Connect to RHEVM via cli
2. Add a iSCSI storage domain

Actual results:
error: "id_" is invalid segment at option "--logical_unit.id_=1cmg01".

Expected results:
The storage domain is added to the DC.

Additional info:
Example of test failing in our jenkins servers: http://jenkins.qa.lab.tlv.redhat.com:8080/view/Storage/view/3.3/job/3.3-storage_sanity_unittest-iscsi-cli/105/artifact/logs/cli_log.log

Comment 1 Ayal Baron 2013-10-06 06:46:30 UTC
Please remove the trailing underscore from: logical_unit.id_=1cmg01
i.e. logical_unit.id=1cmg01

Comment 2 Carlos Mestre González 2013-10-07 06:49:41 UTC
That was the wrong command that I pasted in the bug's description, the output happens when I use logical_unit.id=1cmg01 without underscore.

Comment 3 Carlos Mestre González 2013-10-07 08:15:10 UTC
Please, notice to the Additional info link that contains the cli log for our storage sanity test, and the end of the log appears the same problem.

Here is the rhevm log: http://jenkins.qa.lab.tlv.redhat.com:8080/view/Storage/view/3.3/job/3.3-storage_sanity_unittest-iscsi-cli/108/artifact/logs/server.log

Comment 4 Michael Pasternak 2013-10-14 11:34:57 UTC

*** This bug has been marked as a duplicate of bug 1015975 ***