Frank and William:
The fix for 7093477 is in snv_175 and I just looked at an AI server that
is pkg image-update to snv_175.
admin@narn:/usr/lib/python2.6/vendor-packages/osol_install/auto_install#
view create_service.py
admin@narn:/usr/lib/python2.6/vendor-packages/osol_install/auto_install#
pkg info -l installadm
Name: install/installadm
Summary: installadm utility
Description: Automatic Installation Server Setup Tools
Category: System/Administration and Configuration
State: Installed
Publisher: solaris
Version: 0.5.11
Build Release: 5.11
Branch: 0.175.0.0.0.0.1469
Packaging Date: September 27, 2011 01:03:36 PM
Size: 1.04 MB
FMRI:
pkg://solaris/install/[email protected],5.11-0.175.0.0.0.0.1469:20110927T130336Z
admin@narn:/usr/lib/python2.6/vendor-packages/osol_install/auto_install#
pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online
http://ipkg.us.oracle.com/solaris11/dev/
admin@narn:/usr/lib/python2.6/vendor-packages/osol_install/auto_install#
I check create_service.py and it had the fix:
def set_permissions(imagepath):
''' Set the permissions for the imagepath to 755 (rwxr-xr-x).
Read, Execute other permissions are necessary for the
webserver and tftpd to be able to read the imagepath.
Raises SystemExit if the stat and fstat st_ino differ.
'''
Then I create new snv_175 AI service as follow:
admin@narn:/var/tmp# sh -x ./marytest175.sh
+ rm /var/tmp/servicesparc /var/tmp/servicesparcclient
/var/tmp/servicex86 /var/tmp/servicex86client
+ X86SERVICE=/var/tmp/servicex86
+ SPARCSERVICE=/var/tmp/servicesparc
+ PROFILE=/export/profiles/osol_ai_schema
+ uname -n
+ HOST=narn
+ cat
+ 0<< \EOF
sol-11-dev-175-ai-x86
EOF
1> /var/tmp/servicex86
+ cat
+ 0<< \EOF
sol-11-dev-175-ai-sparc
EOF
1> /var/tmp/servicesparc
+ cat /var/tmp/servicex86
+ tee -a /var/tmp/installadm.log
+ installadm create-service -n sol-11-dev-175-ai-x86-narn -s
/net/ins3525-svr/export/osol/x/sol-11-dev-175-ai-x86.iso -d
/export/home/images/sol-11-dev-175-ai-x86
Warning: Service svc:/network/dns/multicast:default is not online.
Installation services will not be advertised via multicast DNS.
Setting up the image ...
Refreshing install services
Warning: mDNS registry of service sol-11-dev-175-ai-x86-narn could not
be verified.
Creating service from:
/net/ins3525-svr/export/osol/x/sol-11-dev-175-ai-x86.iso
Creating service: sol-11-dev-175-ai-x86-narn
Image path: /export/home/images/sol-11-dev-175-ai-x86
+ installadm create-profile -f
/export/home/images/sol-11-dev-175-ai-x86/auto_install/sc_profiles/sc_sample.xml
-n sol-11-dev-175-ai-x86-narn
+ tee -a /var/tmp/installadm.log
Profile sc_sample.xml added to database.
+ cat /var/tmp/servicesparc
+ tee -a /var/tmp/installadm.log
+ installadm create-service -n sol-11-dev-175-ai-sparc-narn -s
/net/ins3525-svr/export/osol/s/sol-11-dev-175-ai-sparc.iso -d
/export/home/images/sol-11-dev-175-ai-sparc
Warning: Service svc:/network/dns/multicast:default is not online.
Installation services will not be advertised via multicast DNS.
Setting up the image ...
Service discovery fallback mechanism set up
Creating SPARC configuration file
Refreshing install services
Warning: mDNS registry of service sol-11-dev-175-ai-sparc-narn could not
be verified.
Creating service from:
/net/ins3525-svr/export/osol/s/sol-11-dev-175-ai-sparc.iso
Creating service: sol-11-dev-175-ai-sparc-narn
Image path: /export/home/images/sol-11-dev-175-ai-sparc
+ installadm create-profile -f
/export/home/images/sol-11-dev-175-ai-sparc/auto_install/sc_profiles/sc_sample.xml
-n sol-11-dev-175-ai-sparc-narn
+ tee -a /var/tmp/installadm.log
Profile sc_sample.xml added to database.
admin@narn:/var/tmp#
The services also had the correct permission as follow:
admin@narn:/var/tmp# cd /etc/netboot
admin@narn:/etc/netboot# ls -liad *175*
41240 drwxr-xr-x 18 root root 28 Oct 4 11:04
sol-11-dev-175-ai-sparc-narn
40961 drwxr-xr-x 18 root root 28 Oct 4 11:04
sol-11-dev-175-ai-x86-narn
admin@narn:/etc/netboot#
So can you get the output of pkg info -l installadm and make sure you
get the 175 version ??? Thanks !!!
On 10/ 4/11 02:17 AM, William Schumann wrote:
Frank,
It appears to have missed the first cut of 175, but should be in the
175 respin. It's definitely in the source.
William
On 10/4/2011 10:34 AM, Frank Allan wrote:
William
it is not fixed in 175, at least not in the 175 which was posted on
nana last week.
did you mean 176 or 175 respin or whatever the next release is called
(Solaris 11 FCS ??)
Cheers
Frank
On 4/10/11 17:43 , William Schumann wrote:
Frank,
This is CR 7093477, fixed in 175.
Thanks for reporting it,
William
On 10/4/2011 7:45 AM, Frank Allan wrote:
I created a b174 AI x86 service on my internal b174 server and it
worked just fine
using the same procedure to create a b175 service once the server
had been updated to b175, the service directory in /etc/netboot is
owned by webserverd:webservd with permissions 770, whereas the b174
directory is owned by root:root with permissions 755.
changing the ownership and permissions on the directory allows the
AI service to work as expected, but not sure why it got this
ownership in the first place.
Is this a known issue? I couldn't see any reference to it in the
Release Notes.
Cheers
Frank
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss