Blog

Solaris 11 Express: Problem #3

Jan 03, 2011 | 3 minutes read
Share this:

Tags: IPS, Zone, Bug, Upgrade


solaris - - 9.88M static 2010-12-01 09:32 solaris-1 NR / 5.44G static 2011-01-03 19:35

zoneadm list -vc

ID NAME STATUS PATH BRAND IP
0 global running / ipkg shared

  • zone1 installed /dpool/store/zone/zone1 ipkg shared

zoneadm -z zone1 detach

zoneadm -z zone1 attach -u

Log File: /var/tmp/zone1.attach_log.lfa49e Attaching…

preferred global publisher: solaris Global zone version: entire@0.5.11,5.11-0.151.0.1.1:20101222T214417Z Non-Global zone version: entire@0.5.11,5.11-0.151.0.1:20101105T054056Z

                 Cache: Using /var/pkg/download.

Updating non-global zone: Output follows Creating Plan
ERROR: Could not update attaching zone Result: Attach Failed.

cat /var/tmp/zone1.attach_log.lfa49e

[Monday, January 3, 2011 08:42:24 PM CET] Log File: /var/tmp/zone1.attach_log.lfa49e [Monday, January 3, 2011 08:42:25 PM CET] Attaching… [Monday, January 3, 2011 08:42:25 PM CET] existing [Monday, January 3, 2011 08:42:25 PM CET] [Monday, January 3, 2011 08:42:25 PM CET] Sanity Check: Passed. Looks like an OpenSolaris system. [Monday, January 3, 2011 08:42:31 PM CET] preferred global publisher: solaris [Monday, January 3, 2011 08:42:32 PM CET] Global zone version: entire@0.5.11,5.11-0.151.0.1.1:20101222T214417Z [Monday, January 3, 2011 08:42:32 PM CET] Non-Global zone version: entire@0.5.11,5.11-0.151.0.1:20101105T054056Z

[Monday, January 3, 2011 08:42:32 PM CET] Cache: Using /var/pkg/download. [Monday, January 3, 2011 08:42:32 PM CET] Updating non-global zone: Output follows pkg set-publisher: Unable to locate certificate ‘/dpool/store/zone/zone1/root/dpool/store/zone/zone1/root/var/pkg/ssl/Oracle_Solaris_11_Express_Support.certificate.pem’ needed to access ‘https://pkg.oracle.com/solaris/support/'. pkg unset-publisher: Removal failed for ‘za23954’: The preferred publisher cannot be removed.

pkg: The following pattern(s) did not match any packages in the current catalog. Try relaxing the pattern, refreshing and/or examining the catalogs: entire@0.5.11,5.11-0.151.0.1.1:20101222T214417Z [Monday, January 3, 2011 08:44:04 PM CET] ERROR: Could not update attaching zone [Monday, January 3, 2011 08:44:06 PM CET] Result: Attach Failed.

pkg: This is an internal error. Please let the developers know about this problem by filing a bug at http://defect.opensolaris.org and including the above traceback and this message. The version of pkg(5) is ‘052adf36c3f4’. ERROR: failed to create image

Next Steps: Boot the zone, then log into the zone console (zlogin -C) to complete the configuration process.

preferred global publisher: solaris Global zone version: entire@0.5.11,5.11-0.151.0.1.2:20110127T225841Z Non-Global zone version: entire@0.5.11,5.11-0.151.0.1.2:20110127T225841Z

                 Cache: Using /var/pkg/download.

Updating non-global zone: Output follows No updates necessary for this image.
Updating non-global zone: Zone updated. Result: Attach Succeeded.

zoneadm list -vc

ID NAME STATUS PATH BRAND IP
0 global running / ipkg shared

  • zone1 installed /dpool/export/zone/zone1 ipkg shared

In this series, I will report the bugs or problems I find when running the Oracle Solaris 11 Express distribution. I hope this will give more visibility on those PR to Oracle to correct them before the release of Solaris 11 next year.

I recently switch from the official Oracle release repository to the support repository for Solaris 11 Express. Before the switch, one non-global zone was created. Since there were some updates to this repository, I pkg update'ed, rebooted to the new boot environment, and tried to update the non-global zone:

# beadm list                                                                         
BE        Active Mountpoint Space Policy Created