Bug 650273
Summary: | After upgrade from sat530 to sat540, ks files are crippled | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Miroslav Suchý <msuchy> |
Component: | Upgrades | Assignee: | Milan Zázrivec <mzazrivec> |
Status: | CLOSED ERRATA | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 540 | CC: | cperry, jsherril, psklenar, slukasik |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhn-upgrade-5.4.0.12-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-12-13 14:31:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 646488 |
Description
Miroslav Suchý
2010-11-05 16:24:26 UTC
I verified that this problem has only KS files created before upgrade. Every KS made after upgrade do not have this problem. I tried to do delete those ks (i.e. after the upgrade: rm -f /var/lib/rhn/kickstarts/wizard/* after some time they have been created again, but now satellite write: # kickstart is missing or invalid: /var/lib/rhn/kickstarts/wizard/rhel-i386-server-5-u4--1.cfg Hey Mirek, That command during upgrade: rm -fr /var/cache/rhn/* [ -d /var/lib/rhn/kickstarts/wizard ] && rm -f /var/lib/rhn/kickstarts/wizard/* should be run after the satellite is shutdown. I'm guessing it was regenerated prior to the upgrade as you said. So maybe we have an upgrade bug here? As for why it wasn't regenerating that file after deletion, i restarted taskomatic and regenerated it right away. I'm not sure why taskomatic wouldn't do it without a restart, but it seems to be working now. -Justin satellite.git SATELLITE-5.4: a9fe96b8303a12c5b12314bd649bef9ec1e9610b The cache and kickstart deletion instructions were moved to satellite-upgrade.txt right before the ./install.pl --upgrade step. There's no need to mention cache & kickstart deletion in satellite-and-os-upgrade.txt document, since in that scenario we have no previous cache & kickstart files to start with. deleting cache and ks were moved to satellite-upgrade.txt 1. sat530: I had some ks file and tried to provision some machine: ll /var/lib/rhn/kickstarts/wizard/ total 32 -rw-r--r-- 1 tomcat tomcat 9687 Dec 7 04:54 ks-psklenar--1.cfg -rw-r--r-- 1 tomcat tomcat 9719 Dec 7 07:19 test-psklenar--1.cfg 2. upgrade sat530 > sat540 3. ks is still in place and it is not crippled and I can use it to provision machine. -- passed An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0973.html |