Re: [zones-discuss] Zones patching issues using attach -u

2010-01-22 Thread Gael
On Tue, Sep 15, 2009 at 1:02 PM, Jerry Jelinek gerald.jeli...@sun.comwrote:

  Gael wrote:

 Hello

 I have been experimenting a few ways to speed up patching a bunch of
 machines running whole zones (parallel patching, zoneadm attach -u).
 I have encountered one issue with the attach -u way... Before initiating a
 case with sun, I was wondering if it was a well known issue...

 The GZ is initially running Solaris 10 U6 with kernel patch 13-08 (and
 other patches from the same period).

 I start by applying 119254-70, 119313-28 and 12-05 while the machine
 is
 in multiuser mode, then I shutdown and detach the zones.
 I bring back the machine in single user mode and apply a collection of
 about
 190 patches (smpatch analyze output from a few days ago) which brings the
 machine at the kernel version 141414-10.

 The patching appears to go fine for the GZ

 apss8003:/var/sadm/patch #pkginfo -p
 apss8003:/var/sadm/patch #

 But when zoneadm attaching -u the zones, pkginfo reports multiple
 partially
 failing packages adds ...

 apss8003:/var/sadm/patch #zlogin test pkginfo -p
 system  SUNWcsr Core Solaris, (Root)
 system  SUNWgsscGSSAPI CONFIG V2
 system  SUNWkrbrKerberos version 5 support
 (Root)
 system  SUNWntprNTP, (Root)
 system  SUNWppror   PatchPro core functionality
 (Root)
 system  SUNWsacom   Solstice Enterprise Agents
 1.0.3
 files for root file system

 # cat /zones/test/root//var/sadm/system/logs/update_log | egrep
 partially|corrupt|pathname does not exist|

 = SUNWcsr 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWcsr/save/pspool/SUNWcsr/reloc/var/svc/manifest/network/ldap/client.xml
 is corrupt
pathname does not exist
 Installation of SUNWcsr on zone test partially failed.

 = SUNWgssc 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWgssc/save/pspool/SUNWgssc/reloc/var/svc/manifest/network/rpc/gss.xml
 is corrupt
pathname does not exist
 Installation of SUNWgssc on zone test partially failed.

 = SUNWkrbr 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWkrbr/save/pspool/SUNWkrbr/reloc/var/svc/manifest/network/security/kadmin.xml
 is corrupt
pathname does not exist
 Installation of SUNWkrbr on zone test partially failed.

 = SUNWntpr 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWntpr/save/pspool/SUNWntpr/reloc/var/svc/manifest/network/ntp.xml
 is corrupt
pathname does not exist
 Installation of SUNWntpr on zone test partially failed.

 = SUNWppror 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWppror/save/pspool/SUNWppror/reloc/var/svc/manifest/system/installupdates.xml
 is corrupt
pathname does not exist
 Installation of SUNWppror on zone test partially failed

 = SUNWsacom 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWsacom/save/pspool/SUNWsacom/reloc/var/svc/manifest/application/management/snmpdx.xml
 is corrupt
pathname does not exist
 Installation of SUNWsacom on zone test partially failed.

 If creating a new zone after the patching, there is no partial packages in
 that newly build zone.

 The patch list being a little bit lengthy, I can send it privately when
 asked...


 This is bug:

 6857294 zoneadm attach leads to partially installed packages

 I believe a T patch might be available for the S10 SVr4 packaging code
 if you need it, but I see that the fix has not yet been integrated
 into the nv SVr4 packaging code.  It is scheduled for b124.

 Jerry



Good morning

Was that fix ever released ?

Regards

-- 
Gael Martinez
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Zones patching issues using attach -u

2010-01-22 Thread Frank Batschulat (Home)
On Fri, 22 Jan 2010 18:30:39 +0100, Gael gael.marti...@gmail.com wrote:

 This is bug:

 6857294 zoneadm attach leads to partially installed packages

 I believe a T patch might be available for the S10 SVr4 packaging code
 if you need it, but I see that the fix has not yet been integrated
 into the nv SVr4 packaging code.  It is scheduled for b124.

 Was that fix ever released ?

Yes, Solaris 10U9 will have it, ONNV/OSOL build 125 has it.
and the following Solaris 10 patches have been released offically
containing the fix for 6857294

119254-72 (sparc)
119255-72 (x86)

(3 days ago)

