My Oracle Support Banner

lucreate, beadm or 'pkg update' Might Fail due to Duplicate UUID for Non Global Zones (Doc ID 1588928.1)

Last updated on NOVEMBER 27, 2017

Applies to:

Solaris Operating System - Version 10 1/13 U11 and later
Information in this document applies to any platform.

Symptoms

 On Solaris 10, live upgrade commands such as lucreate fail:

bash-3.2# lucreate -n doubleEntry
Analyzing system configuration.
Updating boot environment description database on all BEs.
Updating system configuration files.
Creating configuration for boot environment <doubleEntry>.
Source boot environment is <s10s_u10wos_17b>.
Creating file systems on boot environment <doubleEntry>.
Populating file systems on boot environment <doubleEntry>.
Temporarily mounting zones in PBE <s10s_u10wos_17b>.
zoneadm: zone 'zone4': note_uninstalling operation is invalid for zones in state 'mounted'
zoneadm: zone 'zone4': call to zoneadmd failed
ERROR: cannot mount zone <zone4>.
/usr/lib/lu/lucopy: cannot return when not in function
Reverting state of zones in PBE <s10s_u10wos_17b>.
zoneadm: zone 'zone4': must be mounted before unmount.
ERROR: cannot unmount zone <zone4>.
ERROR: Unable to copy file systems from boot environment <s10s_u10wos_17b> to BE <doubleEntry>.
ERROR: Unable to populate file systems on boot environment <doubleEntry>.
Removing incomplete BE <doubleEntry>.
ERROR: Cannot make file systems for boot environment <doubleEntry>.
bash-3.2#

 

On Solaris 11, commands such as pkg update also fail:

# pkg update
           Packages to update:   4
      Create boot environment: Yes
Create backup boot environment:  No
....
Downloading linked: 29/29 done
pkg: Unable to mount solaris_11.1.6.4.0-1 at /tmp/tmp4n_gy8
Traceback (most recent call last):
 File "/usr/bin/pkg", line 6498, in handle_errors
   __ret = func(*args, **kwargs)
 File "/usr/bin/pkg", line 6481, in main_func
   pargs=pargs, **opts)
 File "/usr/bin/pkg", line 2676, in update
   reject_list=reject_pats, update_index=update_index)
 File "/usr/bin/pkg", line 1790, in __api_op
   ret_code = __api_execute_plan(_op, _api_inst)
 File "/usr/bin/pkg", line 1431, in __api_execute_plan
   salvaged = api_inst.describe().salvaged
 File "/usr/lib/python2.6/vendor-packages/pkg/client/plandesc.py", line 465, in salvaged
   assert self.executed
AssertionError

pkg: This is an internal error in pkg(5) version 93c2e5a1fc89.  Please log a
Service Request about this issue including the information above and this
message.

  
The beadm command fails:

beadm mount

 
Enabling debugging:

# export BE_PRINT_ERR=true

  

Shows the following output:

be_find_active_zone_root: failed to find active zone root in zonepath dataset
zone4_rpool: Multiple active zone roots
 be_mount_one_zone: failed to find active zone root for zone zonw4
 be_mount_zones: failed to mount zone zonw4 under altroot
  /tmp/tmpdLz6vh

 

  

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.