When upgrading from Dollar Universe 5.6 to 6, an error in step 1 of the upgrade wizard is shown

book

Article ID: 86440

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Error Message :
In the upgrade.log:
###################
|INFO|X|STEP_1_RUNNING|DuasUpgradeValidateNodeSettingsController.run:314|Upgrading node settings
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 46|line: "if [ "${UX_IO_VAR_OS}" = "LINUX_MANDRAKE" ] || \"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 47|line: "[ "${UX_IO_VAR_OS}" = "LINUX_SUSE" ] || \"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 48|line: "[ "${UX_IO_VAR_OS}" = "LINUX_DEBIAN" ] || \"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 49|line: "[ "${UX_IO_VAR_OS}" = "LINUX_REDHAT" ] || \"
##########################

Description :During the upgrade to Version 6, error in step 1 of the upgrade wizard import of the specific settings.


==========================================================================
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 46|line: "if [ "${UX_IO_VAR_OS}" = "LINUX_MANDRAKE" ] || \"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 47|line: "[ "${UX_IO_VAR_OS}" = "LINUX_SUSE" ] || \"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 48|line: "[ "${UX_IO_VAR_OS}" = "LINUX_DEBIAN" ] || \"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 49|line: "[ "${UX_IO_VAR_OS}" = "LINUX_REDHAT" ] || \"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 50|line: "[ "${UX_IO_VAR_OS}" = "LINUX_UNITED" ]"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 52|line: "if [ ! "${U_ULIMIT_NOSET:-N}" = "Y" ]"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 53|line: "then"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 54|line: "ulimit -c unlimited"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 56|line: "fi"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 61|line: "if [ -a /etc/UNIVERSE_DQM_${SOCIETE} ]"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 62|line: "then"
| 2014-07-15 15:18:53 |ERROR|X|STEP_1_RUNNING|NodeSettingsUpgrade.upgradeEnvironmentFiles:347|uxstartup_gen|unable to parse line|line number: 67|line: "fi"
==========================================================================

The problem is due to position of this sequence in the uxtartup_gen of the V 5.6 node:

if [ "${UX_IO_VAR_OS}" = "LINUX_MANDRAKE" ] || \
[ "${UX_IO_VAR_OS}" = "LINUX_SUSE" ] || \
[ "${UX_IO_VAR_OS}" = "LINUX_DEBIAN" ] || \
[ "${UX_IO_VAR_OS}" = "LINUX_REDHAT" ] || \
[ "${UX_IO_VAR_OS}" = "LINUX_UNITED" ]
then
if [ ! "${U_ULIMIT_NOSET:-N}" = "Y" ]
then
ulimit -c unlimited
fi


If this code is introduced at line 46 it produces the error listed above

If the code is introduced at line 28 the upgrade step 1/import of specific settings will not generated this error in the upgrade log.
 

Cause

Cause type:
Defect
Root Cause: The problem is encountered on node already in version 5.6 since a long time with a long patch upgrade history. In the elder patch this sequence was introduced at line 46. Once this line has been introduced, they will be displaced by more recent patches.
 

Environment

OS: All
 

Resolution

Update to the fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Component: Univiewer.Console
Version: Dollar.Universe 6.3.01
 

Additional Information

Workaround :
N/A