Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 469244

Summary: new 0.3 schema and upgraded 0.2 -> 0.3 schema do not match
Product: [Community] Spacewalk Reporter: Milan Zázrivec <mzazrivec>
Component: InstallationAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Milan Zázrivec <mzazrivec>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.3   
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: 2010-01-27 14:09:32 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    

Description Milan Zázrivec 2008-10-30 19:22:43 UTC
Description of problem:
Diffing newly installed 0.3 schema and schema upgraded from 0.2 to 0.3
revealed one problem -- diffing results from:

> select group_name, last_update_user, name, security_type, value
from rhn_config_parameter
order by group_name, last_update_user, name, security_type, value;

shows one line from  rhn_config_parameter not being updated:

- netsaint system configDir ALL /etc/nocpulse
+ netsaint system configDir ALL /opt/home/nocpulse/etc

* this is from spacewalk 0.2 universe.deploy:
insert into rhn_config_parameter( group_name, name, value, security_type,
last_update_user, last_update_date) values ( 'netsaint', 'configDir',
'/opt/home/nocpulse/etc', 'ALL', 'system',sysdate);

* this is from 103-rhn_config_parameter_data-move_opt.sql:
update rhn_config_parameter set value=replace(value, 
'/opt/home/nocpulse/etc/', '/etc/nocpulse/');

Version-Release number of selected component (if applicable):
spacewalk-schema-0.3.5-1.el5.sw

Comment 1 Miroslav Suchý 2008-11-03 13:01:33 UTC
Commited 2d6b5dd285a2fccb9912a6a73ed885f1eb2e4d9f
Built and tagged spacewalk-schema-0.3.6-1.

Comment 2 Milan Zázrivec 2008-11-12 11:43:09 UTC
Verified with spacewalk-schema-0.3.6-1