| Summary: | [ovirt-node] node installation fails (post approval stage) when created from template | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Haim <hateya> |
| Component: | ovirt-node | Assignee: | Mike Burns <mburns> |
| Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | 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: | |
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)