---
frankB
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones patching issues using attach -u

2010-01-22 Thread Gael
On Fri, Jan 22, 2010 at 11:42 AM, Frank Batschulat (Home) 
frank.batschu...@sun.com wrote:

 On Fri, 22 Jan 2010 18:30:39 +0100, Gael gael.marti...@gmail.com wrote:

  This is bug:
 
  6857294 zoneadm attach leads to partially installed packages
 
  I believe a T patch might be available for the S10 SVr4 packaging code
  if you need it, but I see that the fix has not yet been integrated
  into the nv SVr4 packaging code.  It is scheduled for b124.
 
  Was that fix ever released ?

 Yes, Solaris 10U9 will have it, ONNV/OSOL build 125 has it.
 and the following Solaris 10 patches have been released offically
 containing the fix for 6857294

 119254-72 (sparc)
 119255-72 (x86)

 (3 days ago)

 ---
 frankB


Exciting news, going to try that patch today :) Thanks!

-- 
Gael Martinez
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Zones patching issues using attach -u

2009-09-15 Thread Jerry Jelinek

Gael wrote:

Hello

I have been experimenting a few ways to speed up patching a bunch of
machines running whole zones (parallel patching, zoneadm attach -u).
I have encountered one issue with the attach -u way... Before initiating a
case with sun, I was wondering if it was a well known issue...

The GZ is initially running Solaris 10 U6 with kernel patch 13-08 (and
other patches from the same period).

I start by applying 119254-70, 119313-28 and 12-05 while the machine is
in multiuser mode, then I shutdown and detach the zones.
I bring back the machine in single user mode and apply a collection of about
190 patches (smpatch analyze output from a few days ago) which brings the
machine at the kernel version 141414-10.

The patching appears to go fine for the GZ

apss8003:/var/sadm/patch #pkginfo -p
apss8003:/var/sadm/patch #

But when zoneadm attaching -u the zones, pkginfo reports multiple partially
failing packages adds ...

apss8003:/var/sadm/patch #zlogin test pkginfo -p
system  SUNWcsr Core Solaris, (Root)
system  SUNWgsscGSSAPI CONFIG V2
system  SUNWkrbrKerberos version 5 support
(Root)
system  SUNWntprNTP, (Root)
system  SUNWppror   PatchPro core functionality
(Root)
system  SUNWsacom   Solstice Enterprise Agents 1.0.3
files for root file system

# cat /zones/test/root//var/sadm/system/logs/update_log | egrep
partially|corrupt|pathname does not exist|

= SUNWcsr 
pkgadd: ERROR: source path
/var/sadm/pkg/SUNWcsr/save/pspool/SUNWcsr/reloc/var/svc/manifest/network/ldap/client.xml
is corrupt
pathname does not exist
Installation of SUNWcsr on zone test partially failed.

= SUNWgssc 
pkgadd: ERROR: source path
/var/sadm/pkg/SUNWgssc/save/pspool/SUNWgssc/reloc/var/svc/manifest/network/rpc/gss.xml
is corrupt
pathname does not exist
Installation of SUNWgssc on zone test partially failed.

= SUNWkrbr 
pkgadd: ERROR: source path
/var/sadm/pkg/SUNWkrbr/save/pspool/SUNWkrbr/reloc/var/svc/manifest/network/security/kadmin.xml
is corrupt
pathname does not exist
Installation of SUNWkrbr on zone test partially failed.

= SUNWntpr 
pkgadd: ERROR: source path
/var/sadm/pkg/SUNWntpr/save/pspool/SUNWntpr/reloc/var/svc/manifest/network/ntp.xml
is corrupt
pathname does not exist
Installation of SUNWntpr on zone test partially failed.

= SUNWppror 
pkgadd: ERROR: source path
/var/sadm/pkg/SUNWppror/save/pspool/SUNWppror/reloc/var/svc/manifest/system/installupdates.xml
is corrupt
pathname does not exist
Installation of SUNWppror on zone test partially failed

= SUNWsacom 
pkgadd: ERROR: source path
/var/sadm/pkg/SUNWsacom/save/pspool/SUNWsacom/reloc/var/svc/manifest/application/management/snmpdx.xml
is corrupt
pathname does not exist
Installation of SUNWsacom on zone test partially failed.

If creating a new zone after the patching, there is no partial packages in
that newly build zone.

The patch list being a little bit lengthy, I can send it privately when
asked...


