[OmniOS-discuss] ERROR: Could not update attaching zone

Dominik Hassler hasslerd at gmx.li
Mon Nov 20 18:02:38 UTC 2017


> Child image publisher configuration must be a superset of the parent
image publisher configuration.

your NGZ is lacking the ms.omniti.com publisher which you have set for
the GZ.

after doing a:
# pkg -R /export/zones/web01/root set-publisher -g
http://pkg.omniti.com/omniti-ms/ ms.omniti.com

attaching the zone should work.

On 11/20/2017 06:26 PM, Serge Fonville wrote:
> Hi,
> 
> When I tried to attach a zone I got the following errors:
> 
>     zoneadm -z web01 attach
> 
> Log File: /var/tmp/web01.attach_log.olaaFy
>                Attach Path: /export/zones/web01/root
>         Attach ZFS Dataset: rpool/export/zones/web01/ROOT/zbe-9
> 
>                 Installing: Using pre-existing data in zonepath
>                      Cache: Using /var/pkg/publisher.
>   Updating non-global zone: Output follows
> 
>                 Evaluation: Packages in zone web01 are out of sync with
> the global zone. To proceed, retry with the -u flag.
>                     Result: Attach Failed.
> With the log file containing:
> [Mon Nov 20 18:02:28 CET 2017] Log File: /var/tmp/web01.attach_log.olaaFy
> [Mon Nov 20 18:02:32 CET 2017]                Attach Path:
> /export/zones/web01/root
> [Mon Nov 20 18:02:32 CET 2017]         Attach ZFS Dataset:
> rpool/export/zones/web01/ROOT/zbe-9
> 
> [Mon Nov 20 18:02:32 CET 2017] existing
> [Mon Nov 20 18:02:32 CET 2017]                 Installing: Using
> pre-existing data in zonepath
> [Mon Nov 20 18:02:32 CET 2017]   Sanity Check: Passed.  Looks like an
> OpenSolaris system.
> pkg: Search performance is degraded.
> Run 'pkg rebuild-index' to improve search speed.
> [Mon Nov 20 18:02:39 CET 2017]                      Cache: Using
> /var/pkg/publisher.
> [Mon Nov 20 18:02:39 CET 2017]   Updating non-global zone: Output follows
> 
> 
> pkg install: Invalid child image publisher configuration.  Child image
> publisher
> configuration must be a superset of the parent image publisher
> configuration.
> Please update the child publisher configuration to match the parent.  If the
> child image is a zone this can be done automatically by detaching and
> attaching the zone.
> 
> The parent image has the following enabled publishers:
>     PUBLISHER 0: omnios
>     PUBLISHER 1: ms.omniti.com <http://ms.omniti.com>
> 
> The child image has the following enabled publishers:
>     PUBLISHER 0: omnios
> [Mon Nov 20 18:02:42 CET 2017]
>                 Evaluation: Packages in zone web01 are out of sync with
> the global zone. To proceed, retry with the -u flag.
> [Mon Nov 20 18:02:44 CET 2017]                     Result: Attach Failed.
> 
> So I try to run  it with -u
> 
>     zoneadm -z web01 attach -u
> 
>  Log File: /var/tmp/web01.attach_log.TNaqaR
>                Attach Path: /export/zones/web01/root
>         Attach ZFS Dataset: rpool/export/zones/web01/ROOT/zbe-9
> 
>                 Installing: Using pre-existing data in zonepath
>                      Cache: Using /var/pkg/publisher.
>   Updating non-global zone: Output follows
> ERROR: Could not update attaching zone
>                     Result: Attach Failed.
> 
> With the log file containing:
> [Mon Nov 20 18:20:23 CET 2017] Log File: /var/tmp/web01.attach_log.TNaqaR
> [Mon Nov 20 18:20:27 CET 2017]                Attach Path:
> /export/zones/web01/root
> [Mon Nov 20 18:20:27 CET 2017]         Attach ZFS Dataset:
> rpool/export/zones/web01/ROOT/zbe-9
> 
> [Mon Nov 20 18:20:27 CET 2017] existing
> [Mon Nov 20 18:20:27 CET 2017]                 Installing: Using
> pre-existing data in zonepath
> [Mon Nov 20 18:20:27 CET 2017]   Sanity Check: Passed.  Looks like an
> OpenSolaris system.
> [Mon Nov 20 18:20:31 CET 2017]                      Cache: Using
> /var/pkg/publisher.
> [Mon Nov 20 18:20:31 CET 2017]   Updating non-global zone: Output follows
> 
> 
> pkg install: Invalid child image publisher configuration.  Child image
> publisher
> configuration must be a superset of the parent image publisher
> configuration.
> Please update the child publisher configuration to match the parent.  If the
> child image is a zone this can be done automatically by detaching and
> attaching the zone.
> 
> The parent image has the following enabled publishers:
>     PUBLISHER 0: omnios
>     PUBLISHER 1: ms.omniti.com <http://ms.omniti.com>
> 
> The child image has the following enabled publishers:
>     PUBLISHER 0: omnios
> [Mon Nov 20 18:20:35 CET 2017] ERROR: Could not update attaching zone
> [Mon Nov 20 18:20:36 CET 2017]                     Result: Attach Failed.
> 
> On global zone:
> 
>     pkg publisher
> 
> PUBLISHER                   TYPE     STATUS P LOCATION
> omnios                      origin   online F
> https://pkg.omniosce.org/r151022/core/
> 
> Any help in resolving this greatly appreciated!!
> 
> Thanks in advance!!
> 
> Kind regards/met vriendelijke groet,
> 
> Serge Fonville
> 
> http://www.sergefonville.nl
> 
> 
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
> 


More information about the OmniOS-discuss mailing list