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 736688

Summary: can't register rhev-h to rhev-m
Product: Red Hat Enterprise Linux 6 Reporter: Mike Burns <mburns>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED DUPLICATE QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: high    
Version: 6.2CC: abaron, bazulay, iheim, srevivo, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-08 12:40:54 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:

Description Mike Burns 2011-09-08 12:30:02 UTC
Description of problem:
From vds_bootstap log

Thu, 08 Sep 2011 01:20:26 ERROR    Traceback (most recent call last):
  File "/usr/share/vdsm-reg/vdsm-gen-cert", line 80, in main
    CSR(subject, random_num, orgName).runTest()
  File "/usr/share/vdsm-reg/vdsm-gen-cert", line 62, in runTest
    deployUtil.createCSR(self.orgName, self.subject, self.random_num,
self.tsDir, self.VDSMKEY, self.DHKEY)
  File "/usr/share/vdsm-reg/deployUtil.py", line 1149, in createCSR
  File "/usr/share/vdsm-reg/deployUtil.py", line 346, in getOSVersion
IOError: [Errno 2] No such file or directory: '/etc/fedora-release'

Thu, 08 Sep 2011 01:20:26 ERROR    Usage: vdsm-gen-cert [-O
organizationName] <subject> <random_num>
Thu, 08 Sep 2011 01:20:26 DEBUG    <BSTRAP component='RHEV_INSTALL'
status='FAIL'/>


From analysis by Alan

Change is from bd6ec2a5e89b4693193d2561d462280418aa76aa
BZ#735932 vds_bootstrap: do not require and do not use redhat-lsb

+    for f in ('/etc/rhev-hypervisor-release', '/etc/redhat-release',
+              '/etc/fedora-release'):

Don't need this loop, just open /etc/system-release - it's a symlink to the appropriate file on all platforms we support.

+        except OSError:
+            pass

This didn't cach IOError :)


Version-Release number of selected component (if applicable):
Found using latest git repo, but present in 4.9-98

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Dan Kenigsberg 2011-09-08 12:35:52 UTC
http://gerrit.usersys.redhat.com/916

Comment 2 Dan Kenigsberg 2011-09-08 12:40:54 UTC

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