This is bug:

6857294 zoneadm attach leads to partially installed packages

I believe a T patch might be available for the S10 SVr4 packaging code
if you need it, but I see that the fix has not yet been integrated
into the nv SVr4 packaging code.  It is scheduled for b124.

Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones patching issues using attach -u

2009-09-15 Thread Mike Gerdts
On Tue, Sep 15, 2009 at 2:02 PM, Jerry Jelinek gerald.jeli...@sun.com wrote:
 Gael wrote:

 Hello

 I have been experimenting a few ways to speed up patching a bunch of
 machines running whole zones (parallel patching, zoneadm attach -u).
 I have encountered one issue with the attach -u way... Before initiating a
 case with sun, I was wondering if it was a well known issue...

 The GZ is initially running Solaris 10 U6 with kernel patch 13-08 (and
 other patches from the same period).

 I start by applying 119254-70, 119313-28 and 12-05 while the machine
 is
 in multiuser mode, then I shutdown and detach the zones.
 I bring back the machine in single user mode and apply a collection of
 about
 190 patches (smpatch analyze output from a few days ago) which brings the
 machine at the kernel version 141414-10.

 The patching appears to go fine for the GZ

 apss8003:/var/sadm/patch #pkginfo -p
 apss8003:/var/sadm/patch #

 But when zoneadm attaching -u the zones, pkginfo reports multiple
 partially
 failing packages adds ...

 apss8003:/var/sadm/patch #zlogin test pkginfo -p
 system      SUNWcsr                         Core Solaris, (Root)
 system      SUNWgssc                        GSSAPI CONFIG V2
 system      SUNWkrbr                        Kerberos version 5 support
 (Root)
 system      SUNWntpr                        NTP, (Root)
 system      SUNWppror                       PatchPro core functionality
 (Root)
 system      SUNWsacom                       Solstice Enterprise Agents
 1.0.3
 files for root file system

 # cat /zones/test/root//var/sadm/system/logs/update_log | egrep
 partially|corrupt|pathname does not exist|

 = SUNWcsr 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWcsr/save/pspool/SUNWcsr/reloc/var/svc/manifest/network/ldap/client.xml
 is corrupt
    pathname does not exist
 Installation of SUNWcsr on zone test partially failed.

 = SUNWgssc 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWgssc/save/pspool/SUNWgssc/reloc/var/svc/manifest/network/rpc/gss.xml
 is corrupt
    pathname does not exist
 Installation of SUNWgssc on zone test partially failed.

 = SUNWkrbr 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWkrbr/save/pspool/SUNWkrbr/reloc/var/svc/manifest/network/security/kadmin.xml
 is corrupt
    pathname does not exist
 Installation of SUNWkrbr on zone test partially failed.

 = SUNWntpr 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWntpr/save/pspool/SUNWntpr/reloc/var/svc/manifest/network/ntp.xml
 is corrupt
    pathname does not exist
 Installation of SUNWntpr on zone test partially failed.

 = SUNWppror 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWppror/save/pspool/SUNWppror/reloc/var/svc/manifest/system/installupdates.xml
 is corrupt
    pathname does not exist
 Installation of SUNWppror on zone test partially failed

 = SUNWsacom 
 pkgadd: ERROR: source path

 /var/sadm/pkg/SUNWsacom/save/pspool/SUNWsacom/reloc/var/svc/manifest/application/management/snmpdx.xml
 is corrupt
    pathname does not exist
 Installation of SUNWsacom on zone test partially failed.

 If creating a new zone after the patching, there is no partial packages in
 that newly build zone.

 The patch list being a little bit lengthy, I can send it privately when
 asked...

 This is bug:

 6857294 zoneadm attach leads to partially installed packages

 I believe a T patch might be available for the S10 SVr4 packaging code
 if you need it, but I see that the fix has not yet been integrated
 into the nv SVr4 packaging code.  It is scheduled for b124.

 Jerry

I stumbled across this a while back with SUNWservicetagr.  My workaround was:

d=/var/sadm/pkg/SUNWservicetagr/save/pspool/SUNWservicetagr/reloc/var/svc/manifest/network
mkdir -p $d
cp /var/svc/manifest/network/st*.xml $d

In the last week or so the CR (6833642) logged due to the case that I
opened related to this was changed to cause known and is now
related to 6857294.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
___
zones-discuss mailing list
zones-discuss@opensolaris.org