Re: [zones-discuss] Issue with zone upgrade on attach

2008-11-19 Thread Christophe Dupre
Just for the record, I installed the patch 139100-01 and was able to
attach and upgrade my zone on the new server.

Thanks!
Christophe

Enda O'Connor wrote:
> Hi
> Not a special path, so should be good to just add it in new server.
>
> cheers
> Enda
>
> Christophe Dupre wrote:
>>  From the global zone:
>> PATCHLIST=
>>
>>  From zone being attached:
>> PATCHLIST=139100-01
>>
>> So I guess I need to install 139100-01 in the new server's global zone ?
>> That makes sense - the original server was 05/08 but had received a
>> recommended cluster in early october, so it is probable that it
>> received some patches that were not rolled into 10/08.
>>
>> Hopefully, the error messages will be improved to provide a hint of
>> what the problem is.
>>
>>
>> Enda O'Connor wrote:
>>> Hi Christophe
>>> In the zone being attached:
>>> zonepath/root/var/sadm/pkg/SUNWgtar/pkginfo file there should be an
>>> entry for PATCHLIST=
>>> could I see this, and also the one from the target system's global
>>> zones pkginfo.
>>>
>>>
>>> Enda
>>>
>>> Christophe Dupre wrote:
>>>>
>>>> Thanks Jerry for the quick reply. I am making progress, but no
>>>> cigar (yet). Now I have:
>>>>
>>>> zoneadm: zone 'X': ERROR: attempt to downgrade package SUNWgtar,
>>>> the source had patches but this system does not
>>>>
>>>> It does not give me a patch number, so I can't add it to the
>>>> bad_patches file. Or maybe it does ?
>>>> Is there a list of patches I should add to bad_patches for this to
>>>> work ? The workaround mentions an attached file, but I don't see it.
>>>>
>>>> Thanks,
>>>> Christophe Dupre
>>>>
>>>> -Original Message-
>>>> From: Jerry Jelinek [mailto:[EMAIL PROTECTED]
>>>> Sent: Tue 2008-11-18 13:58
>>>> To: Christophe Dupre
>>>> Cc: zones-discuss
>>>> Subject: Re: [zones-discuss] Issue with zone upgrade on attach
>>>>
>>>> Christophe Dupre wrote:
>>>>  > Hello,
>>>>  > we're having an issue migrating a zone from one server to another.
>>>>  >
>>>>  > Server A has Solaris 10 x86 05/08 and hosts zone X (spare-root
>>>> zone).
>>>>  >
>>>>  > Server B has just been acquired and installed with Solaris 10
>>>> x86 10/08
>>>>  > and hosts a number of zones created locally.
>>>>  >
>>>>  > We would like to move zone X from A to B. We have done a
>>>> 'zoneadm -z X
>>>>  > detach' on A, then did a tar of the zonepath to send it to
>>>> server B. On
>>>>  > server B, we created a zfs /zones/X where we untarred the zone.
>>>> Then:
>>>>  > zonecfg -z X create -a /zones/X
>>>>  > zoneadm -z X attach -u
>>>>  >
>>>>  > This gives:
>>>>  > zoneadm: zone 'X': ERROR: attempt to downgrade package SUNWcsr, the
>>>>  > source had patch 125098-14 which is not installed on this system
>>>>  >
>>>>  >  >From what I can tell, 125098-14 was part of 05/08, not a patch we
>>>>  > added to the system after initial setup, and not something we
>>>> can download.
>>>>  >
>>>>  > Does anyone have a solution for this ? How can I migrate my zone ?
>>>>
>>>> This is bug:
>>>>
>>>> 6743776 zone update on attach should ignore all "special" patches
>>>>
>>>> This is escalated and a patch is being developed.  The workaround
>>>> is in the bug report (the workaround is actually the fix).  It
>>>> updates the /usr/lib/brand/native/bad_patches file.  You can manually
>>>> do this as well.
>>>>
>>>> Jerry
>>>>
>>>>
>>>> 
>>>>
>>>>
>>>> ___
>>>> zones-discuss mailing list
>>>> zones-discuss@opensolaris.org
>>>
>

-- 

*Christophe Dupré*
Administrateur Unix et Réseau Sénior
Sr Unix and Network Administrator

75, rue Queen, Bureau 5100
Montréal (Québec)
H3C 2N6

*Tel.* 514 931.4433 poste 3078
*Fax *514 931.4818
http://www.accovia.com <http://www.accovia.com/

Re: [zones-discuss] Issue with zone upgrade on attach

2008-11-18 Thread Christophe Dupre
 From the global zone:
PATCHLIST=

 From zone being attached:
PATCHLIST=139100-01

So I guess I need to install 139100-01 in the new server's global zone ?
That makes sense - the original server was 05/08 but had received a 
recommended cluster in early october, so it is probable that it received 
some patches that were not rolled into 10/08.

Hopefully, the error messages will be improved to provide a hint of what 
the problem is.


Enda O'Connor wrote:
> Hi Christophe
> In the zone being attached: 
> zonepath/root/var/sadm/pkg/SUNWgtar/pkginfo file there should be an 
> entry for PATCHLIST=
> could I see this, and also the one from the target system's global 
> zones pkginfo.
>
>
> Enda
>
> Christophe Dupre wrote:
>>
>> Thanks Jerry for the quick reply. I am making progress, but no cigar 
>> (yet). Now I have:
>>
>> zoneadm: zone 'X': ERROR: attempt to downgrade package SUNWgtar, the 
>> source had patches but this system does not
>>
>> It does not give me a patch number, so I can't add it to the 
>> bad_patches file. Or maybe it does ?
>> Is there a list of patches I should add to bad_patches for this to 
>> work ? The workaround mentions an attached file, but I don't see it.
>>
>> Thanks,
>> Christophe Dupre
>>
>> -Original Message-
>> From: Jerry Jelinek [mailto:[EMAIL PROTECTED]
>> Sent: Tue 2008-11-18 13:58
>> To: Christophe Dupre
>> Cc: zones-discuss
>> Subject: Re: [zones-discuss] Issue with zone upgrade on attach
>>
>> Christophe Dupre wrote:
>>  > Hello,
>>  > we're having an issue migrating a zone from one server to another.
>>  >
>>  > Server A has Solaris 10 x86 05/08 and hosts zone X (spare-root zone).
>>  >
>>  > Server B has just been acquired and installed with Solaris 10 x86 
>> 10/08
>>  > and hosts a number of zones created locally.
>>  >
>>  > We would like to move zone X from A to B. We have done a 'zoneadm 
>> -z X
>>  > detach' on A, then did a tar of the zonepath to send it to server 
>> B. On
>>  > server B, we created a zfs /zones/X where we untarred the zone. Then:
>>  > zonecfg -z X create -a /zones/X
>>  > zoneadm -z X attach -u
>>  >
>>  > This gives:
>>  > zoneadm: zone 'X': ERROR: attempt to downgrade package SUNWcsr, the
>>  > source had patch 125098-14 which is not installed on this system
>>  >
>>  >  >From what I can tell, 125098-14 was part of 05/08, not a patch we
>>  > added to the system after initial setup, and not something we can 
>> download.
>>  >
>>  > Does anyone have a solution for this ? How can I migrate my zone ?
>>
>> This is bug:
>>
>> 6743776 zone update on attach should ignore all "special" patches
>>
>> This is escalated and a patch is being developed.  The workaround
>> is in the bug report (the workaround is actually the fix).  It
>> updates the /usr/lib/brand/native/bad_patches file.  You can manually
>> do this as well.
>>
>> Jerry
>>
>>
>> 
>>
>> ___
>> zones-discuss mailing list
>> zones-discuss@opensolaris.org
>
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Issue with zone upgrade on attach

2008-11-18 Thread Christophe Dupre

Thanks Jerry for the quick reply. I am making progress, but no cigar (yet). Now 
I have:

zoneadm: zone 'X': ERROR: attempt to downgrade package SUNWgtar, the source had 
patches but this system does not

It does not give me a patch number, so I can't add it to the bad_patches file. 
Or maybe it does ? 
Is there a list of patches I should add to bad_patches for this to work ? The 
workaround mentions an attached file, but I don't see it. 

Thanks,
Christophe Dupre

-Original Message-
From: Jerry Jelinek [mailto:[EMAIL PROTECTED]
Sent: Tue 2008-11-18 13:58
To: Christophe Dupre
Cc: zones-discuss
Subject: Re: [zones-discuss] Issue with zone upgrade on attach
 
Christophe Dupre wrote:
> Hello,
> we're having an issue migrating a zone from one server to another.
> 
> Server A has Solaris 10 x86 05/08 and hosts zone X (spare-root zone).
> 
> Server B has just been acquired and installed with Solaris 10 x86 10/08 
> and hosts a number of zones created locally.
> 
> We would like to move zone X from A to B. We have done a 'zoneadm -z X 
> detach' on A, then did a tar of the zonepath to send it to server B. On 
> server B, we created a zfs /zones/X where we untarred the zone. Then:
> zonecfg -z X create -a /zones/X
> zoneadm -z X attach -u
> 
> This gives:
> zoneadm: zone 'X': ERROR: attempt to downgrade package SUNWcsr, the 
> source had patch 125098-14 which is not installed on this system
> 
>  >From what I can tell, 125098-14 was part of 05/08, not a patch we 
> added to the system after initial setup, and not something we can download.
> 
> Does anyone have a solution for this ? How can I migrate my zone ?

This is bug:

6743776 zone update on attach should ignore all "special" patches

This is escalated and a patch is being developed.  The workaround
is in the bug report (the workaround is actually the fix).  It
updates the /usr/lib/brand/native/bad_patches file.  You can manually
do this as well.

Jerry

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

[zones-discuss] Issue with zone upgrade on attach

2008-11-18 Thread Christophe Dupre
Hello,
we're having an issue migrating a zone from one server to another.

Server A has Solaris 10 x86 05/08 and hosts zone X (spare-root zone).

Server B has just been acquired and installed with Solaris 10 x86 10/08
and hosts a number of zones created locally.

We would like to move zone X from A to B. We have done a 'zoneadm -z X
detach' on A, then did a tar of the zonepath to send it to server B. On
server B, we created a zfs /zones/X where we untarred the zone. Then:
zonecfg -z X create -a /zones/X
zoneadm -z X attach -u

This gives:
zoneadm: zone 'X': ERROR: attempt to downgrade package SUNWcsr, the
source had patch 125098-14 which is not installed on this system

>From what I can tell, 125098-14 was part of 05/08, not a patch we added
to the system after initial setup, and not something we can download.

Does anyone have a solution for this ? How can I migrate my zone ?

Thanks!

-- 

*Christophe Dupré*
Administrateur Unix et Réseau Sénior
Sr Unix and Network Administrator

75, rue Queen, Bureau 5100
Montréal (Québec)
H3C 2N6

*Tel.* 514 931.4433 poste 3078
*Fax *514 931.4818
http://www.accovia.com 
*ACCOVIA*
Membre du Groupe GFI Solutions Inc.

Ce courriel est destiné exclusivement au(x) destinataire(s) identifiés
ci-dessus et peut contenir de l'information confidentielle et/ou
dispensée de divulgation aux termes des lois applicables. Aucune
renonciation à la confidentialité ou autre ne résulte ni ne peut être
présumée du fait de cette communication par Internet. Toute utilisation,
diffusion ou reproduction non autorisée de ce courriel ou de tout
document qui y est joint est strictement interdite et peut être
illégale. Si vous avez reçu ce courriel par erreur, ou s'il ne vous est
pas destiné, veuillez en informer immédiatement l'expéditeur et détruire
tous les exemplaires de ce courriel.
This e-mail is intended only for the named recipient(s) above and may
contain information that is privileged and/or confidential. No waiver of
privilege, confidence or otherwise shall result or be implied by virtue
of this communication via the Internet. Any unauthorized use,
dissemination or copying of this e-mail or any attachment hereof is
strictly prohibited and may be unlawful. If you have received this
e-mail in error, or are not named as a recipient, please immediately
notify the sender thereof and destroy all copies of this e-mail.

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

Re: [zones-discuss] Re: Problem creating zones with latest recommended

2007-04-24 Thread Christophe Dupre
I finally figured out what I was doing wrong: I was installing the
recommended cluster with the -nosave option, but 118855-36 seems to have
an issue with that, if 'patchadd -d' is used that a directory needs to
be manually created first.

What I did was manually install the latest 119255 (patch utils) and
118855-36, rebooted then installed the recommended cluster, and all is
working now.

Thanks to all the private replies which pointed me in the right direction.

 wrote:
> Have You verified that the patch cluster did install correctly.
> I know of an issue (at least on sparc) that You will have to
> run the patch cluster twice due to a pkgadd patch.
> 
> /Ulf
>  
>  
> This message posted from opensolaris.org
> 

-- 
Christophe Dupré
Administrateur Unix et Réseau Sénior
(514) 931-4433 x3078
www.accovia.com
___
zones-discuss mailing list
zones-discuss@opensolaris.org