Bug 525561
Summary: | Bad db data in upgrade leads to unusable kickstarts | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Justin Sherrill <jsherril> |
Component: | Provisioning | Assignee: | Justin Sherrill <jsherril> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brandon Perkins <bperkins> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 530 | CC: | cperry, gkhachik, jhutar, sdodson, tao, xdmoon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-11-23 16:44:09 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: | 518256 |
Description
Justin Sherrill
2009-09-24 20:29:46 UTC
That select query had a small typo in it. It should be: select ks.label, dk.kickstart_id from rhnKSData ks, rhnKickstartDefaults dk where ks.id = dk.kickstart_id (+) and dk.kickstart_id is null; Hi Jan, You should be able to reproduce doing the following: 1) Install some pre-5.3 satellite (i.e 5.0, 5.1, 5.2). 2) Create one or more kickstarts and make sure to keep track of their id (the ksid=# part of the url after you create them). 3) Run the following query: sql> delete from rhnKickstartDefaults where kickstart_id = 102; replacing 102 with the kickstart id from step #2. Re-run this for each kickstart id that you want to put in a 'bad' state. sql> commit; 3) upgrade! Fixed in spacewalk master: 1ae5ebbdc7f1cf7adb5202dbf3151009769f1278 This looks to have been already released. |