Here's a diff: anna at solerator:/var/tmp$ diff -c /var/tmp/rchuck.xml /test/default.xml |cat -vet *** /var/tmp/rchuck.xml^ITue Mar 9 13:23:08 2010$ --- /test/default.xml^ITue Mar 9 13:14:01 2010$ ***************$ *** 56,81 ****$ <pkg name="entire at 0.5.11-0.133"/>$ -->$ <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"/>$ ! <pkg name="SUNWcsd"/>$ ! <pkg name="SUNWcs"/>$ ! <pkg name="babel_install"/>$ ! <!--$ ! The following two packages are required by iSCSI,$ ! and can be deleted from this list if iSCSI is not used$ ! See iscsiadm(1m) man page for more information$ ! -->$ ! <pkg name="SUNWiscsi"/>$ ! <pkg name="SUNWiscsidm"/>$ </ai_install_packages>$ <ai_uninstall_packages>$ ! <pkg name="babel_install"/>$ ! <pkg name="slim_install"/>$ </ai_uninstall_packages>$ <ai_auto_reboot>$ true$ --- 56,81 ----$ <pkg name="entire at 0.5.11-0.133"/>$ -->$ <ai_install_packages>$ ! ^I^I<!--$ ! ^I^I Due to dependency issues, entire must be listed first$ ! ^I^I in the package list, followed by SUNWcsd, and then SUNWcs.$ ! ^I^I Any additional packages must be listed after SUNWcs.$ ! ^I^I-->$ ! ^I^I<pkg name="entire"/>$ ! ^I^I<pkg name="SUNWcsd"/>$ ! ^I^I<pkg name="SUNWcs"/>$ ! ^I^I<pkg name="babel_install"/>$ ! ^I^I<!--$ ! ^I^I The following two packages are required by iSCSI,$ ! ^I^I and can be deleted from this list if iSCSI is not used$ ! ^I^I See iscsiadm(1m) man page for more information$ ! ^I^I-->$ ! ^I^I<pkg name="SUNWiscsi"/>$ ! ^I^I<pkg name="SUNWiscsidm"/>$ </ai_install_packages>$ <ai_uninstall_packages>$ ! ^I^I <pkg name="babel_install"/>$ ! ^I^I <pkg name="slim_install"/>$ </ai_uninstall_packages>$ <ai_auto_reboot>$ true$ ***************$ *** 90,96 ****$ <instance name="default" enabled="true">$ <property_group name="ai" type="application">$ <propval name="username" type="astring" value="jack"/>$ ! <propval name="userpass" type="astring" value="9Nd/cwBcNWFZg"/>$ <propval name="description" type="astring" value="default_user"/>$ <propval name="rootpass" type="astring" value="$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC"/>$ <propval name="timezone" type="astring" value="US/Pacific"/>$ --- 90,96 ----$ <instance name="default" enabled="true">$ <property_group name="ai" type="application">$ <propval name="username" type="astring" value="jack"/>$ ! ^I^I^I<propval name="userpass" type="astring" value="9Nd/cwBcNWFZg"/>$ <propval name="description" type="astring" value="default_user"/>$ <propval name="rootpass" type="astring" value="$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC"/>$ <propval name="timezone" type="astring" value="US/Pacific"/>$ anna at solerator:/var/tmp$
On 03/09/10 13:18, Randall Chuck wrote: > [Sorry bout sending the wrong default.xml] > > Just guessing (since the file many have been updated) but there were > tabs in the /test/default.xml file. > anna at solerator:/test$ ls -l default.xml > -rwxr-xr-x 1 root root 4174 Mar 9 13:14 default.xml > anna at solerator:/test$ > > I made a copy to /var/tmp/rchuck.xml > and: > anna at solerator:/var/tmp$ pfexec installadm add -m ./rchuck.xml -n > dev133 > > -- > Randall > > On 03/09/10 09:55, Evan Layton wrote: >> I was able to get onto the machine showing the problem and I've >> attached the manifest. >> >> It does show some partitioning entries. >> >> -evan >> >> >> On 3/9/10 10:23 AM, Matt Keenan wrote: >>> A quick glance at this default.xml manifest does not show any >>> information on >>> deleting partitions at all. >>> >>> Only difference I can see is addition of custom repo to install from, >>> I'm guessing this may not be the default.xml that was causing parsing >>> errors. >>> >>> Matt >>> >>> On 03/ 9/10 04:40 PM, Evan Layton wrote: >>>> default.xml sent by Randall. >>>> >>>> -------- Original Message -------- >>>> Subject: Re: [caiman-discuss] Fwd: Re: Deleting partitions using the >>>> manifest file >>>> Date: Tue, 09 Mar 2010 08:20:15 -0800 >>>> From: Randall Chuck <Randall.Chuck at Sun.COM> >>>> Reply-To: Randall Chuck <Randall.Chuck at Sun.COM> >>>> To: Evan Layton <Evan.Layton at Sun.COM> >>>> CC: Matt Keenan <Matt.Keenan at Sun.COM>, install-poc at sun.com >>>> >>>> rchuck at solerator 1021$ ps -ef|grep dns >>>> root 563 1 0 15:05:14 ? 0:00 /usr/bin/dns-sd -R dev133 _OSInstall._tcp >>>> local 46501 aiwebserver=129.146.17.75 >>>> noaccess 499 1 0 15:05:14 ? 0:02 /usr/lib/inet/mdnsd >>>> rchuck 1703 1661 0 08:30:18 pts/1 0:00 grep dns >>>> >>>> PWD=/tmp >>>> rchuck at solerator 1022$ cd /var/ai/ >>>> 46501/ image-server/ >>>> >>>> PWD=/tmp >>>> rchuck at solerator 1022$ cd /var/ai/46501/AI_data/ >>>> >>>> PWD=/var/ai/46501/AI_data >>>> rchuck at solerator 1023$ cat default.xml >>>> <ai_criteria_manifest> >>>> <ai_embedded_manifest> >>>> <ai_manifest name="default"> >>>> <ai_pkg_repo_default_publisher> >>>> <main url="http://10.6.157.126" publisher="opensolaris.org"/> >>>> <mirror url=""/> >>>> </ai_pkg_repo_default_publisher> >>>> <ai_pkg_repo_addl_publisher> >>>> <main url="http://pkg.opensolaris.org/contrib" >>>> publisher="contrib.opensolaris.org"/> >>>> <mirror url=""/> >>>> </ai_pkg_repo_addl_publisher> >>>> >>>> <!-- >>>> By default the latest build available, in the specified IPS >>>> repository, is installed. >>>> If another build is required, the build number has >>>> to be appended to the 'entire' package in following >>>> form: >>>> >>>> <pkg name="entire at 0.5.11-0.133"/> >>>> --> >>>> <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"/> >>>> <pkg name="SUNWcsd"/> >>>> <pkg name="SUNWcs"/> >>>> <pkg name="babel_install"/> >>>> <!-- >>>> The following two packages are required by iSCSI, >>>> and can be deleted from this list if iSCSI is not used >>>> See iscsiadm(1m) man page for more information >>>> --> >>>> <pkg name="SUNWiscsi"/> >>>> <pkg name="SUNWiscsidm"/> >>>> </ai_install_packages> >>>> <ai_uninstall_packages> >>>> <pkg name="babel_install"/> >>>> <pkg name="slim_install"/> >>>> </ai_uninstall_packages> >>>> <ai_auto_reboot> >>>> true >>>> </ai_auto_reboot> >>>> </ai_manifest> >>>> </ai_embedded_manifest> >>>> <sc_embedded_manifest name = "AI"> >>>> <!-- <?xml version='1.0'?> >>>> <!DOCTYPE service_bundle SYSTEM >>>> "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> >>>> <service_bundle type="profile" name="name"> >>>> <service name="ai_properties" version="1" type="service"> >>>> <instance name="default" enabled="true"> >>>> <property_group name="ai" type="application"> >>>> <propval name="username" type="astring" value="jack"/> >>>> <propval name="userpass" type="astring" value="9Nd/cwBcNWFZg"/> >>>> <propval name="description" type="astring" value="default_user"/> >>>> <propval name="rootpass" type="astring" >>>> value="$5$VgppCOxA$ycFmYW4ObRRHhtsGEygDdexk5bugqgSiaSR9niNCouC"/> >>>> <propval name="timezone" type="astring" value="US/Pacific"/> >>>> </property_group> >>>> </instance> >>>> </service> >>>> </service_bundle> >>>> --> >>>> </sc_embedded_manifest> >>>> </ai_criteria_manifest> >>>> >>>> PWD=/var/ai/46501/AI_data >>>> rchuck at solerator 1024$ >>>> >>>> >>>> >>>> On 03/09/10 08:06, Evan Layton wrote: >>>>> I don't have a copy and I can't get to the machine either. >>>>> >>>>> Mary, is it possible to get to this test machine? >>>>> >>>>> >>>>> >>>>> On 3/9/10 8:42 AM, Matt Keenan wrote: >>>>>> Evan, >>>>>> >>>>>> Would definitely need to have a look at the exact default.xml >>>>>> manifest >>>>>> being used. I just tried pinging 10.6.167.126 and it's failing for >>>>>> me at >>>>>> the moment. >>>>>> >>>>>> Do you have a copy ? >>>>>> >>>>>> cheers >>>>>> >>>>>> Matt >>>>>> >>>>>> >>>>>> On 03/ 9/10 03:35 PM, Evan Layton wrote: >>>>>>> Anyone have any ideas on what the problem is here? >>>>>>> >>>>>>> thanks, >>>>>>> >>>>>>> -evan >>>>>>> >>>>>>> -------- Original Message -------- >>>>>>> Subject: Re: Deleting partitions using the manifest file >>>>>>> Date: Mon, 08 Mar 2010 19:33:42 -0800 >>>>>>> From: mary ding <Mary.Ding at Sun.COM> >>>>>>> Reply-To: Mary.Ding at Sun.COM >>>>>>> Organization: Sun Microsystems >>>>>>> To: Anna Pereira <Anna.Pereira at Sun.COM> >>>>>>> CC: install-poc at sun.com <install-poc at Sun.COM> >>>>>>> >>>>>>> William and Evan: >>>>>>> >>>>>>> anna at solerator:/test$ pfexec installadm add -m /test/default.xml -n >>>>>>> dev133 >>>>>>> Error: File /test/default.xml failed validation: >>>>>>> Element ai_criteria_manifest failed to validate content >>>>>>> anna at solerator:/test$ >>>>>>> >>>>>>> >>>>>>> >>>>>>> It did not say what fails to validate and the error message is not >>>>>>> helpful at all. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 03/08/10 19:11, Anna Pereira wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Mar 8, 2010, at 6:29 PM, mary ding <Mary.Ding at Sun.COM> wrote: >>>>>>>> >>>>>>>>> Anna: >>>>>>>>> >>>>>>>>> It is a bad idea to use /tmp/default.xml and I cannot find it on >>>>>>>>> . The xml should be stored in a permanent location, >>>>>>>>> otherwise you will lose it during reboot. I still cannot find the >>>>>>>>> default.xml that you try to add in your server under /tmp. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> I had never seen the problem you described about install takes a >>>>>>>>> long >>>>>>>>> time at the gateway message. I am not sure how your network is >>>>>>>>> setup >>>>>>>>> and I had never seen this in our subnet. >>>>>>>>> >>>>>>>>> Can you provide access to the client you want to install ??? We >>>>>>>>> need >>>>>>>>> to examine what is currently on the disk. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> about hanging. >>>>>>>>> On 03/08/10 17:58, Anna Pereira wrote: >>>>>>>>>> Hi Mary, >>>>>>>>>> >>>>>>>>>> Another thing I noticed was: >>>>>>>>>> Once the GRUB boot menu is loaded, and the entry is selected to >>>>>>>>>> initiate >>>>>>>>>> the auto-installation, the install hangs for a long time >>>>>>>>>> (probably >>>>>>>>>> around 20 minutes) at the gateway message (pls. see screenshot >>>>>>>>>> )....it >>>>>>>>>> eventually finds the boot program and the install proceeds. >>>>>>>>>> Have you seen this? I tried specifying the IP of the >>>>>>>>>> repository and >>>>>>>>>> also >>>>>>>>>> using a local repository on the pxe server itself, but that >>>>>>>>>> did not >>>>>>>>>> make >>>>>>>>>> any difference. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Thanks >>>>>>>>>> Anna >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 3/8/2010 5:47 PM, mary ding wrote: >>>>>>>>>>> >>>>>>>>>>> Anna: >>>>>>>>>>> >>>>>>>>>>> What is os build your AI server is running ??? >>>>>>>>>>> >>>>>>>>>>> Is it possible for us to get access to solerator and take a look >>>>>>>>>>> ??? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 03/08/10 17:40, Anna Pereira wrote: >>>>>>>>>>>> Hi Mary, >>>>>>>>>>>> >>>>>>>>>>>> I was searching for a way to delete non-Solaris partitions >>>>>>>>>>>> on the >>>>>>>>>>>> web >>>>>>>>>>>> and came across one of your replies on Open Solaris forum....I >>>>>>>>>>>> hope >>>>>>>>>>>> you >>>>>>>>>>>> can help me. >>>>>>>>>>>> >>>>>>>>>>>> I am trying to setup pxe install of Open Solaris dev 133. I am >>>>>>>>>>>> trying to >>>>>>>>>>>> modify the manifest file default.xml to delete existing >>>>>>>>>>>> partitions >>>>>>>>>>>> (non-Solaris) on pxe clients as follows: >>>>>>>>>>>> >>>>>>>>>>>> <ai_device_partitioning> >>>>>>>>>>>> <partition_action>delete</partition_action> >>>>>>>>>>>> <partition_number>1</partition_number> >>>>>>>>>>>> </ai_device_partitioning> >>>>>>>>>>>> >>>>>>>>>>>> But I keep getting the following error: >>>>>>>>>>>> >>>>>>>>>>>> root at solerator:/var/svc/manifest# installadm add -m >>>>>>>>>>>> /tmp/default.xml -n >>>>>>>>>>>> dev133 >>>>>>>>>>>> Error: File /tmp/default.xml failed validation: >>>>>>>>>>>> Element ai_criteria_manifest failed to validate content >>>>>>>>>>>> >>>>>>>>>>>> The docs say that this should be possible for x86 clients, so >>>>>>>>>>>> am I >>>>>>>>>>>> missing something? How else can I delete existing partitions? >>>>>>>>>>>> >>>>>>>>>>>> Thanks >>>>>>>>>>>> Anna >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> caiman-discuss mailing list >>>>> caiman-discuss at opensolaris.org >>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >>>> >>> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> caiman-discuss mailing list >> caiman-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >