you should safely be able to delete that publisher from the zones.  (in
s11, zones inherit publishers from the global zone so they don't
actually need any local publisher configuration.)

ed

On Thu, Nov 10, 2011 at 02:13:24PM +1300, Ian Collins wrote:
> I'm trying to reattach my zones on a newly upgraded Solaris 11
> system.  They have all been through the dsconvert phase and are
> currently detached.
>
> zoneadm attach -u is failing with to references to stale publishers
> (from a log):
>
> *****************
> [Thursday, November 10, 2011 02:09:18 PM NZDT] Pinning datasets
> under rpool/zoneRoot/tait_ldap1
> ....
> [Thursday, November 10, 2011 02:09:18 PM NZDT] Converting detached
> zone boot environment 'zbe-6'.
> [Thursday, November 10, 2011 02:09:18 PM NZDT] Unmounting
> /zoneRoot/tait_ldap1/root
> [Thursday, November 10, 2011 02:09:19 PM NZDT]   setting ZFS
> property zoned=on on rpool/zoneRoot/tait_ldap1/rpool
> [Thursday, November 10, 2011 02:09:19 PM NZDT]   setting ZFS
> property canmount=noauto on rpool/zoneRoot/tait_ldap1/rpool/ROOT
> [Thursday, November 10, 2011 02:09:20 PM NZDT]   setting ZFS
> property mountpoint=legacy on rpool/zoneRoot/tait_ldap1/rpool/ROOT
> [Thursday, November 10, 2011 02:09:21 PM NZDT] Mounting boot
> environment in rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
> /zoneRoot/tait_ld
> ap1/root (including child datasets)
> [Thursday, November 10, 2011 02:09:21 PM NZDT] Preparing to mount
> rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
> /zoneRoot/tait_ldap1/root
> [Thursday, November 10, 2011 02:09:21 PM NZDT] Mounting
> rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
> /zoneRoot/tait_ldap1/root/ with ZFS t
> emporary mount
> [Thursday, November 10, 2011 02:09:21 PM NZDT] Attaching...
> [Thursday, November 10, 2011 02:09:21 PM NZDT] existing
> [Thursday, November 10, 2011 02:09:21 PM NZDT]     Installing: Using
> existing zone boot environment
> [Thursday, November 10, 2011 02:09:21 PM NZDT] Mounting boot
> environment in rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
> /zoneRoot/tait_ld
> ap1/root (including child datasets)
> [Thursday, November 10, 2011 02:09:21 PM NZDT] Preparing to mount
> rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
> /zoneRoot/tait_ldap1/root
> [Thursday, November 10, 2011 02:09:21 PM NZDT]   Sanity Check:
> Passed.  Looks like a Solaris system.
> [Thursday, November 10, 2011 02:09:21 PM NZDT]       Zone BE root
> dataset: rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6
> [Thursday, November 10, 2011 02:09:22 PM NZDT]
> Cache: Using /var/pkg/publisher.
> [Thursday, November 10, 2011 02:09:22 PM NZDT] Updating image format
> pkg: 2/4 catalogs successfully updated:
>
> Unable to contact valid package repository:
> http://pkg.opensolaris.org/contrib
> Encountered the following error(s):
> Unable to parse repository response
>
> Invalid pkg(5) response from http://pkg.opensolaris.org/release:
> Attempting operation 'versions' version 0:
> VaueError while parsing response
>
> [Thursday, November 10, 2011 02:09:43 PM NZDT] ERROR: Updating image
> format failed
> ***********************
>
> Is the failure due to the dead repository?
>
> I have removed all reference to them in the global zone:
> # pkg publisher
> PUBLISHER                             TYPE     STATUS   URI
> solaris                               origin   online
> http://pkg.oracle.com/solaris/release/
>
> --
> Ian.
>
> _______________________________________________
> zones-discuss mailing list
> zones-discuss@opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to