Hello,

I'm setting up a local repository origin from the repository ISO images from the Solaris 11 Express download URL on OTN. The local repository build went smoothly (no errors indicated). My clients can search for package, they see package info fine.

But I noticed that quite a few on the IPS packages have "Invalid content path- chash failure" errors when I try to do installs. When I configure the AI service, I noticed that when my AI clients try to load the entire/babel_install package groups they start spitting out the same "Invalid content path- chash failure" errors and the AI install aborts.

Does anyone have any experience with this problem? How do I fix it?

Here are the commands I used to build the local repository and AI service. The AI default manifest (demo_manifest.xml) and an AI failure message snapshot are attached.

Thanks
-dave
*************************
IPS Local Repository Build
*************************
zfs create -o compression=on rpool/export/repo2010_11
lofiadm -a /opt/ora/course_files/sol-11-exp-201011-repo-full.iso
mount -F hsfs /dev/lofi/1 /mnt
rsync -aP /mnt/repo /export/repo2010_11
umount /mnt
lofiadm -d /dev/lofi/1
svccfg -s application/pkg/server setprop pkg/inst_root=/export/repo2010_11/repo
svccfg -s application/pkg/server setprop pkg/readonly=true
svcadm refresh application/pkg/server
svcadm enable application/pkg/server
svcs application/pkg/server
pkg set-publisher -G http://pkg.oracle.com/solaris/release/ -g http://s11x-serv1.mydomain.com/ solaris
pkgrepo refresh -s /export/repo2010_11/repo

*************************
AI Service Build
*************************
zfs create rpool/ai
svcadm enable svc:/network/dns/multicast:default
installadm create-service -n demo_ai -i 192.168.0.114 -c 2 -s /opt/ora/files/sol-11-exp-201011-ai-x86.iso /rpool/ai/demo_ai
installadm create-client -e 08:00:27:85:C7:D6 -n demo_ai
dhtadm -P
pntadm -P 192.168.0.0
scvs system/install/server
cd /rpool/ai/demo_ai/auto_install
mkdir manifests
cp /opt/ora/course_files/demo_manifest.xml /rpool/ai/demo_ai/auto_install/manifests installadm add-manifest -n demo_ai -m /rpool/ai/demo_ai/auto_install/manifests/demo_manifest.xml


<<attachment: AI_Error.png>>

<?xml version="1.0" encoding="UTF-8"?>
<!--
 CDDL HEADER START

 The contents of this file are subject to the terms of the
 Common Development and Distribution License (the "License").
 You may not use this file except in compliance with the License.

 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 or http://www.opensolaris.org/os/licensing.
 See the License for the specific language governing permissions
 and limitations under the License.

 When distributing Covered Code, include this CDDL HEADER in each
 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 If applicable, add the following below this CDDL HEADER, with the
 fields enclosed by brackets "[]" replaced with your own identifying
 information: Portions Copyright [yyyy] [name of copyright owner]

 CDDL HEADER END

 Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.

-->
<!DOCTYPE auto_install SYSTEM "file:///usr/share/auto_install/ai.dtd">
<auto_install>
  <ai_instance name="default">
    <software>
      <source>
        <publisher name="solaris">
          <origin name="http://s11x-serv1.mydomain.com"/>
        </publisher>
      </source>
      <software_data action="install" type="IPS">
        <name>pkg:/entire</name>
        <name>pkg:/babel_install</name>
      </software_data>
      <software_data action="uninstall" type="IPS">
        <name>pkg:/babel_install</name>
        <name>pkg:/slim_install</name>
      </software_data>
    </software>
    <add_drivers>
      <search_all/>
    </add_drivers>
    <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="system configuration">
        <service name="system/install/config" version="1" type="service">
          <instance name="default" enabled="true">
            <property_group name="user_account" type="application">
              <propval name="login" type="astring" value="oracle"/>
              <propval name="password" type="astring" value="$5$MXy8D4ab$Y2AiK1wwoAwTMf8r.BubOzkwCB7m2ZvUhMrW87CRKdD:15027"/>
              <propval name="description" type="astring" value="default_user"/>
              <propval name="shell" type="astring" value="/usr/bin/bash"/>
              <propval name="uid" type='count' value='101'/>
              <propval name="gid" type='count' value='10'/>
              <propval name="type" type="astring" value="normal"/>
              <propval name="roles" type="astring" value="root"/>
            </property_group>

            <property_group name="root_account" type="application">
                <propval name="password" type="astring" value="$5$AFGRyK7C$Ymsuzd4tkxnxy5kgcuQWFBRpLGsRA2Oo9fin86u2zvC:15027"/>
                <propval name="type" type="astring" value="role"/>
            </property_group>

            <property_group name="other_sc_params" type="application">
              <propval name="timezone" type="astring" value="GMT"/>
              <propval name="hostname" type="astring" value="s11x-client1"/>
            </property_group>
          </instance>
        </service>
        <service name="system/console-login" version="1" type="service">
          <property_group name="ttymon" type="application">
            <propval name="terminal_type" type="astring" value="sun"/>
          </property_group>
        </service>

        <service name='system/keymap' version='1' type='service'>
          <instance name='default' enabled='true'>
            <property_group name='keymap' type='system'>
              <propval name='layout' type='astring' value='US-English'/>
            </property_group>
          </instance>
        </service>

        <service name="network/physical" version="1" type="service">
          <instance name="nwam" enabled="true"/>
          <instance name="default" enabled="false"/>
        </service>
      </service_bundle>
      -->
    </sc_embedded_manifest>
  </ai_instance>
</auto_install>
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to