Bug 758561

Summary: oz has 1 too many console sections in libvirt
Product: [Retired] CloudForms Cloud Engine Reporter: Steven Dake <sdake>
Component: ozAssignee: Ian McLeod <imcleod>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Kočí <mkoci>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: clalance, mkoci, morazi
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: 2012-08-30 17:14:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch to fix the problem none

Description Steven Dake 2011-11-30 04:07:34 UTC
Created attachment 538386 [details]
patch to fix the problem

Description of problem:
oz creates two console fields which doesn't work with libvirt-0.9.7.

Version-Release number of selected component (if applicable):
oz-0.8.0 (and previous versions)

How reproducible:
100%

Steps to Reproduce:
1. run oz with libvirt 0.9.7
2. oz fails
3. another option is to run oz and save the xml output using the -x flag.  two console sections are present.
  
Actual results:
oz fails to build an image with libvirt 0.9.7

Expected results:
oz should build an image with libvirt 0.9.7

Additional info:
patch attached which fixes the problem

Comment 1 wes hayutin 2011-12-08 13:43:41 UTC
fixing version.. move to 1.0.0

Comment 2 wes hayutin 2012-01-03 17:43:20 UTC
adding ce-sprint-next bugs to ce-sprint

Comment 3 Ian McLeod 2012-01-08 19:26:10 UTC
Fixed here:

https://github.com/aeolusproject/oz/commit/6cb0f46e02094039ea502faf0704647324bd221d

Submitted as pull request against aeolusproject/oz and Chris' upstream.

This does not affect RHEL6 so I'd suggest that it be removed from ce-sprint and all future sprints that are directly related to a RHEL based aeolus release.

Switching to ON_QA.

Comment 4 wes hayutin 2012-01-12 16:16:39 UTC
bugs in verified or on_qa moving off tracker

Comment 5 Martin Kočí 2012-01-19 14:54:21 UTC
Issue reproduced with oz-0.8.0-0.20111219203204git5775e9d.fc16.noarch

# grep console test.xml 
    <console device="pty"/>
    <console type="pty">
    </console>

Successfully tested with oz-0.9.0-0.20120119132256gite3f0da4.fc16.noarch
# grep console test01.xml 
    <console type="pty">
    </console>

command was #oz-install -x test01.xml template.tdl

Moving bug to VERIFIED for version oz-0.9.0-0.20120119132256gite3f0da4.fc16.noarch.