Bugzilla – Bug 8961
Specifying pkg version strings in the AI manifest list of packages can causes AI to fail
Last modified: 2009-10-06 14:39:26 UTC
You need to log in before you can comment on or make changes to this bug.
on the b111b build. We added the xvm meta-package to the list of packages to be installed onto x86 boxes here. Heres what we had: <package_name> SUNWcsd@0.5.11,5.11-0.111 SUNWcs@0.5.11,5.11-0.111 entire@0.5.11,5.11-0.111 SUNWj6rtx@0.5.11,5.11-0.111 SUNWgroff@0.5.11,5.11-0.111 SUNWgcc@3.4.3,5.11-0.111 babel_install@0.1,5.11-0.111 xvm@0.5.11,5.11-0.111 </package_name> This cause auto-installer to fail, seems it tries to install a package called SUNW, just that. 'SUNW'.. Heres the output from the auto-installer SMF log: ... pkg: The following pattern(s) did not match any packages in the current catalog. Try relaxing the pattern, refreshing and/or examining the catalogs: SUNW Unable to install SUNW in /a om_perform_install failed with error 114 Auto install failed ... I narrowed it down to being the SUNWvncviewer package xvm@0.5.11,5.11-0.111 installs these three: SUNWxvm, SUNWvncviewer and SUNWvirstinst With this list of packages in the ai manifest auto-installer fails <package_name> SUNWcsd@0.5.11,5.11-0.111 SUNWcs@0.5.11,5.11-0.111 entire@0.5.11,5.11-0.111 SUNWj6rtx@0.5.11,5.11-0.111 SUNWgroff@0.5.11,5.11-0.111 SUNWgcc@3.4.3,5.11-0.111 SUNWvncviewer@4.1.3,5.11-0.111 babel_install@0.1,5.11-0.111 </package_name> Take out the SUNWvncviewer and all goes well.
Interestingly, SUNWvncviewer is already part of "slim_install" which is a dependency of "babel_install".
Does the order of packages matter? In the AI default manifest, the order is as follows: entire SUNWcsd SUNWcs babel_install In this case, the order is SUNWcsd@0.5.11,5.11-0.111 SUNWcs@0.5.11,5.11-0.111 entire@0.5.11,5.11-0.111 babel_install@0.1,5.11-0.111
I was able to duplicate what Sean did on a x86. Even if I switch entire to be first, it still fails: <ai_install_packages> <!-- Due to dependency issues, entire must be listed first in the package list, followed by SUNWcsd, and then SUNWcs. Any additional packages must be listed after SUNWcs. --> <pkg name="entire@0.5.11,5.11-0.111"/> <pkg name="SUNWcsd@0.5.11,5.11-0.111"/> <pkg name="SUNWcs@0.5.11,5.11-0.111"/> <pkg name="babel_install@0.5.11,5.11-0.111"/> <pkg name="SUNWj6rtx@0.5.11,5.11-0.111"/> <pkg name="SUNWgroff@0.5.11,5.11-0.111"/> <pkg name="SUNWgcc@0.5.11,5.11-0.111"/> <pkg name="xvm@0.5.11,5.11-0.111"/> </ai_install_packages> <ai_uninstall_packages> <pkg name="babel_install"/> <pkg name="slim_install"/> </ai_uninstall_packages> This is from the auto*install log: installation will be performed from http://ipkg.sfbay/dev (opensolaris.org) list of packages to be installed is: entire@0.5.11,5.11-0.111 SUNWcsd@0.5.11,5.11-0.111 SUNWcs@0.5.11,5.11-0.111 babel_install@0.5.11,5.11-0.111 SUNWj6rtx@0.5.11,5.11-0.111 SUNWgroff@0.5.11,5.11-0.111 SUNWgcc@0.5.11,5.11-0.111 xvm@0.5.11,5.11-0.111 list of packages to be removed is: babel_install slim_install Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/lib/python2.4/threading.py", line 638, in __exitfunc self._Thread__delete() File "/usr/lib/python2.4/threading.py", line 522, in __delete del _active[_get_ident()] KeyError: 8 Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/lib/python2.4/threading.py", line 638, in __exitfunc self._Thread__delete() File "/usr/lib/python2.4/threading.py", line 522, in __delete del _active[_get_ident()] KeyError: 8 Install Phase ... Done Reading Existing Index ... Done Indexing Packages ... Done Download: SUNWcsd ... Done Install Phase ... Done Reading Existing Index ... Done Indexing Packages ... Done Download: SUNWcs ... Done Download: SUNWcsl ... Done Download: SUNWlibsasl ... Done Download: SUNWlibms ... Done Download: SUNWpr ... Done Download: SUNWtls ... Done Download: SUNWlxml ... Done Download: SUNWzlib ... Done Download: SUNWopenssl ... Done Download: SUNWpool ... Done Download: SUNWckr ... Done Download: SUNWzone ... Done Download: SUNWzfs ... Done Download: SUNWsmapi ... Done Download: SUNWtecla ... Done Download: SUNWperl584core ... Done Download: SUNWmd ... Done Download: SUNWinstall-libs ... Done Download: SUNWwbsup ... Done Download: SUNWpicl ... Done Install Phase ... Done Reading Existing Index ... Done Indexing Packages ... Done pkg: The following package(s) violated constraints: Package pkg:/babel_install@0.5.11,5.11-0.111 conflicts with constraint i n installed pkg:/entire: Pkg babel_install: Optional min_version: 0.1,5.11-0.111 max vers ion: 0.1,5.11-0.111 defined by: pkg:/entire Download: SUNWj6rtx ... Done Download: SUNWxwrtl ... Done Download: SUNWlibC ... Done Install Phase ... Done Reading Existing Index ... Done Indexing Packages ... Done Download: SUNWgroff ... Done Install Phase ... Done Reading Existing Index ... Done Indexing Packages ... Done pkg: The following package(s) violated constraints: Package pkg:/SUNWgcc@0.5.11,5.11-0.111 conflicts with constraint in inst alled pkg:/entire: Pkg SUNWgcc: Optional min_version: 3.4.3,5.11-0.111 max version: 3.4.3,5.11-0.111 defined by: pkg:/entire Download: xvm ... Done Download: SUNWxvm ... Done Download: SUNWxvmdom ... Done Download: SUNWgccruntime ... Done Download: SUNWlibsdl ... Done Download: SUNWgnome-audio ... Done Download: SUNWvdisk ... Done Download: SUNWPython ... Done Download: SUNWlexpt ... Done Download: SUNWTcl ... Done Download: SUNWbzip ... Done Download: SUNWTk ... Done Download: SUNWvncviewer ... Done Download: SUNWxwplt ... Done Download: SUNWxorg-clientlibs ... Done Download: SUNWxwxft ... Done Download: SUNWfontconfig ... Done Download: SUNWfreetype2 ... Done Download: SUNWxwice ... Done Download: SUNWxwfsw ... Done Download: SUNWxorg-mesa ... Done Download: SUNWxorg-server ... Done Download: SUNWxorg-xkb ... Done Download: SUNWdbus-libs ... Done Download: SUNWpciaccess ... Done Download: SUNWhwdata ... Done Download: SUNWpixman ... Done Download: SUNWhal ... Done Download: SUNWdbus-bindings ... Done Download: SUNWgnome-base-libs ... Done Download: SUNWTiff ... Done Download: SUNWuiu8 ... Done Download: SUNWpng ... Done Download: SUNWpapi ... Done Download: SUNWjpg ... Done Download: SUNWmlib ... Done Download: SUNWcups-libs ... Done Download: SUNWkrb ... Done Download: SUNWgss ... Done Download: SUNWpolkit ... Done Download: SUNWsmagt ... Done Download: SUNWxsvc ... Done Download: SUNWxwplr ... Done Download: SUNWvirtinst ... Done Download: SUNWlibvirt ... Done Download: SUNWgnutls ... Done Download: SUNWlibtasn1 ... Done Download: SUNWlibgcrypt ... Done Download: SUNWlibgpg-error ... Done Download: SUNWurlgrabber ... Done Install Phase ... Done Reading Existing Index ... Done Indexing Packages ... Done Unable to install babel_install@0.5.11,5.11-0.111 in /a Unable to install SUNWgcc@0.5.11,5.11-0.111 in /a om_perform_install failed with error 114 Auto install failed Automated Installation failed Please refer to /tmp/install_log file for details [ May 18 13:34:28 Method "start" exited with status 95. ]
(In reply to comment #3) > I was able to duplicate what Sean did on a x86. Even if I switch entire to be > first, it still fails: > Unable to install babel_install@0.5.11,5.11-0.111 in /a > Unable to install SUNWgcc@0.5.11,5.11-0.111 in /a Mary, just to note, it failed in your case because you've got faulty version strings for babel_install and SUNWgcc. They should be this instead: babel_install@0.1,5.11-0.111 in /a SUNWgcc@3.4.3,5.11-0.111 in /a
Sean, can you try two mods - put entire first, and don't use version strings other than for entire - just to see if this would work: <package_name> entire@0.5.11,5.11-0.111 SUNWcsd SUNWcs SUNWj6rtx SUNWgroff SUNWgcc babel_install xvm </package_name>
I am able to get this to work with the following custom manifest. With one of th recent osol build, you can just specify one version and the rest of the packages will match that. This is my custom xml: <ai_install_packages> <!-- Due to dependency issues, entire must be listed first in the package list, followed by SUNWcsd, and then SUNWcs. Any additional packages must be listed after SUNWcs. --> <pkg name="entire@0.5.11,5.11-0.111"/> <pkg name="SUNWcsd"/> <pkg name="SUNWcs"/> <pkg name="babel_install"/> <pkg name="SUNWj6rtx"/> <pkg name="SUNWgroff"/> <pkg name="SUNWgcc"/> <pkg name="xvm"/> </ai_install_packages> <ai_uninstall_packages> <pkg name="babel_install"/> <pkg name="slim_install"/> </ai_uninstall_packages> The install works: <AI May 18 20:46:05> installation will be performed from http://ipkg.sfbay/dev ( opensolaris.org) <AI May 18 20:46:05> list of packages to be installed is: <AI May 18 20:46:05> entire@0.5.11,5.11-0.111 <AI May 18 20:46:05> SUNWcsd <AI May 18 20:46:05> SUNWcs <AI May 18 20:46:05> babel_install <AI May 18 20:46:05> SUNWj6rtx <AI May 18 20:46:05> SUNWgroff <AI May 18 20:46:05> SUNWgcc <AI May 18 20:46:05> xvm <AI May 18 20:46:05> list of packages to be removed is: <AI May 18 20:46:05> babel_install <AI May 18 20:46:05> slim_install <OM May 18 20:46:05> Disk was changed <OM May 18 20:46:05> Disk contains valid Solaris partition <OM May 18 20:46:05> whole_disk = 0 <OM May 18 20:46:05> diskname set = c8t0d0 <OM May 18 20:46:05> Set fdisk attrs <OM May 18 20:46:05> Set zfs root pool device <OM May 18 20:46:05> creating zpool <OM May 18 20:46:06> /usr/sbin/zfs get -Hp -o value available rpool <OM May 18 20:46:06> Creating swap and dump on ZFS volumes <OM May 18 20:46:15> TI process completed successfully <OM May 18 20:46:15> Transfer process initiated <OM May 18 20:46:15> IPS transfer mechanism selected <OM May 18 20:46:15> IPS transfer phase initiated <OM May 18 20:46:24> IPS initialization phase 1 succeeded <OM May 18 20:54:36> Installation of packages succeeded <OM May 18 20:54:47> Removing packages succeeded <OM May 18 20:54:47> IPS transfer phase finished successfully <ICT May 18 20:54:47> current task: ict_set_lang_locale <ICT May 18 20:54:47> ict_set_lang_locale Succeeded <ICT May 18 20:54:47> current task: ict_configure_user_directory <ICT May 18 20:54:47> ict_configure_user_directory Succeeded <OM May 18 20:54:47> Setting up swap mount in /a/etc/vfstab <ICT May 18 20:54:47> current task: ict_set_host_node_name <ICT May 18 20:54:47> ict_set_host_node_name Succeeded <ICT May 18 20:54:47> current task: ict_set_user_profile <ICT May 18 20:54:47> ict_set_user_profile Issuing Command: /bin/cp /etc/skel/.p rofile /a/export/home/jack/.profile <ICT May 18 20:54:47> ict_set_user_profile Issuing Command: /bin/cp /etc/skel/.b ashrc /a/export/home/jack/.bashrc <ICT May 18 20:54:47> ict_set_user_profile Succeeded <OM May 18 20:54:47> /usr/sbin/zpool set bootfs=rpool/ROOT/opensolaris rpool <ICT May 18 20:54:48> current task: ict_installboot <ICT May 18 20:54:50> ict_installboot Succeeded <ICT May 18 20:54:50> current task: ict_set_user_role <ICT May 18 20:54:50> ict_set_user_role Succeeded <OM May 18 20:54:50> Running install-finish script <OM May 18 20:54:50> /sbin/install-finish -B '/a' -R '$5$VgppCOxA$ycFmYW4ObRRHh tsGEygDdexk5bugqgSiaSR9niNCouC' -n 'default user' -l 'jack' -p '9Nd/cwBcNWFZg' - G '10' -U '101' <ICT May 18 20:54:50> Starting Python script of Install Completion Tasks <ICT May 18 20:54:50> BASEDIR: /a <ICT May 18 20:54:50> USER_SPEC_DBGLVL: <ICT May 18 20:54:50> ROOT_PW: $5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9n iNCouC <ICT May 18 20:54:50> NU_GOS: default user <ICT May 18 20:54:50> NU_LOGIN: jack <ICT May 18 20:54:50> NU_PW: 9Nd/cwBcNWFZg <ICT May 18 20:54:50> NU_GID: 10 <ICT May 18 20:54:50> NU_UID: 101 <ICT May 18 20:54:50> current task:create_smf_repository <ICT May 18 20:54:50> current task:keyboard_layout <ICT May 18 20:54:50> Detected US-English keyboard layout <ICT May 18 20:54:50> current task:set_prop_from_eeprom <ICT May 18 20:54:50> current task:set_console_boot_device_property <ICT May 18 20:54:50> Setting console boot device property to text <ICT May 18 20:54:50> current task:add_splash_image_to_grub_menu <ICT May 18 20:54:50> current task:fix_browser_home_page <ICT May 18 20:54:50> current task:set_Solaris_partition_active <ICT May 18 20:54:50> current task:set_Solaris_partition_active_x86 <ICT May 18 20:54:50> current task:get_rootdev_list <ICT May 18 20:54:50> current task:set_boot_active <ICT May 18 20:54:50> current task:bootadm_update_menu <ICT May 18 20:54:50> update GRUB boot menu on device /dev/rdsk/c8t0d0s0 <ICT May 18 20:54:51> bootadm_update_menu output: bootadm: cannot get (hd?,?,?) for menu. menu not on bootdisk: /dev/rdsk/c8t0d0s0 <ICT May 18 20:54:51> current task:remove_bootpath <ICT May 18 20:54:51> current task:fix_grub_entry <ICT May 18 20:54:51> current task:add_other_OS_to_grub_menu <ICT May 18 20:54:52> current task:update_dumpadm_nodename <ICT May 18 20:54:52> current task:explicit_bootfs <ICT May 18 20:54:52> current task:_get_root_dataset <ICT May 18 20:54:52> current task:enable_happy_face_boot <ICT May 18 20:54:52> current task:setup_dev_namespace <ICT May 18 20:54:52> current task:update_boot_archive <ICT May 18 20:55:21> bootadm update-archive output: Creating boot_archive for / a <ICT May 18 20:55:21> bootadm update-archive output: updating /a/platform/i86pc/ amd64/boot_archive <ICT May 18 20:55:21> bootadm update-archive output: updating /a/platform/i86pc/ boot_archive <ICT May 18 20:55:21> current task:remove_files <ICT May 18 20:55:21> current task:copy_splash_xpm <ICT May 18 20:55:21> current task:smf_correct_sys_profile <ICT May 18 20:55:21> current task:add_sysidtool_sys_unconfig_entries <ICT May 18 20:55:21> current task:configure_nwam <ICT May 18 20:55:21> current task:enable_nwam_AI <ICT May 18 20:55:21> current task:set_flush_content_cache_on_success_false <ICT May 18 20:55:22> current task:set_root_password <ICT May 18 20:55:22> current task:create_new_user <ICT May 18 20:55:22> Post-transfer Python Install Completion Tasks finished. <ICT May 18 20:55:22> All 24 Python ICTs finished successfully <OM May 18 20:55:22> The install-finish script succeeded <ICT May 18 20:55:22> current task: ict_snapshot <ICT May 18 20:55:24> ict_snapshot Succeeded <OM May 18 20:55:24> Marking root pool as 'ready' <ICT May 18 20:55:24> current task: ict_mark_root_pool_ready <ICT May 18 20:55:24> ict_mark_root_pool_ready Succeeded <OM May 18 20:55:29> Installer build version: FMRI: pkg:/entire@0.5.11 ,5.11-0.111:20090518T052643Z <OM May 18 20:55:32> Target build version: FMRI: pkg:/entire@0.5.11,5. 11-0.111:20090518T052643Z <OM May 18 20:55:32> Unmounting BE <OM May 18 20:55:32> /usr/sbin/zfs unmount rpool/export/home/jack <OM May 18 20:55:32> /usr/sbin/zfs set mountpoint=/export/home/jack rpool/export /home/jack <OM May 18 20:55:33> /usr/sbin/zfs unmount rpool/export/home <OM May 18 20:55:33> /usr/sbin/zfs set mountpoint=/export/home rpool/export/home <OM May 18 20:55:34> /usr/sbin/zfs unmount rpool/export <OM May 18 20:55:34> /usr/sbin/zfs set mountpoint=/export rpool/export <ICT May 18 20:55:34> current task: ict_transfer_logs <ICT May 18 20:55:34> ict_transfer_logs Succeeded <AI May 18 20:55:45> Auto install succeeded. You may wish to reboot the system a t this time jack@opensolaris:/var/svc/log$
Ethan pointed out that I did not use the right version for babel and gcc, I fix my custom.xml with entire first: <ai_install_packages> <!-- Due to dependency issues, entire must be listed first in the package list, followed by SUNWcsd, and then SUNWcs. Any additional packages must be listed after SUNWcs. --> <pkg name="entire@0.5.11,5.11-0.111"/> <pkg name="SUNWcsd@0.5.11,5.11-0.111"/> <pkg name="SUNWcs@0.5.11,5.11-0.111"/> <pkg name="babel_install@0.1,5.11-0.111"/> <pkg name="SUNWj6rtx@0.5.11,5.11-0.111"/> <pkg name="SUNWgroff@0.5.11,5.11-0.111"/> <pkg name="SUNWgcc@3.4.3,5.11-0.111"/> <pkg name="xvm@0.5.11,5.11-0.111"/> </ai_install_packages> <ai_uninstall_packages> <pkg name="babel_install"/> <pkg name="slim_install"/> </ai_uninstall_packages> The custom install was successful as follow: <AI May 18 21:14:30> installation will be performed from http://ipkg.sfbay/dev ( opensolaris.org) <AI May 18 21:14:30> list of packages to be installed is: <AI May 18 21:14:30> entire@0.5.11,5.11-0.111 <AI May 18 21:14:30> SUNWcsd@0.5.11,5.11-0.111 <AI May 18 21:14:30> SUNWcs@0.5.11,5.11-0.111 <AI May 18 21:14:30> babel_install@0.1,5.11-0.111 <AI May 18 21:14:30> SUNWj6rtx@0.5.11,5.11-0.111 <AI May 18 21:14:30> SUNWgroff@0.5.11,5.11-0.111 <AI May 18 21:14:30> SUNWgcc@3.4.3,5.11-0.111 <AI May 18 21:14:30> xvm@0.5.11,5.11-0.111 <AI May 18 21:14:30> list of packages to be removed is: <AI May 18 21:14:30> babel_install <AI May 18 21:14:30> slim_install <OM May 18 21:14:30> Disk was changed <OM May 18 21:14:30> Disk contains valid Solaris partition <OM May 18 21:14:30> whole_disk = 0 <OM May 18 21:14:30> diskname set = c8t0d0 <OM May 18 21:14:30> Set fdisk attrs <OM May 18 21:14:30> Set zfs root pool device <OM May 18 21:14:30> creating zpool <OM May 18 21:14:32> /usr/sbin/zfs get -Hp -o value available rpool <OM May 18 21:14:32> Creating swap and dump on ZFS volumes <OM May 18 21:14:41> TI process completed successfully <OM May 18 21:14:41> Transfer process initiated <OM May 18 21:14:41> IPS transfer mechanism selected <OM May 18 21:14:41> IPS transfer phase initiated <OM May 18 21:14:51> IPS initialization phase 1 succeeded <OM May 18 21:23:03> Installation of packages succeeded <OM May 18 21:23:14> Removing packages succeeded <OM May 18 21:23:14> IPS transfer phase finished successfully jack@opensolaris:/tmp$ cd /var/svc/log jack@opensolaris:/var/svc/log$ grep vnc *auto* Download: SUNWvncviewer ... Done Download: SUNWxvnc ... Done jack@opensolaris:/var/svc/log$
As suggested, changed the package list to be: <package_name> entire@0.5.11,5.11-0.111 SUNWcsd SUNWcs SUNWj6rtx SUNWgroff SUNWgcc babel_install xvm </package_name> This works fine. below the last bit from the auto-install smf log: ... Reading Existing Index ... Done Indexing Packages ... Done Download: xvm ... Done Download: SUNWxvm ... Done Download: SUNWvdisk ... Done Download: SUNWvirtinst ... Done Download: SUNWlibvirt ... Done Download: SUNWurlgrabber ... Done Install Phase ... Done Reading Existing Index ... Done Indexing Packages ... Done ... Looks like a parsing bug when having versions with the package names ?
Just a note that the package versions can be simplified as <name>@version-0.<build #> as in entire@0.5.11-0.111, etc.
(In reply to comment #8) > > Looks like a parsing bug when having versions with the package names ? Yes, that's what I was suspecting. I will investigate this path further. Marking this reviewed for 2009.06, not a blocker since there's a valid workaround.
some oddness. Now I see one box fail with same error with SUNWgmake in the package list, yet another box installs fine with same list. On an atom based box (atom04 Intel Atom 2 x 1600MHz, 2GB mem) install fails with osol_0906-b111b2 with the following list: SUNWcsd@0.5.11,5.11-0.111 SUNWcs@0.5.11,5.11-0.111 entire@0.5.11,5.11-0.111 SUNWj6rtx@0.5.11,5.11-0.111 SUNWgroff@0.5.11,5.11-0.111 SUNWgcc@3.4.3,5.11-0.111 SUNWgmake@3.81,5.11-0.111 babel_install@0.1,5.11-0.111 Failed with the same error as before seen with SUNWvncviewer: root@opensolaris:/tmp# tail /var/svc/log/application-auto-installer\:default.lo g pkg: The following pattern(s) did not match any packages in the current catalog. Try relaxing the pattern, refreshing and/or examining the catalogs: SUNW Unable to install SUNW in /a om_perform_install failed with error 114 However... On another box (thump010 x4500 4 x 2792MHz, 16GB mem) with the same build and same list of packages it does succeed. Taking out the SUNWgmake from the list on the atom box allows the install to continue.
More info needed: ----------------- Please attach /tmp/install.pkg.list and /tmp/remove.pkg.list. These files are found on the client during AI install. More details: ------------- I have started to evaluate this bug. So far what I have discovered is: transfer_mod.py/perform_ips_pkg_op reads the list of packages to install from the temp file on the client: /tmp/install.pkg.list This file is generated by: cmd/auto-install/auto_install.c:create_package_list_file I manually create the contents of /tmp/install.pkg.list Then, using a test program that mimics what transfer_mod.py/perform_ips_pkg_op does, I have successfully installed the package list: entire@0.5.11,5.11-0.111 SUNWcsd@0.5.11,5.11-0.111 SUNWcs@0.5.11,5.11-0.111 babel_install@0.5.11,5.11-0.111 SUNWj6rtx@0.5.11,5.11-0.111 SUNWgroff@0.5.11,5.11-0.111 SUNWgcc@0.5.11,5.11-0.111 xvm@0.5.11,5.11-0.111 This lead me to believe that the create_package_list_file may not be creating the temp file /tmp/install.pkg.list correctly.
install.pkg.list just contains oneline: SUNW remove.pkg.list is empty From the atom box with SUNWgmake@3.81,5.11-0.111 in the package list: root@opensolaris:/tmp# cat remove.pkg.list root@opensolaris:/tmp# ls -l remove.pkg.list install.pkg.list -rw-r--r-- 1 root root 5 May 25 01:55 install.pkg.list -rw-r--r-- 1 root root 0 May 25 01:55 remove.pkg.list root@opensolaris:/tmp# cat remove.pkg.list root@opensolaris:/tmp# cat install.pkg.list SUNW root@opensolaris:/tmp#
Thank you Sean for providing the remove.pkg.list and install.pkg.list. This confirms my theory my that they are corrupt. Now we just need to figure out why. I can not reproduce this problem. I've even tried using an older HP dv5000 system with 1800MHz, 1GB mem) with no success. Could I ask you to please re-run the test with ssh and debugging enabled? Also when the system fails can I log into it? The following instructions describe how to enable ssh and debug on the client. What I did was, on the AI server, edit /tftpboot/menu.lst.svcAI and added: kernel$ ... -B install_media=...,livessh=enable,install_debug=enable Depending on how you set up your server the menu.lst file may be different. Here are the full instructions: One can enable verbose debug mode by follow these instructions: When you use the installadm create-service command to create an install service, or you use the installadm create-client command to set up a custom client, these commands populate the install configuration file. For x86 systems, this file is the GRUB menu.lst file. For SPARC systems, this file is the install.conf file. In order to enable debug mode, you need to set the install_debug option to enable in this install configuration file, as per the following instructions. * For x86 systems, the menu.lst configuration file is created in the /tftpboot/ directory with one of the following filename formats: o If you used the installadm create-service -n <service_name> command, the filename is menu.lst.<service_name>. o If you used the installadm create-client -e <mac> command, the filename is menu.lst.01<mac>. In this file, the options are provided as kernel parameters, such as the following: kernel$ ... -B install_media=...,livessh=enable,install_debug=enable Since the install_debug option in the above example is set to enable, the installer will run in verbose debug mode. * For SPARC systems, the install.conf file is populated in the ai_image_dest directory when an install service is created by using an installadm create-service command, such as the following: # installadm create-service [-n svc_name] [-s ai_iso_image] ai_image_dest In the install.conf file, the options are defined as name-value pairs, such as the following: $ cat <ai_image_dest>/install.conf ... install_debug=enable ... Thank you! Joe
addendum to comment 12: After running with ssh and debug enabled please confirm the contents of: install.pkg.list and remove.pkg.list and also attach: /tmp/install_log and /var/svc/log/application-auto-installer\:default.log Thank you!
I changed the summary to better reflect the problem.
Created an attachment (id=2054) [details] SMF Application log of auto-installer with install_debug enabled
Created an attachment (id=2055) [details] install_log file with install_debug enabled
Info requested added. grub menu changed to gave instal_debug=enable note we also install with -k, kmdb incase we get a panic on installs kernel$ /I86PC.OpenSolaris-27/platform/i86pc/kernel/$ISADIR/unix -B input-device=ttya,output-device=ttya,console=ttya,install_media=http://192.1.9.1:5555/export/builds/osol/x86/osol_0906-111b2,install_service=i86pc_osol_0906-111b2_is,install_svc_address=192.1.9.1:46506,livemode=text,install_debug=enable -k The SMF log from auto-installer attached. The /tmp/install_log also attached. below is the AI manifest package list shown along with the contents (or lack of contents) of both /tmp/install.pkg.list and /tmp/remove.pkg.list <ai_packages> <package_name> SUNWcsd@0.5.11,5.11-0.111 SUNWcs@0.5.11,5.11-0.111 entire@0.5.11,5.11-0.111 SUNWj6rtx@0.5.11,5.11-0.111 SUNWgroff@0.5.11,5.11-0.111 SUNWgcc@3.4.3,5.11-0.111 SUNWgmake@3.81,5.11-0.111 babel_install@0.1,5.11-0.111 </package_name> </ai_packages> </ai_manifest> root@opensolaris:/tmp# cat install.pkg.list SUNW root@opensolaris:/tmp# cat remove.pkg.list root@opensolaris:/tmp#
I am lowering the priority of this bug because: I am unable to reproduce this and there is a confirmed work around. One untested theory I have is that the manifest being used when this problem is seen might be older and may be raising an incompatibility issue.