Project

General

Profile

Actions

Bug #10998

closed

Bug #10997: Missing template distributePolicy/1.0,apache_acl during generation

Apache acl are not correcly updated in 4.2

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

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
13
Name check:
Fix check:
Regression:

Description

E| compliant     DistributePolicy          Send inventories to CMDB                     No inventory to send
rudder     info: Can't stat file '/var/rudder/cfengine-community/inputs/distributePolicy/1.0/rudder-share-acl-24.conf' on 'localhost' in files.copy_from promise
rudder     info: Can't stat file '/var/rudder/cfengine-community/inputs/distributePolicy/1.0/rudder-share-acl.conf' on 'localhost' in files.copy_from promise
rudder     info: Can't stat file '/var/rudder/cfengine-community/inputs/distributePolicy/1.0/ca.cert' on 'localhost' in files.copy_from promise
E| error         DistributePolicy          Configure apache ACL                         Apache ACLs could not be edited

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #10989: Missing configuration file for Apache2 when installing 4.2ReleasedAlexis MoussetActions
Actions #1

Updated by Nicolas CHARLES over 7 years ago

  • Status changed from New to In progress
  • Assignee changed from Ade Bradshaw to Nicolas CHARLES
Actions #2

Updated by Nicolas CHARLES over 7 years ago

and then

rudder     info: Moved '/opt/rudder/etc/rudder-share-acl-24.conf.cfsaved' to repository location '/var/rudder/modified-files/_opt_rudder_etc_rudder_share_acl_24_conf_cfsaved'
rudder     info: Updated '/opt/rudder/etc/rudder-share-acl-24.conf' from source '/var/rudder/cfengine-community/inputs/distributePolicy/1.0/rudder-share-acl-24.conf' on 'localhost'
rudder     info: Executing 'no timeout' ... '/usr/sbin/service apache2 reload'
   error: Finished command related to promiser '/usr/sbin/service apache2 reload' -- an error occurred, returned 1
rudder     info: Completed execution of '/usr/sbin/service apache2 reload'
R: [INFO] Executing reload on apache2 using the service method
   error: Method 'ncf_services' failed in some repairs
R: [ERROR] Promise could not be repaired, error encountered: Run action reload on service apache2
   error: Method 'service_action' failed in some repairs
R: [ERROR] Promise could not be repaired, error encountered: Reload service apache2
   error: Method 'service_reload' failed in some repairs

Actions #3

Updated by Nicolas CHARLES over 7 years ago

  • Related to Bug #10989: Missing configuration file for Apache2 when installing 4.2 added
Actions #4

Updated by Nicolas CHARLES over 7 years ago

If we don't have nodes with certificates, the ca.cert is empty, which is invalid

Actions #5

Updated by Nicolas CHARLES over 7 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-techniques/pull/1162
Actions #6

Updated by Nicolas CHARLES over 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Alexis Mousset over 7 years ago

  • Status changed from Pending release to Released
  • Priority changed from 0 to 13

This bug has been fixed in Rudder 4.2.0~beta1 which was released today.

Actions

Also available in: Atom PDF