| Summary: | Spacewalk schema upgrade error while upgrading to nightly build from 2.4 | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | dimatha <dmitry.sakoun> |
| Component: | Server | Assignee: | Tomas Lestach <tlestach> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.4 | CC: | tkasparek, tlestach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-16 07:33:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1484117 | ||
|
Description
dimatha
2016-02-07 22:11:46 UTC
Not sure where it comes from. I can't find any adjustments in this view in the early schema versions
- View: rhnorgchannelfamilypermissions
-- DROP VIEW rhnorgchannelfamilypermissions;
CREATE OR REPLACE VIEW rhnorgchannelfamilypermissions AS
SELECT pcf.channel_family_id, u.org_id, to_number(NULL::text, NULL::text) AS max_members, 0 AS current_members, to_number(NULL::text, NULL::text) AS fve_max_members, 0 AS fve_current_members, pcf.created, pcf.modified
FROM rhnpublicchannelfamily pcf, web_contact u
UNION
SELECT rhnprivatechannelfamily.channel_family_id, rhnprivatechannelfamily.org_id, rhnprivatechannelfamily.max_members, rhnprivatechannelfamily.current_members, rhnprivatechannelfamily.fve_max_members, rhnprivatechannelfamily.fve_current_members, rhnprivatechannelfamily.created, rhnprivatechannelfamily.modified
FROM rhnprivatechannelfamily;
ALTER TABLE rhnorgchannelfamilypermissions
OWNER TO spacewalk;
Already fixed in spacewalk-git-commit: 0b81000684156e903e4be787f7e05f5789d825a4 Spacewalk 2.5 was released. This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug. |