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 720453

Summary: [ovirt-node] node installation fails (post approval stage) when created from template
Product: Red Hat Enterprise Linux 6 Reporter: Haim <hateya>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: apevec, cpelland, danken, dfediuck, leiwang, mgoldboi, ovirt-maint, ycui, yeylon, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-13 23:07:23 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 Haim 2011-07-11 16:50:56 UTC
Description of problem:

scenario:

- ovirt node 
- register to rhevm 
- approve 
- installation starts and fails

bootstrap logs:

after registering new ovirt node, trying to approve it in rhevm, initiate installation fails,  

Mon, 11 Jul 2011 15:59:06 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 61, in runTest
    deployUtil.pkiCleanup(self.VDSMKEY, self.VDSMCERT)
  File "/usr/share/vdsm-reg/deployUtil.py", line 1015, in pkiCleanup
  File "/usr/lib/python2.6/site-packages/ovirtnode/ovirtfunctions.py", line 640, in ovirt_safe_delete_config
TypeError: unsupported operand type(s) for %: 'int' and 'str'

Mon, 11 Jul 2011 15:59:06 ERROR    Usage: vdsm-gen-cert [-O organizationName] <subject> <random_num>
Mon, 11 Jul 2011 15:59:06 DEBUG    <BSTRAP component='RHEV_INSTALL' status='FAIL'/>

appears to be related to some syntax error on the following command: 

os.system("sed --copy -i \"\|%s$|d\" /config/files") % target

more info:

1) ovirt was installed over vm 
2) registration works fine for that flow
3) create template from that vm 
4) start it - installation fails (post approval)