Project

General

Profile

Actions

Bug #18192

closed

Resources are lost during an upgrade from 6.0 to 6.1

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

I upgraded Rudder from 6.0 to 6.1 on centos7, and got my techniques with extra error messages
It turned out the resources were not distributed anymore, yet file was present in the Technique, in

/var/rudder/configuration-repository/techniques/ncf_techniques/test/1.0/resources

and it did show up in the technique editor

However, in the technique editor, when I left the technique, I got the following message

saving it corrects the issue


Files


Subtasks 1 (0 open1 closed)

Bug #18197: pending changes of resources (files deleted / modified / added ) are commited automatically during upgradeReleasedFrançois ARMANDActions
Actions #1

Updated by Nicolas CHARLES over 4 years ago

during upgrade, there's a commit at 14:07:46 showing

-      <FILE name="RUDDER_CONFIGURATION_REPOSITORY/techniques/ncf_techniques/test/1.0/resources/java_error_in_IDEA_2090.log">
-        <INCLUDED>false</INCLUDED>
-        <OUTPATH>test/1.0/resources/java_error_in_IDEA_2090.log</OUTPATH>
-      </FILE>

the webapp says, at this moment:

[2020-09-09 14:07:45+0000] INFO  application - Application Rudder started
[2020-09-09 14:07:46+0000] INFO  inventory-processing - Watch new inventory file 'agent1-9677ab7b-264d-4c99-bbe0-e0d84e5c9d23.ocs' with signature available: process.
[2020-09-09 14:07:47+0000] INFO  techniques.reader - Reloading technique library, found modified technique(s): ['test': updated (1.0: VersionAdded)]
[2020-09-09 14:07:50+0000] INFO  com.normation.rudder.services.policies.DeployOnTechniqueCallback - Update Technique library after updating all techniques at start up
[2020-09-09 14:07:50+0000] INFO  bootchecks - Resume policy update if it was running before shutdown

Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
Actions #3

Updated by Vincent MEMBRÉ over 4 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/3209
Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from In progress to Pending release
Actions #5

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.1.5 to 6.1.4
Actions #6

Updated by Nicolas CHARLES over 4 years ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.4 which was released today.

Actions

Also available in: Atom PDF