Project

General

Profile

Actions

Bug #5753

closed

Invalid generated promises are not detected as invalid as cf-promises fails to return error code

Added by Nicolas CHARLES about 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

when I have invalid promises, du to class expression non parseable in ifvarclass, the return code of cf-promises is 0
So my promises are invalid, but the web interface doesn't know it :(

manually running cf-promises returns

2014-11-07T08:51:50+0000    error: /default/centreon_installation/methods: Unable to parse class expression '(file_copy_/etc/nrpe/centreon-nrpe.cfg_repaired|service_ensure_running_centreon_nrpe_repaired).!(file_copy_/etc/nrpe/centreon-nrpe.cfg_error|service_ensure_running_centreon_nrpe_error)'
2014-11-07T08:51:50+0000    error: /default/centreon_installation/methods: Unable to parse class expression '(file_copy_/etc/nrpe/centreon-nrpe.cfg_error|service_ensure_running_centreon_nrpe_error)'
#echo $?
0

Actions #1

Updated by Nicolas CHARLES about 10 years ago

Referenced ticket on cfengine bug tracker: https://dev.cfengine.com/issues/6778

Actions #2

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.11.4 to 2.11.5
Actions #3

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.11.5 to 2.11.6
Actions #4

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.6 to 2.11.7
Actions #5

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.7 to 2.11.8
Actions #6

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.8 to 2.11.9
Actions #7

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.11.9 to 2.11.10
Actions #8

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.10 to 2.11.11
Actions #9

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.11 to 2.11.12
Actions #10

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.12 to 2.11.13
Actions #11

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.13 to 2.11.14
Actions #12

Updated by Nicolas CHARLES over 9 years ago

  • Status changed from New to Rejected

i'm rejecting this bug as non reproductible ....

Actions

Also available in: Atom PDF