Jan Damborsky wrote:

> Hi Jason,
> 
> looking at onnv history of pushes and inspecting onnv source gate,
> /usr/lib/brand/shared/query and /usr/lib/brand/shared/uninstall.ksh
> scripts were delivered by PSARC/2009/253 S10C
> (Solaris 10 zones on OpenSolaris binary (supported) distributions)
> into build 127:
> 
> http://hub.opensolaris.org/bin/view/Community+Group+on/126-130
> 
> Since Clay's image is based on onnv build 126, the fact those scripts
> are referred by /usr/lib/brand/ipkg/uninstall (delivered by
> SUNWipkg-brand package)
> indicates there is a mismatch between IPS bits and the ON bits
> (SUNWipkg-brand and SUNWzone packages).
> 
> CCing IPS people who could shed more light on this.

C'mon -- we know better than to copy internal and external aliases on the
same mail, and that pkg-discuss is the place for this discussion -- none of
the individual developers you copied work on zones, but all those who do
are on pkg-discuss.

> If it turns out this hypothesis is correct, then I believe zones are broken
> and can't be tested.
> For purposes of zone testing, we will need to create new image with all
> involved parties in sync.
> 
> Thank you,
> Jan
> 
> 
> Jason Zhao wrote:
> >root at sol-x4200-12:/# 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
> >
> >root at sol-x4200-12:/# pkg authority
> >PUBLISHER TYPE STATUS URI
> >opensolaris.org (preferred) origin online
> >http://indiana-build.central:10001/
> >
> >Issues:
> >1. There is something wrong in SUNWipkg-brand package, and zone could
> >not be created. And there is no package for /usr/lib/brand/shared/query
> >and /usr/lib/brand/shared/uninstall.ksh, so that zoneadm could not
> >uninstall zones.
> >root at sol-x4200-12:~# zonecfg -z z1
> >z1: No such zone configured
> >Use 'create' to begin configuring a new zone.
> >zonecfg:z1> create
> >zonecfg:z1> set zonepath=/zones/z1
> >zonecfg:z1> set brand=ipkg
> >zonecfg:z1> exit
> >root at sol-x4200-12:~# zoneadm list -cv
> >ID NAME STATUS PATH BRAND IP
> >0 global running / native shared
> >- z1 configured /zones/z1 ipkg shared
> >
> >root at sol-x4200-12:~# zoneadm -z z1 install
> >A ZFS file system has been created for this zone.
> >/usr/lib/brand/ipkg/pkgcreatezone[235]: get_zonepath_ds: not found [No
> >such file or directory]
> >cannot create '/ROOT': leading slash in name
> >/usr/lib/brand/ipkg/pkgcreatezone[255]: fail_fatal: not found [No such
> >file or directory]
> >/usr/lib/brand/ipkg/pkgcreatezone[274]: fail_fatal: not found [No such
> >file or directory]
> >cannot open '/ROOT/zbe-100': invalid dataset name
> >ERROR: Unable to mount the zone's ZFS dataset.
> >
> >root at sol-x4200-12:~# ls /usr/lib/brand/ipkg/
> >attach detach pkgcreatezone prestate
> >clone fmri_compare pkgrm.lst smf_disable.lst
> >common.ksh image_install platform.xml support
> >config.xml p2v poststate uninstall
> >
> >
> >/usr/lib/brand/shared# zoneadm -z z1 uninstall -F
> >/usr/lib/brand/ipkg/uninstall[36]: .:
> >/usr/lib/brand/shared/uninstall.ksh: cannot open [No such file or directory]
> >
> >root at sol-x4200-12:/usr/lib/brand/shared# ls <--- there is no "query" and
> >"uninstall.ksh" scripts.
> >common.ksh
> >
> >
> >
> >2. The SUNWipkg-brand package on indiana-buila.central:10001 could not
> >work on the image. After change the default publisher to
> >http://ipkg.sfbay/dev, the zone installing could go to next step
> >forward, however, http://indiana-build.central:10001 could not make zone
> >installation successfully at last. When changing back to
> >http://ipkg.sfbay/dev, since the publisher is different between the test
> >image and IPS server, the zone installation could not work, either. The
> >fail prevent the zone cases of libbe test from running at all.
> >
> >root at sol-x4200-12:~# pkg install SUNWipkg-brand
> >DOWNLOAD PKGS FILES XFER (MB)
> >Completed 1/1 1/1 0.0/0.0
> >
> >PHASE ACTIONS
> >Update Phase 2/2
> >
> >root at sol-x4200-12:/# zoneadm -z z1 install
> >A ZFS file system has been created for this zone.
> >/usr/lib/brand/ipkg/pkgcreatezone[235]: get_zonepath_ds: not found [No
> >such file or directory]
> >cannot create '/ROOT': leading slash in name
> >/usr/lib/brand/ipkg/pkgcreatezone[255]: fail_fatal: not found [No such
> >file or directory]
> >/usr/lib/brand/ipkg/pkgcreatezone[274]: fail_fatal: not found [No such
> >file or directory]
> >cannot open '/ROOT/zbe-100': invalid dataset name
> >ERROR: Unable to mount the zone's ZFS dataset.
> >
> >
> >root at sol-x4200-12:/usr/lib/brand# pkg set-authority -P -O
> >http://ipkg.sfbay/dev opensolaris.org
> >Caching catalogs ...
> >root at sol-x4200-12:/usr/lib/brand#
> >root at sol-x4200-12:/usr/lib/brand# pkg install SUNWipkg-brand
> >DOWNLOAD PKGS FILES XFER (MB)
> >Completed 1/1 15/15 0.0/0.0
> >
> >PHASE ACTIONS
> >Install Phase 35/35
> >
> >root at sol-x4200-12:/usr/lib/brand# pkg set-authority -P -O
> >http://indiana-build.central:10001 opensolaris.org
> >
> >root at sol-x4200-12:/usr/lib/brand# zoneadm -z z1 install
> >A ZFS file system has been created for this zone.
> >Publisher: Using opensolaris.org (http://indiana-build.central:10001/).
> >Image: Preparing at /zones/z1/root.
> >Cache: Using /var/pkg/download.
> >Sanity Check: Looking for 'entire' incorporation.
> >Installing: Core System (output follows)
> >
> >No updates necessary for this image.
> >ERROR: failed to install package
> >
> >root at sol-x4200-12:/usr/lib/brand# pkg set-authority -P -O
> >http://ipkg.sfbay/dev opensolaris.org
> >root at sol-x4200-12:/usr/lib/brand# zoneadm list -cv
> >ID NAME STATUS PATH BRAND IP
> >0 global running / native shared
> >- z1 configured /zones/z1 ipkg shared
> >root at sol-x4200-12:/usr/lib/brand# zoneadm -z z1 install
> >A ZFS file system has been created for this zone.
> >Publisher: Using opensolaris.org (http://ipkg.sfbay/dev/).
> >Image: Preparing at /zones/z1/root.
> >Cache: Using /var/pkg/download.
> >Sanity Check: Looking for 'entire' incorporation.
> >ERROR: Unable to locate the incorporation
> >'entire at 0.5.11,5.11-0.126:20091123T084009Z' in the preferred publisher
> >'opensolaris.org'.
> >Use -P to supply a publisher which contains this package.
> >
> >Thanks
> >Jason
> >
> >
> >
> >_______________________________________________
> >caiman-discuss mailing list
> >caiman-discuss at opensolaris.org
> >http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to