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 819835 - Installation failed when device names contain spaces
Summary: Installation failed when device names contain spaces
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Fabian Deutsch
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 736493
TreeView+ depends on / blocked
 
Reported: 2012-05-08 10:27 UTC by shine
Modified: 2016-04-26 15:19 UTC (History)
13 users (show)

Fixed In Version: ovirt-node-2.3.0-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-19 14:12:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
WrongDeviceName (414.97 KB, application/zip)
2012-05-08 10:27 UTC, shine
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0741 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2012-07-19 18:10:46 UTC

Description shine 2012-05-08 10:27:06 UTC
Created attachment 582952 [details]
WrongDeviceName

Description of problem:

  Installation failed on IBM System x3755 for the RHEVH gets the wrong device name.
  The older RHEV-H 6.3-20120419.0.el6 gets the device name:SServeRA_QEServer_F8BC3124[atachment Localstorage.png], and is installed successfully.
  The RHEV-H 6.3-20120426 and RHEV-H-20120502 gets the incomplete device name:SServeRA[atachment Localstorage2.png], and gets failure installation.
  The incomplete device name results in the error after sfdisk in code.   size_cmd = "sfdisk -s " + drive + " 2>null"


Version-Release number of selected component (if applicable):
  rhev-hypervisor6-6.3-20120426.2.el6
  rhev-hypervisor6-6.3-20120502.3.el6

How reproducible:
  100%

  Steps to Reproduce:
  1. Clean install RHEV-H 6.3-20120426.0.el6 on IBM System x3755.
  2. Boot from PXE choose the RHEV-H 6.3-20120426.2.el6.

Actual results:
  1. RHEVH couldn't be installed successfully, and an exception occured. See pic:[ibminstall0426Exception.png]
  2. But the RHEV-H 6.3-20120419.0.el6 could be installed successfully

  Expected results:
  The RHEV-H 6.3-20120426.2.el6 and rhev-hypervisor6-6.3-20120502.3.el6 could be installed successfully.

Additional info:

Comment 3 Mike Burns 2012-05-08 12:11:40 UTC
Can you drop to a shell and look at what is under /dev/mapper?

Do device names contain spaces?  

This looks like it's caused by the fix for bug 736493.  I'll revert that fix.

Comment 4 Fabian Deutsch 2012-05-08 15:36:35 UTC
I was able to reproduce this in a VM giving a harddisk the same serial (SServeRA_QEServer_F8BC3124).

Comment 5 shine 2012-05-09 01:50:08 UTC
(In reply to comment #3)
> Can you drop to a shell and look at what is under /dev/mapper?
> 
> Do device names contain spaces?  
> 
> This looks like it's caused by the fix for bug 736493.  I'll revert that fix.

Here is the result. One of the device names contains spaces.The following is the detailed info:
[root@dhcp-66-83-238 ~]# ll /dev/mapper
total 0
crw-rw----. 1 root root  10, 58 2012-05-08 09:12 control
lrwxrwxrwx. 1 root root       7 2012-05-08 09:12 HostVG-Config -> ../dm-7
lrwxrwxrwx. 1 root root       7 2012-05-08 09:12 HostVG-Data -> ../dm-9
lrwxrwxrwx. 1 root root       7 2012-05-08 09:12 HostVG-Logging -> ../dm-8
lrwxrwxrwx. 1 root root       7 2012-05-08 09:12 HostVG-Swap -> ../dm-6
lrwxrwxrwx. 1 root root       7 2012-05-08 09:12 live-rw -> ../dm-5
brw-rw----. 1 root disk 253,  0 2012-05-08 09:12 SServeRA QEServer       F8BC3124
lrwxrwxrwx. 1 root root       7 2012-05-08 09:31 SServeRA_QEServer_F8BC3124 -> ../dm-1
lrwxrwxrwx. 1 root root       7 2012-05-08 09:31 SServeRA_QEServer_F8BC3124p1 -> ../dm-3
lrwxrwxrwx. 1 root root       8 2012-05-08 09:31 SServeRA_QEServer_F8BC3124p2 -> ../dm-10
lrwxrwxrwx. 1 root root       8 2012-05-08 09:31 SServeRA_QEServer_F8BC3124p3 -> ../dm-11
lrwxrwxrwx. 1 root root       8 2012-05-08 09:31 SServeRA_QEServer_F8BC3124p4 -> ../dm-12
lrwxrwxrwx. 1 root root       7 2012-05-08 09:13 SServeRA\x20QEServer\x20\x20\x20\x20\x20\x20\x20F8BC3124 -> ../dm-0
lrwxrwxrwx. 1 root root       7 2012-05-08 09:13 SServeRA\x20QEServer\x20\x20\x20\x20\x20\x20\x20F8BC3124p2 -> ../dm-2
lrwxrwxrwx. 1 root root       7 2012-05-08 09:13 SServeRA\x20QEServer\x20\x20\x20\x20\x20\x20\x20F8BC3124p4 -> ../dm-4
[root@dhcp-66-83-238 ~]# ll /dev/mapper/SServeRA_QEServer_F8BC3124
lrwxrwxrwx. 1 root root 7 2012-05-08 09:31 /dev/mapper/SServeRA_QEServer_F8BC3124 -> ../dm-1
[root@dhcp-66-83-238 ~]# ll /dev/mapper/SServeRA\ QEServer\ \ \ \ \ \ \ F8BC3124 
brw-rw----. 1 root disk 253, 0 2012-05-08 09:12 /dev/mapper/SServeRA QEServer       F8BC3124

Comment 11 yuanquan chen 2012-05-15 06:12:11 UTC
Verified with rhevh-6.3-20120509.1. The device mapper name doesn't contain space anymore and the install to it successes.

Comment 13 errata-xmlrpc 2012-07-19 14:12:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0741.html


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