Re: [zones-discuss] Issue with zone upgrade on attach
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 ___ zones-discuss mailing list zones-discuss@opensolaris.org
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
Re: [zones-discuss] Issue with zone upgrade on attach
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
Re: [zones-discuss] Issue with zone upgrade on attach
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
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. We will be improving some of the error messages for update on attach so that you get better info on this sort of thing. However, this might not be a bad patch problem. What were the patches for this pkg on the original system? I think if you get the data Enda requested then we can tell if there is another troublesome 'special' patch or just a missing patch. Thanks, Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Issue with zone upgrade on attach
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