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.
Category:
System techniques
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
- Status changed from New to In progress
- Assignee changed from Ade Bradshaw to Nicolas CHARLES
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
- Related to Bug #10989: Missing configuration file for Apache2 when installing 4.2 added
If we don't have nodes with certificates, the ca.cert is empty, which is invalid
- 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
- Status changed from Pending technical review to Pending release
- 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.
Also available in: Atom
PDF