Bug 720453 - [ovirt-node] node installation fails (post approval stage) when created from template
Summary: [ovirt-node] node installation fails (post approval stage) when created from ...
Keywords:
Status: CLOSED DUPLICATE of bug 719843
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.2
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-11 16:50 UTC by Haim
Modified: 2014-01-13 00:49 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-13 23:07:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

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)


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