Project

General

Profile

Actions

Bug #8633

closed

expected reports, component keys

Added by Janos Mattyasovszky over 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
3
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When you have a technique, and:
- the path it is located below is: /var/rudder/configuration-repository/techniques/Janos/MyMotdFile/1.0
- is <MULTIINSTANCE>false</MULTIINSTANCE>
- have <SECTION name="MOTD entry" multivalued="false">

Then apparently Rudder expects a Report, that has a Component name of the report is the directory your technique is inside:

Missing report

This was fixes as soon I made it component="true" in the metadata.xml for the <SECTION/>

Please document this behavior, or make it more clear that you need to have at least one section with component="true" that you have a report on your technique, it was not very clear from http://www.rudder-project.org/foswiki/Development/TechniqueXML


Files

report_section_name.png (13.4 KB) report_section_name.png Missing report Janos Mattyasovszky, 2016-07-06 10:41
Actions #1

Updated by François ARMAND over 8 years ago

  • Priority changed from N/A to 3
  • Target version set to 2.11.23

Thanks for reporting, the doc should even enforce the use of "component=true / component key", and we should even add a warning in the parser to help user understand that without them, they will be surprised. We can't change the format itself for compatibility reason before some guards.

Actions #2

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #3

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #4

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #5

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #6

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #7

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #8

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #9

Updated by Nicolas CHARLES almost 8 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset

Documentation has been updated here
http://www.rudder-project.org/foswiki/Development/TechniqueXML

Thank you for your remark Janos

Actions #10

Updated by Alexis Mousset almost 8 years ago

This now lives in http://www.rudder-project.org/doc-4.0/_technique_reference.html, so the patch should be done on the rudder-doc repo. Redirection from foswiki to the manual is still not merged because some rely on the new FAQ.

Actions #11

Updated by Alexis Mousset almost 8 years ago

  • Status changed from Pending technical review to New
  • Assignee changed from Alexis Mousset to Nicolas CHARLES
Actions #12

Updated by Nicolas CHARLES almost 8 years ago

  • Status changed from New to In progress
Actions #13

Updated by Nicolas CHARLES almost 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-doc/pull/277
Actions #14

Updated by Nicolas CHARLES almost 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #15

Updated by Vincent MEMBRÉ almost 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.18, 3.2.11, 4.0.3 and 4.1.0~beta3 which were released today.

Actions

Also available in: Atom PDF