Hi All,
I'm not sure if I've configured something incorrectly in my AI
manifest or if I'm hitting a bug. Pointers in the right direction
would be much appreciated.
I'm using the following targets in my AI manifest per croinfo -O cR:
<disk whole_disk="true">
<disk_name name="/SYS/MB/HDD0" name_type="receptacle"/>
<slice name="0" in_zpool="rpool" action="create" force="true">
<size val="279gb"/>
</slice>
<slice name="1" action="create" force="true"/>
</disk>
It looks to my that the disks are being discovered in the install_log:
2011-10-13 18:40:30,346 InstallationLogger.target-selection DEBUG
discovered =
-> [discovered] (<solaris_install.target.Target object
at 0xe03070>)
-> [disk] (Disk: ctd=c0t5000CCA01243E944d0;
volid=None; devpath=/scsi_vhci/disk@g5000cca01243e944;
devid=id1,sd@n5000cca01243e944; prop:dev_type=scsi;
prop:dev_vendor=HITACHI; prop
:dev_size=558.89gb; is_cdrom=False; label=VTOC; whole_disk=False;
write_cache=False)
-> [0] (Slice: name=0;
action=preserve, force=False, is_swap=False, tag=2, flag=0;
size=132.10mb; start_sector=0)
-> [1] (Slice: name=1;
action=preserve, force=False, is_swap=False, tag=3, flag=1;
size=132.10mb; start_sector=270540)
-> [2] (Slice: name=2;
action=preserve, force=False, is_swap=False, tag=5, flag=1;
size=558.89gb; start_sector=0)
-> [6] (Slice: name=6;
action=preserve, force=False, is_swap=False, tag=4, flag=0,
in_use={'used_by': ['fs'], 'used_name': ['ufs']}; size=558.64gb;
start_sector=541080)
But the install fails with these messages:
2011-10-13 18:40:30,532 InstallationLogger.target-selection DEBUG
Processing disk : [receptacle='/SYS/MB/HDD0']
2011-10-13 18:40:30,564 InstallationLogger.target-selection DEBUG
Traceback (most recent call last):
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3403, in execute
self.select_targets(from_manifest, discovered, dry_run)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3298, in select_targets
new_target = self.__handle_target(from_manifest[0])
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3090, in __handle_target
new_disk = self.__handle_disk(disk)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 2571, in __handle_disk
self.__pretty_print_disk(disk))
SelectionError: Unable to locate the disk
'[receptacle='/SYS/MB/HDD0']' on the system.
2011-10-13 18:40:30,564 InstallationLogger ERROR Error occurred
during execution of 'target-selection' checkpoint.
Traceback (most recent call last):
File
"/usr/lib/python2.6/vendor-packages/solaris_install/engine/__init__.py",
line 805, in _execute_checkpoints
checkpoint.execute(dry_run)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3403, in execute
self.select_targets(from_manifest, discovered, dry_run)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3298, in select_targets
new_target = self.__handle_target(from_manifest[0])
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3090, in __handle_target
new_disk = self.__handle_disk(disk)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 2571, in __handle_disk
self.__pretty_print_disk(disk))
SelectionError: Unable to locate the disk
'[receptacle='/SYS/MB/HDD0']' on the system.
2011-10-13 18:40:30,623 InstallationLogger ERROR Aborting:
Internal error in InstallEngine
Traceback (most recent call last):
File
"/usr/lib/python2.6/vendor-packages/solaris_install/engine/__init__.py",
line 805, in _execute_checkpoints
checkpoint.execute(dry_run)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3403, in execute
self.select_targets(from_manifest, discovered, dry_run)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3298, in select_targets
new_target = self.__handle_target(from_manifest[0])
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3090, in __handle_target
new_disk = self.__handle_disk(disk)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 2571, in __handle_disk
self.__pretty_print_disk(disk))
SelectionError: Unable to locate the disk
'[receptacle='/SYS/MB/HDD0']' on the system.
2011-10-13 18:40:30,674 InstallationLogger ERROR Target
selection checkpoint error:
2011-10-13 18:40:30,725 InstallationLogger ERROR Unable
to locate the disk '[receptacle='/SYS/MB/HDD0']' on the system.
2011-10-13 18:40:30,795 InstallationLogger DEBUG Traceback
(most recent call last):
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/auto_install.py",
line 804, in execute_checkpoints
dry_run=dry_run, callback=None)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/engine/__init__.py",
line 525, in execute_checkpoints
thread.start()
File "/usr/lib/python2.6/threading.py", line 477, in run
self.__target(*self.__args, **self.__kwargs)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/engine/__init__.py",
line 805, in _execute_checkpoints
checkpoint.execute(dry_run)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3403, in execute
self.select_targets(from_manifest, discovered, dry_run)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3298, in select_targets
new_target = self.__handle_target(from_manifest[0])
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 3090, in __handle_target
new_disk = self.__handle_disk(disk)
File
"/usr/lib/python2.6/vendor-packages/solaris_install/auto_install/checkpoints/target_selection.py",
line 2571, in __handle_disk
self.__pretty_print_disk(disk))
SelectionError: Unable to locate the disk
'[receptacle='/SYS/MB/HDD0']' on the system.
2011-10-13 18:40:30,796 InstallationLogger INFO Automated
Installation Failed. See install log at /system/volatile/install_log
2011-10-13 18:40:30,846 InstallationLogger DEBUG Shutting down
Progress Handler
- Brian
Oracle <http://www.oracle.com/>
Brian Phipps | Software Engineer | +1.503.495.7716
OracleWorld Wide Operations
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss