Hi Jeffrey,

Jeffrey Huang wrote:
> Hi, Clay,
>
> I installed the new AI server from http://indiana-build.central:10001, 
> but seems
> "installadm list" and "installadm add" commands are broken. Any of my 
> setup or
> config steps are not correct?
>
> $ installadm list -n dragon1
> Traceback (most recent call last):
>   File "/usr/lib/installadm/list-manifests", line 35, in <module>
>     import osol_install.auto_install.AI_database as AIdb
> ImportError: No module named osol_install.auto_install.AI_database

Could you please provide more information about how was the AI server 
installed ?
I am asking, since it seems that 2.6 version of rest of install packages 
is missing -
e.g. SUNWinstall, SUNWauto-install-common.

Could you please try to run following commands in order to determine
if those packages are present and what bits they deliver ?

# pkg contents SUNWinstall
# pkg contents SUNWauto-install-common

>
> $ installadm add -m test -n dragon1
> Traceback (most recent call last):
>   File "/usr/lib/installadm/publish-manifest", line 34, in <module>
>     import lxml.etree
> ImportError: No module named lxml.etree

My guess is that this is because SUNWpython26-lxml is missing
in http://indiana-build.central:10001 - maybe due to the fact
that http://indiana-build.central:10001 is based on 126 and
SUNWpython26-lxml was introduced in 127.
It could be perhaps additionally published to 
http://indiana-build.central:10001,
however, I will let Clay comment on this, since he is the one who
was working on SUNWpython26-lxml.

Thank you,
Jan

>
> $ ls -l /usr/lib/python2.6/vendor-packages/osol_install/auto_install/
> total 112
> -rwxr-xr-x 1 root sys 20997 Nov 12 02:31 AI_database.py
> -rwxr-xr-x 1 root sys 14373 Nov 25 14:45 AI_database.pyc
> -rwxr-xr-x 1 root sys 33190 Nov 12 02:31 installadm_common.py
> -rwxr-xr-x 1 root sys 24621 Nov 25 14:45 installadm_common.pyc
> -rwxr-xr-x 1 root sys 10890 Nov 12 02:31 verifyXML.py
> -rwxr-xr-x 1 root sys  5494 Nov 25 14:45 verifyXML.pyc
>
> And no lxml under /usr/lib/python2.6/vendor-packages/ .
>
> $ pkg publisher
> PUBLISHER                             TYPE     STATUS   URI
> opensolaris.org          (preferred)  origin   online 
> http://indiana-build.central:10001/
>
> $ cat /etc/release
>                        OpenSolaris Development snv_127 X86
>            Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
>                         Use is subject to license terms.
>                            Assembled 06 November 2009
>
> $ pkg info SUNWinstalladm-tools
>           Name: SUNWinstalladm-tools
>        Summary: Automatic Installation Server Setup Tools
>    Description: Automatic Installation Server Setup Tools
>       Category: System/Administration and Configuration
>          State: Installed
>      Publisher: opensolaris.org
>        Version: 0.5.11
>  Build Release: 5.11
>         Branch: 0.126
> Packaging Date: Tue Nov 24 09:07:18 2009
>           Size: 813.62 kB
>           FMRI: 
> pkg://opensolaris.org/SUNWinstalladm-tools at 
> 0.5.11,5.11-0.126:20091124T090718Z 
>
>
> $ installadm list
> The install services running on the system are:
>
> dragon1
> 0906x86
>
> Rgs
> Jeffrey
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


Reply via email to