Bug 907508 - [abrt] oz-0.8.0-0.20111219164530gita7249f9.fc15: libvirt.py:2629:createXML:libvirtError: unsupported configuration: Only the first console can be a serial port
Summary: [abrt] oz-0.8.0-0.20111219164530gita7249f9.fc15: libvirt.py:2629:createXML:li...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: oz
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lalancette
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b3cf254608bad97f87eda1d0684...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-04 15:23 UTC by Michael Renz
Modified: 2013-04-09 01:08 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-09 01:08:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.13 KB, text/plain)
2013-02-04 15:23 UTC, Michael Renz
no flags Details
File: core_backtrace (390 bytes, text/plain)
2013-02-04 15:23 UTC, Michael Renz
no flags Details
File: environ (1.78 KB, text/plain)
2013-02-04 15:23 UTC, Michael Renz
no flags Details

Description Michael Renz 2013-02-04 15:23:30 UTC
Description of problem:
I think this was due to packages from oz-image-build being installed before oz.

Version-Release number of selected component:
oz-0.8.0-0.20111219164530gita7249f9.fc15

Additional info:
cmdline:        /usr/bin/python /usr/bin/oz-install -t 2400 -c /etc/oz/oz.cfg -d3 -x ./templates/.bn_rhel63_x86_64.xml -p -u ./templates/.bn_rhel63_x86_64.tdl
dso_list:       libvirt-python-0.10.2.2-3.fc18.x86_64
executable:     /usr/bin/oz-install
kernel:         3.7.4-204.fc18.x86_64
uid:            0

Truncated backtrace:
libvirt.py:2629:createXML:libvirtError: unsupported configuration: Only the first console can be a serial port

Traceback (most recent call last):
  File "/usr/bin/oz-install", line 152, in <module>
    libvirt_xml = guest.install(timeout, force_download)
  File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1435, in install
    return self._do_install(timeout, force, 0)
  File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1416, in _do_install
    dom = self.libvirt_conn.createXML(xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2629, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: unsupported configuration: Only the first console can be a serial port

Local variables in innermost frame:
self: <libvirt.virConnect instance at 0x1f319e0>
xmlDesc: '<?xml version="1.0"?>\n<domain type="kvm">\n  <name>bn_rhel63_x86_64</name>\n  <memory>1048576</memory>\n  <currentMemory>1048576</currentMemory>\n  <uuid>d44a78f1-8103-4a75-a7ba-4138632d0b14</uuid>\n  <clock offset="utc"/>\n  <vcpu>1</vcpu>\n  <features>\n    <acpi/>\n    <apic/>\n    <pae/>\n  </features>\n  <os>\n    <type>hvm</type>\n    <boot dev="cdrom"/>\n  </os>\n  <on_poweroff>destroy</on_poweroff>\n  <on_reboot>destroy</on_reboot>\n  <on_crash>destroy</on_crash>\n  <devices>\n    <console device="pty"/>\n    <graphics port="-1" type="vnc"/>\n    <interface type="bridge">\n      <source bridge="virbr0"/>\n      <mac address="52:54:00:bc:1c:a4"/>\n      <model type="virtio"/>\n    </interface>\n    <input bus="ps2" type="mouse"/>\n    <console type="pty">\n      <target port="0"/>\n    </console>\n    <serial type="tcp">\n      <source mode="bind" host="127.0.0.1" service="12082"/>\n      <protocol type="raw"/>\n      <target port="1"/>\n    </serial>\n    <disk device="disk" type="file">\n      <target dev="vda" bus="virtio"/>\n      <source file="/hs/openstack_images/bn_rhel63_x86_64.dsk"/>\n    </disk>\n    <disk type="file" device="cdrom">\n      <source file="/hs/openstack_images/bn_rhel63_x86_64-iso-oz.iso"/>\n      <target dev="hdc"/>\n    </disk>\n  </devices>\n</domain>\n'
flags: 0
ret: None

Comment 1 Michael Renz 2013-02-04 15:23:32 UTC
Created attachment 692810 [details]
File: backtrace

Comment 2 Michael Renz 2013-02-04 15:23:34 UTC
Created attachment 692811 [details]
File: core_backtrace

Comment 3 Michael Renz 2013-02-04 15:23:38 UTC
Created attachment 692812 [details]
File: environ

Comment 4 Chris Lalancette 2013-02-04 16:00:58 UTC
(In reply to comment #0)
> Description of problem:
> I think this was due to packages from oz-image-build being installed before
> oz.
> 
> Version-Release number of selected component:
> oz-0.8.0-0.20111219164530gita7249f9.fc15

This is a pretty old version of the package (and also not one that I think we ever shipped in Fedora).  I feel like we've fixed this problem in a newer Oz, though I won't swear to it.  Can you try installing the Fedora 18 version of Oz (from the Fedora repositories), and see if you still have the problem?

Comment 5 Chris Lalancette 2013-04-09 01:08:14 UTC
No response for 2 months.  I'm going to close this out for now; feel free to re-open if you are able to test with a newer version and you still have problems.


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