Hi folks,

  I'm using a sun internal lab AI server (aus-caiman) to try and install a 
machine
  using my own manifest.  We're getting back an error from the installadm 
command
  when trying to add my manifest to the service:

installadm add -m $crit -n $service

  Error:  Manifest has a range collision with manifest:b133.xml/0
        in criteria: ipv4!

 This b133.xml does not have any criteria listed in it.
  Its a generic AI manifest for any machine.

 Does a generic manifest with no criteria listed override any
  others that may want a criteria ?

 I'm using the sun internal lab method with the addclient.pl script.

Regards,
Sean.
.

 The $crit manifest file is:
   (/tmp/crit_manifest_15602 on aus-caiman)

<ai_criteria_manifest>
    <ai_criteria name="IPV4">
    <value>10.1.235.186</value>
    </ai_criteria>
    <ai_manifest_file URI="/tmp/ai_manifest_15602"/>
    <sc_manifest_file name="AI" URI="/export/ai/manifests/sc_manifest"/>
</ai_criteria_manifest>

  and the b133.xml manifest that is already there :
   (/var/ai/46524/AI_data/b133.xml on aus-caiman)

<ai_criteria_manifest>
        <ai_embedded_manifest>
<ai_manifest name="b133">
<ai_pkg_repo_default_authority>
<main url="http://ipkg.sfbay/dev"; authname="opensolaris.org"/>
<mirror url="http://aus-install.central:180"/>
</ai_pkg_repo_default_authority>
     <ai_install_packages>
        <pkg name="entire at 0.5.11,5.11-0.133"/>
        <pkg name="SUNWcsd at 0.5.11,5.11-0.133"/>
        <pkg name="SUNWcs at 0.5.11,5.11-0.133"/>
        <pkg name="SUNWtcsh at 6.17.0,5.11-0.133"/>
        <pkg name="babel_install at 0.1,5.11-0.133"/>
     </ai_install_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="opg">

<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="admin"/>
<propval name="description" type="astring" value="default_user"/>

<propval name="userpass" type="astring" value="o31rYFOKApoUg"/>
<propval name="rootpass" type="astring" value="o31rYFOKApoUg"/>
<propval name="timezone" type="astring" value="US/Central"/>
</property_group>
</instance>
</service>
</service_bundle>
         -->
        </sc_embedded_manifest>
        </ai_criteria_manifest>

Reply via email to