Discussion:
zone IPS issues after Solaris 11 Express -> Solaris 11 release upgrade
Brett Eisenberg
2011-11-28 19:12:19 UTC
Permalink
It would appear that there are some strange IPS issues within after upgrading from 11E to 11R. If anyone has any pointers on possible paths forward, it would be much appreciated.

Best,
Brett


***@global:~# zoneadm -z zone1 halt
***@global:~# zoneadm -z zone1 detach
***@global:~# zoneadm -z zone1 attach -u
Progress being logged to /var/log/zones/zoneadm.20111128T180910Z.zone1.attach
Attaching...
Installing: Using existing zone boot environment
Zone BE root dataset: data/zones/zone1/rpool/ROOT/zbe-8
Cache: Using /var/pkg/publisher.
Updating image format
Image format already current.
Updating non-global zone: Linking to image /.
Updating non-global zone: Syncing packages.
No updates necessary for this image.

Updating non-global zone: Zone updated.
Result: Attach Succeeded.
Log saved in non-global zone as /zones/zone1/root/var/log/zones/zoneadm.20111128T180910Z.zone1.attach
***@global:~# zoneadm -z zone1 boot
***@global:~# zlogin zone1
[Connected to zone 'zone1' pts/12]
Oracle Corporation SunOS 5.11 11.0 November 2011
***@zone1:~# pkg list -u
NAME (PUBLISHER) VERSION IFO
consolidation/SunVTS/SunVTS-incorporation 0.5.11-0.172.0.0.0.0.0 i--
consolidation/ips/ips-incorporation 0.5.11-0.175.0.0.0.2.2576 i--
consolidation/osnet/osnet-incorporation 0.5.11-0.175.0.0.0.2.1 i--
entire 0.5.11-0.175.0.0.0.2.0 i--
package/pkg 0.5.11-0.175.0.0.0.2.2576 i--
system/core-os 0.5.11-0.175.0.0.0.2.1 i--
system/file-system/nfs 0.5.11-0.175.0.0.0.2.1 i--
system/file-system/zfs 0.5.11-0.175.0.0.0.2.1 i--
system/kernel 0.5.11-0.175.0.0.0.2.1 i--
system/zones 0.5.11-0.175.0.0.0.2.1 i--
***@zone1:~# pkg update
Creating Plan \
pkg update: No solution was found to satisfy constraints
Plan Creation: Package solver has not found a solution to update to latest available versions.
This may indicate an overly constrained set of packages are installed.

latest incorporations:

pkg://solaris/consolidation/SunVTS/SunVTS-***@0.5.11,5.11-0.175.0.1.0.4.0:20111108T154138Z
Dependency analysis is unable to determine exact cause.
Try specifying expected results to obtain more detailed error messages.
Mike Gerdts
2011-11-28 19:55:12 UTC
Permalink
Post by Brett Eisenberg
It would appear that there are some strange IPS issues within after upgrading from 11E to 11R. If anyone has any pointers on possible paths forward, it would be much appreciated.
Best,
Brett
This would have brought the OS bits in sync between the global zone and zone1.
Post by Brett Eisenberg
Progress being logged to /var/log/zones/zoneadm.20111128T180910Z.zone1.attach
Attaching...
   Installing: Using existing zone boot environment
     Zone BE root dataset: data/zones/zone1/rpool/ROOT/zbe-8
                    Cache: Using /var/pkg/publisher.
Updating image format
Image format already current.
 Updating non-global zone: Linking to image /.
 Updating non-global zone: Syncing packages.
No updates necessary for this image.
 Updating non-global zone: Zone updated.
                   Result: Attach Succeeded.
Log saved in non-global zone as /zones/zone1/root/var/log/zones/zoneadm.20111128T180910Z.zone1.attach
[Connected to zone 'zone1' pts/12]
Oracle Corporation      SunOS 5.11      11.0    November 2011
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/SunVTS/SunVTS-incorporation         0.5.11-0.172.0.0.0.0.0     i--
consolidation/ips/ips-incorporation               0.5.11-0.175.0.0.0.2.2576  i--
consolidation/osnet/osnet-incorporation           0.5.11-0.175.0.0.0.2.1     i--
entire                                            0.5.11-0.175.0.0.0.2.0     i--
package/pkg                                       0.5.11-0.175.0.0.0.2.2576  i--
system/core-os                                    0.5.11-0.175.0.0.0.2.1     i--
system/file-system/nfs                            0.5.11-0.175.0.0.0.2.1     i--
system/file-system/zfs                            0.5.11-0.175.0.0.0.2.1     i--
system/kernel                                     0.5.11-0.175.0.0.0.2.1     i--
system/zones                                      0.5.11-0.175.0.0.0.2.1     i--
Creating Plan \
pkg update: No solution was found to satisfy constraints
Plan Creation: Package solver has not found a solution to update to latest available versions.
This may indicate an overly constrained set of packages are installed.
Dependency analysis is unable to determine exact cause.
Try specifying expected results to obtain more detailed error messages.
Solaris 11 introduces "parent dependencies", as described on page 38
of the draft "Packaging and Delivering Software with the Image
Packaging System" available at
http://defect.opensolaris.org/bz/attachment.cgi?id=4607. I believe
that what pkg is inelegantly telling you is that you can't update to
the latest version of the desired packages because that would break
the parent dependencies. That is, unlike Solaris 11 Express, Solaris
11 has mechanisms in place to be sure that the global zone and
non-global zone software that must be in sync is in sync. If you want
the zone to run the latest version of the packages that make up
Solaris, the global zone must also be updated.

If you need a more detailed or certain answer, you may want to ask on
pkg-discuss-***@public.gmane.org
--
Mike Gerdts
http://mgerdts.blogspot.com/
Loading...