[Spacewalk-list] RE: Error upgrading from 0.3 to 0.4 (new)

romain.pelissier at bell.ca romain.pelissier at bell.ca
Wed Jan 21 15:56:46 UTC 2009


I have filled a bug about my issue https://bugzilla.redhat.com/show_bug.cgi?id=480676.

Even if the fix for #480618 works, it leave the rhnVersionInfo with some values that make the upgrade script fail and could compromise any further upgrade (because there is no more 'schema' value for the label field in the table which is used to construct the upgrade path by the upgrade script).

So, the upgrade itself if successful because you can after applying the #480618 (which is the last sql update script in the process) follow the remaing upgrade process.
But I think the upgrade from 0.4 to 05 will be problematic because there are no updated or new row inserted for the new version (0.4)
The upgrade script have to manage failing upgrade (not relying only on the 'schema' value but on the last value of the label field or, not update the table until all the sql scripts are successful.
By the way, because of the way the upgrade script manage errors of already updated table, it will always generate errors and the upgrade script will always fail.
Not a big issue this time since there is a fix...
Hope this help.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090121/948d9ac7/attachment.htm>


More information about the Spacewalk-list mailing list