Bug 758561 - oz has 1 too many console sections in libvirt
Summary: oz has 1 too many console sections in libvirt
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: oz
Version: 1.0.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
Assignee: Ian McLeod
QA Contact: Martin Kočí
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-30 04:07 UTC by Steven Dake
Modified: 2016-04-27 05:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-30 17:14:13 UTC


Attachments (Terms of Use)
patch to fix the problem (1.06 KB, patch)
2011-11-30 04:07 UTC, Steven Dake
no flags Details | Diff

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.


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