Advertisement
gregmark

oz memory error

May 13th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.77 KB | None | 0 0
  1. # oz-install -d 3 -g -u -i rhel5-ice.xml rhel5.tdl
  2. libvirt bridge name is br0
  3. Libvirt type is kvm
  4. Name: rhel5_8, UUID: 5dc3f90a-3685-4862-86e6-580dff5d2d2b
  5. MAC: 52:54:00:f1:f8:17, distro: RHEL-5
  6. update: U8, arch: x86_64, diskimage: /data/images/rhel5_8.qcow2
  7. nicmodel: virtio, clockoffset: utc
  8. mousetype: ps2, disk_bus: virtio, disk_dev: vda
  9. icicletmp: /data/oz/icicletmp/rhel5_8, listen_port: 36909
  10. Original ISO path: /data/oz/isos/RHEL-5U8x86_64-iso.iso
  11. Modified ISO cache: /data/oz/isos/RHEL-5U8x86_64-iso-oz.iso
  12. Output ISO path: /data/images/rhel5_8-iso-oz.iso
  13. ISO content path: /data/oz/isocontent/rhel5_8-iso
  14. Checking for guest conflicts with rhel5_8
  15. Generating install media
  16. Using cached modified media
  17. Generating 10GB diskimage for rhel5_8
  18. Running install for rhel5_8
  19. Generate XML for guest rhel5_8 with bootdev cdrom
  20. Generated XML:
  21. <?xml version="1.0"?>
  22. <domain type="kvm">
  23.   <name>rhel5_8</name>
  24.   <memory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</memory>
  25.   <currentMemory>1024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024102410241024</currentMemory>
  26.   <uuid>5dc3f90a-3685-4862-86e6-580dff5d2d2b</uuid>
  27.   <clock offset="utc"/>
  28.   <vcpu>1</vcpu>
  29.   <features>
  30.     <acpi/>
  31.     <apic/>
  32.     <pae/>
  33.   </features>
  34.   <os>
  35.     <type>hvm</type>
  36.     <boot dev="cdrom"/>
  37.   </os>
  38.   <on_poweroff>destroy</on_poweroff>
  39.   <on_reboot>destroy</on_reboot>
  40.   <on_crash>destroy</on_crash>
  41.   <devices>
  42.     <graphics port="-1" type="vnc"/>
  43.     <interface type="bridge">
  44.       <source bridge="br0"/>
  45.       <mac address="52:54:00:f1:f8:17"/>
  46.       <model type="virtio"/>
  47.     </interface>
  48.     <input bus="ps2" type="mouse"/>
  49.     <console type="pty">
  50.       <target port="0"/>
  51.     </console>
  52.     <serial type="tcp">
  53.       <source mode="bind" host="127.0.0.1" service="36909"/>
  54.       <protocol type="raw"/>
  55.       <target port="1"/>
  56.     </serial>
  57.     <disk device="disk" type="file">
  58.       <target dev="vda" bus="virtio"/>
  59.       <source file="/data/images/rhel5_8.qcow2"/>
  60.       <driver name="qemu" type="qcow2"/>
  61.     </disk>
  62.     <disk type="file" device="cdrom">
  63.       <source file="/data/images/rhel5_8-iso-oz.iso"/>
  64.       <target dev="hdc"/>
  65.     </disk>
  66.   </devices>
  67. </domain>
  68.  
  69. Cleaning up guest named rhel5_8
  70. Cleaning up after install
  71. Traceback (most recent call last):
  72.   File "/usr/bin/oz-install", line 161, in <module>
  73.     libvirt_xml = guest.install(timeout, force_download)
  74.   File "/usr/lib/python2.6/site-packages/oz/RedHat.py", line 745, in install
  75.     return self._do_install(timeout, force, 0, self.cmdline)
  76.   File "/usr/lib/python2.6/site-packages/oz/Guest.py", line 1589, in _do_install
  77.     dom = self.libvirt_conn.createXML(xml, 0)
  78.   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2490, in createXML
  79.     if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
  80. libvirt.libvirtError: XML error: could not parse memory element ./memory[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement