Bug 470791
Summary: | Upgrading issues from 02 to 03 | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Jan Pazdziora <jpazdziora> |
Component: | Installation | Assignee: | Jan Pazdziora <jpazdziora> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 0.3 | CC: | jesusr, msuchy, romain.pelissier |
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-01-22 16:30:23 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: | 456551, 456552 |
Description
Jan Pazdziora
2008-11-10 10:29:26 UTC
Cliff P. further said: Just to follow up quickly - issue was because of previous upgrade from 0.1 -> 0.2 - we attempt to create a duplicate entry. Gave a short term work around solution on IRC. We need to address/fix code for the /usr/bin/spacewalk-schema-upgrade command to not attempt to create duplicate 'schema-from' entries in the DB, but maybe delete the old upgrade entry or sequentially bump them up. Cliff My original idea about the code was to have the full history of schema upgrades there. So I'd rather not delete them. I'm proposing to name the label schema-from-YYYYMMDD-HH24MISS, which should be unique-ish enough. *** Bug 470887 has been marked as a duplicate of this bug. *** Fix committed to RELEASE-0.3 in commit 714d65c51bfba73f8da6ff406694dc171e00e4ee and to master in commit e88eb34029f434c08e6775c14ab79b668bbd5336. Packages spacewalk-schema-0.3.7-1.el4.sw and spacewalk-schema-0.3.7-1.el5.sw were built. For the record, the mailing list thread can be found at https://www.redhat.com/archives/spacewalk-list/2008-November/msg00048.html No error in log after upgrade from 0.1 -> 0.2 -> 0.4 VERIFIED |