On 12/ 8/09 11:50 AM, xx wrote:
when updating from 126 to 128, one zone would attach:

init...@dogpatch:~/.VirtualBox/HardDisks$ pfexec zoneadm -z ldap attach -U
Log File: /var/tmp/ldap.attach_log.9hay7p
Attaching...

       Global zone version: ent...@0.5.11,5.11-0.128:20091125T051747Z
   Non-Global zone version: ent...@0.5.11,5.11-0.111:20090514T145840Z
           Publisher Check: Zone preferred publisher does not contain
                            ent...@0.5.11,5.11-0.128:20091125T051747Z.
           Publisher Reset: Copying preferred publisher from global zone.
                     Cache: Using /var/pkg/download.
  Updating non-global zone: (Stage 1).  Output follows
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed 112/112 10121/10121 126.3/126.3
PHASE                                        ACTIONS
Removal Phase 4727/4727 Install Phase 10622/10622 Update Phase 5073/5073 Updating non-global zone: (Stage 2). Output follows
No updates necessary for this image.
ERROR: Could not update attaching zone
init...@dogpatch:~/.VirtualBox/HardDisks$ zoneadm list -v
ID NAME STATUS PATH BRAND IP 0 global running / ipkg shared
init...@dogpatch:~/.VirtualBox/HardDisks$ pfexec zoneadm -z ldap attach
Log File: /var/tmp/ldap.attach_log.8ea4wq
Attaching...

       Global zone version: ent...@0.5.11,5.11-0.128:20091125T051747Z
   Non-Global zone version: ent...@0.5.11,5.11-0.128:20091125T051747Z
                Evaluation: Packages in ldap are in sync with global zone.
Attach complete.


and one won't attach:

init...@dogpatch:~/.VirtualBox/HardDisks$ pfexec zoneadm -z ldapclient attach -U
Log File: /var/tmp/ldapclient.attach_log.E6aOvx
Attaching...

       Global zone version: ent...@0.5.11,5.11-0.128:20091125T051747Z
   Non-Global zone version: ent...@0.5.11,5.11-0.126:20091022T214456Z
Qt WARNING: QClipboard: Unknown SelectionClear event received
           Publisher Check: Zone preferred publisher does not contain
                            ent...@0.5.11,5.11-0.128:20091125T051747Z.
           Publisher Reset: Copying preferred publisher from global zone.
                     Cache: Using /var/pkg/download.
  Updating non-global zone: (Stage 1).  Output follows
Creating Plan ERROR: Could not update attaching zone
init...@dogpatch:~/.VirtualBox/HardDisks$ pfexec zoneadm -z ldapclient attach
Log File: /var/tmp/ldapclient.attach_log.aeayVx
Attaching...

       Global zone version: ent...@0.5.11,5.11-0.128:20091125T051747Z
   Non-Global zone version: ent...@0.5.11,5.11-0.126:20091022T214456Z
                Evaluation: ldapclient is downrev of the global zone.
ERROR: Zone is downrev of global zone.  Specify -u to update it.


how do you go about figuring out why it won't update? i tried both "-U" and 
"-u".

You might be hitting bug 13190 (http://defect.opensolaris.org/bz/show_bug.cgi?id=13190). Try Jerry Jelinek's workaround as described in the bug report. (NOTE: The attach script that he mentions is /usr/lib/brand/ipkg/attach)

Make sure that the publishers used by your zones exist and can be reached from the global zone.

Hope that helps,
Jordan
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to