Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 661729

Summary: RHEVM failed to discover luns
Product: Red Hat Enterprise Linux 6 Reporter: Lubos Kocman <lkocman>
Component: vdsmAssignee: Ayal Baron <abaron>
Status: CLOSED DUPLICATE QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: low    
Version: 6.2CC: iheim, Rhev-m-bugs, srevivo, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: Storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-09 17:05:09 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:
Attachments:
Description Flags
tail -200 vdsm.log
none
Loginning to target
none
Nothing listed none

Description Lubos Kocman 2010-12-09 14:34:46 UTC
Created attachment 467755 [details]
tail -200 vdsm.log

Description of problem:

The problem happens when I'm trying to create new ISCSI Storage domain in RHEVM 2.3 (ic60). 

I'm able to list targest, but after logining to a target and pressing OK. No luns are being shown so there is nothing to add (see attached screenshots + targets.conf + vdsm log scrollback).

We already had this problem and one of developers provided us a fix that was spliting guids by '\t' and not all whitespaces ( I remember that he told us that vdsm didn't expected that one of guids could have a space in name.

239     guids = [i.split()[0] for i in out] 

to 

239     guids = [i.split("\t")[0] for i in out]

Anyway that patch neither work anymore and nor is included in newer builds. So maybe the problem is now somewhere else.



Version-Release number of selected component (if applicable):

rhevm ic60

vdsm-4.9-28.el6.x86_64
vdsm-cli-4.9-28.el6.x86_64


Actual results:

No luns are being listed

Expected results:

Exactly one lun should be listed in this case.

Additional info:

Comment 1 Lubos Kocman 2010-12-09 14:36:35 UTC
Created attachment 467756 [details]
Loginning to target

Comment 2 Lubos Kocman 2010-12-09 14:37:16 UTC
Created attachment 467757 [details]
Nothing listed

Comment 6 Lubos Kocman 2010-12-09 17:05:09 UTC
Problem with lvm2. Upgrade lvm2 and create new lun.

That worked for me.

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