うむむ,template の import でエラーになるな.今日のところはメモだけ.(以下のエラーはなくなったけど,別のエラーがでてるとこ ^^;)
# ovmzfs import template /rpool/ovmzfs/ServerPool/ovs/seed_pool/OVM_EL5U4_X86_64_PVM_4GB
Please select OS TYPE from following list. (Enter the number)
(just Enter to accept default 'Other')
[0] Oracle Enterprise Linux 4
[1] Oracle Enterprise Linux 4 64-bit
[2] Oracle Enterprise Linux 5
[3] Oracle Enterprise Linux 5 64-bit
[4] Red Hat Enterprise Linux 3
[5] Red Hat Enterprise Linux 3 64-bit
[6] Red Hat Enterprise Linux 4
[7] Red Hat Enterprise Linux 4 64-bit
[8] Red Hat Enterprise Linux 5
[9] Red Hat Enterprise Linux 5 64-bit
[10] Microsoft Windows Server 2000
[11] Microsoft Windows Server 2003 Edition
[12] Microsoft Windows Server 2003 x64 Edition
[13] Windows Vista
[14] Windows XP
[15] Microsoft Windows Server 2008 SP1
[16] Sun Solaris 10
[17] Other
Answer: 3
Please enter NEW TEMPLATE NAME (just Enter to accept default 'OVM_EL5U4_X86_64_PVM_4GB'):
Start importing. This may take a certain amount of time.
Importing System.img... [OK]
Applying ACL...
172.16.44.13...
rpool/ovmzfs/ServerPool/template/T__OVM_EL5U4_X86_64_PVM_4GB/System.img... [OK]
Discovering iSCSI Target...
172.16.44.13... [OK]
Logging in to iSCSI Target...
172.16.44.13...
Logging in to iqn.1986-03.com.sun:02:400ecca8-e0b3-c4dd-e4a7-b01a410fd486... [OK]
Traceback (most recent call last):
File "/usr/local/sbin/ovmzfs", line 2002, in ?
ovmzfs.run(sys.argv)
File "/usr/local/sbin/ovmzfs", line 310, in run
self.import_template(os_type, template_directory, template_name)
File "/usr/local/sbin/ovmzfs", line 600, in import_template
template.generate_new_vm_cfg()
File "/usr/local/sbin/ovmzfs", line 1255, in generate_new_vm_cfg
self.new_vm_cfg.append("'type=%s,bridge=%s,mac=%s',\n" % (network["type"], network["bridge"], new_mac))
KeyError: 'bridge'