Bug 568293
Summary: | ORA-01422: exact fetch returns more than requested number of rows | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Michael Mráka <mmraka> | ||||||
Component: | Server | Assignee: | Michael Mráka <mmraka> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Garik Khachikyan <gkhachik> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 0.8 | CC: | gkhachik, mkoci, mzazrivec | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 613996 (view as bug list) | Environment: | |||||||
Last Closed: | 2010-05-10 14:52:26 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: | 582354, 613996 | ||||||||
Attachments: |
|
Description
Michael Mráka
2010-02-25 10:20:23 UTC
The bug is not present in sql upgrade scripts but update-packages script and it applies to sha256 packages only. New steps to reproduce: 1. install spacewalk 0.7 + create a channel 2. push spacewalk-pxt-0.7.8-1.fc12.noarch.rpm and spacewalk-base-minimal-0.7.8-1.fc12.noarch.rpm to the channel 3. perform upgrade to 0.8 4. push spacewalk-pxt-0.8.17-1.fc12.noarch to the channel Created attachment 397296 [details] bz568293-fix.sql This is an sql script to fix duplicates in database. As root run # sqlplus $(spacewalk-cfg-get default_db) @bz568293-fix.sql Created attachment 397321 [details] bz568293-fix.sql New version which also creates unique constraint. spacewalk-schema-0.8.15-1 contains fixed schema. Test plan: 1) see comment #1 for steps to reproduce make sure you have spacewalk-schema-0.8.12-1.el5.noarch installed to reproduce the error after applying bz568293-fix.sql rhnpush and/or spacewalk-repo-sync have to work again 2) when installed spacewalk-schema-0.8.15-1 error should be never raised while doing comment #1 for steps to reproduce # REOPEN Hi Michael, Going through the second scenario (yum install spacewalk-oracle-0.8.1-1.el5; rpm -Uvh http://koji.rhndev.redhat.com/mnt/koji/packages/spacewalk-schema/0.8.15/1.el5/noarch/spacewalk-schema-0.8.15-1.el5.noarch.rpm; spacewalk-setup) there seems the issue not fixed still... I'll keep the current SW 0.8 installation for your reproducer/investigations. Contact me for details to get access to that server. Thanks. This bug has been fixed in Spacewalk 1.0. |