Project

General

Profile

Actions

Bug #11128

closed

error: Fatal CFEngine error: Augment scope, formal and actual parameter mismatch is fatal

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

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
29
Name check:
Fix check:
Regression:

Description

Hi,

I am not sure if this is a bug, but I experienced it after a 3.1->4.1 update, after the first time the agent was run on the rootserver:

rudder41:~ # rudder agent run
Rudder agent 4.1.5.release (CFEngine Core 3.10.0)
Node uuid: root
Start execution with config [20170710-170037-3ece51e7]

M| State         Technique                 Component                 Key                Message
E| repaired      Common                    Update                                       Rudder policy, tools or ncf instance were updated or CFEngine service restarted
Formal =  {"message","old_class_prefix"}, Actual =  {"Check if the service apache2 is started using ps","service_check_running_apache2","cf_null","@{args}"}
error    Rudder agent was interrupted during execution by a fatal error
         Run with -i to see log messages.

## Summary #####################################################################
1 components verified in 2 directives
   => 1 components in Enforce mode
      -> 1 repaired
execution time: 2.07s
################################################################################
rudder41:~ # rudder agent reset
ok: Rudder agent state has been reset.
rudder41:~ # rudder agent update
 warning: NEW SETGID root PROGRAM '/var/rudder/ncf/local/50_techniques/new_tests/new_tests.cf'
 warning: Method 'update_action' invoked repairs, but only warnings promised
ok: Rudder agent promises were updated.
rudder41:~ #
rudder41:~ # rudder agent run -u -i
Rudder agent 4.1.5.release (CFEngine Core 3.10.0)
Node uuid: root
ok: Rudder agent promises were updated.
Start execution with config [20170710-170037-3ece51e7]

rudder     info: Automatically promoting context scope for 'heartbeat_sent' to namespace visibility, due to persistence
M| State         Technique                 Component                 Key                Message
   info          Common                    Update                                       Rudder ncf common instance updated
   info          Common                    Update                                       Rudder ncf local instance updated
E| repaired      Common                    Update                                       Rudder policy, tools or ncf instance were updated or CFEngine service restarted
rudder     info: Executing 'no timeout' ... '/var/rudder/tools/check-rsyslog-version 5.6.4'
rudder     info: Completed execution of '/var/rudder/tools/check-rsyslog-version 5.6.4'
rudder     info: Executing 'no timeout' ... '/var/rudder/tools/check-rsyslog-version'
rudder     info: Completed execution of '/var/rudder/tools/check-rsyslog-version'
rudder     info: Deleted file '/var/rudder/cfengine-community/outputs/cf_rudder41_local__1497798625_Sun_Jun_18_17_10_25_2017_0x7fcba572f700'
rudder     info: Executing 'no timeout' ... '/var/rudder/tools/check-zypper-version'
rudder     info: Completed execution of '/var/rudder/tools/check-zypper-version'
R: [INFO] Executing is-active-process on apache2 using the service method
   error: While constructing scope '_logger_default'
Formal =  {"message","old_class_prefix"}, Actual =  {"Check if the service apache2 is started using ps","service_check_running_apache2","cf_null","@{args}"}
   error: Fatal CFEngine error: Augment scope, formal and actual parameter mismatch is fatal

error    Rudder agent was interrupted during execution by a fatal error

## Summary #####################################################################
1 components verified in 2 directives
   => 1 components in Enforce mode
      -> 1 repaired
execution time: 2.37s
################################################################################
rudder41:~ #

Related issues 3 (0 open3 closed)

Related to Rudder - Bug #9416: Transient error during upgrade from 3.1 to 4.0RejectedActions
Related to Rudder - Architecture #9207: Transient policy error after upgrade, need to improve handling of policies update during server upgrade (rudder-upgrade vs. ncf vs. rudder-techniques)ResolvedActions
Related to Rudder - Bug #7794: rudder-upgrade edits the wrong ncf.conf file causing transitory invalid promises during upgradesReleasedVincent MEMBRÉ2016-01-19Actions
Actions #1

Updated by Janos Mattyasovszky over 7 years ago

  • Subject changed from update_action invoked repairs to error: Fatal CFEngine error: Augment scope, formal and actual parameter mismatch is fatal
Actions #2

Updated by Janos Mattyasovszky over 7 years ago

Ok it fixed itself after about ~15minutes, so it must have been some strange edge case where something locally was not updated?
It still gave me the creep.

Actions #3

Updated by Nicolas CHARLES over 7 years ago

  • Related to Bug #9416: Transient error during upgrade from 3.1 to 4.0 added
Actions #4

Updated by Nicolas CHARLES over 7 years ago

  • Related to Architecture #9207: Transient policy error after upgrade, need to improve handling of policies update during server upgrade (rudder-upgrade vs. ncf vs. rudder-techniques) added
Actions #5

Updated by Benoît PECCATTE over 7 years ago

  • Category set to Packaging
  • Target version set to 4.1.6
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
  • Priority changed from 0 to 32
Actions #6

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.1.6 to 4.1.7
Actions #7

Updated by François ARMAND over 7 years ago

  • Related to Bug #7794: rudder-upgrade edits the wrong ncf.conf file causing transitory invalid promises during upgrades added
Actions #8

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.1.7 to 4.1.8
Actions #9

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.8 to 4.1.9
  • Priority changed from 32 to 31
Actions #10

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.9 to 4.1.10
  • Priority changed from 31 to 30
Actions #11

Updated by Benoît PECCATTE almost 7 years ago

  • Status changed from New to Rejected
  • Priority changed from 30 to 29

Closing because we could not reproduce and we did not see it again.
Feel free to reopen if needed.

Actions

Also available in: Atom PDF