Project

General

Profile

Actions

Bug #4088

closed

Error when upgrading from a Rudder server 2.3 if both policy.xml and metadata.xml were existing for the same techniques

Added by Vincent MEMBRÉ about 11 years ago. Updated about 11 years ago.

Status:
Released
Priority:
4
Assignee:
Jonathan CLARKE
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

A long time ago, we used to have some policy.xml files instead of metadata.xml for our techniques.

This old remains from 2.3 blocked one of my upgrade:

techniques rpmPackageInstallation version 3.0 and 3.1 were having both policy.xml and metadata.xml.

the upgrade process looks for policy.xml files, and tries to transform them into metadata.xml, which leads to an error if metadata.xml already exists.

removing the policy.xml files make the upgrade process works.

the upgrade process should not fail is metadata.xml already exists but only delete the policy.xml file while warning you that metadata.xml was already existing.

Actions

Also available in: Atom PDF