[rudder-users] apt_detected_distro limitations

Rob Pomeroy rob at pomeroy.me
Thu Sep 21 11:39:36 CEST 2017


Brilliant, thanks Alexis. I've built this Rudder server using Ansible, so
I've just added those two NCF packages to the playbook. Running the
playbook and regenerating the policies has fixed this.

Many thanks once again to the Normation team!

Rob

--
*Rob Pomeroy*, CISSP <https://www.isc2.org/cissp>, Solicitor
<http://solicitors.lawsociety.org.uk/person/250541/robert-john-pomeroy> (
non-practising)* | *rob at pomeroy.me
My novel <https://www.smashwords.com/books/view/78386> | LinkedIn
<http://www.linkedin.com/in/robpomeroy> | Personal blog <http://pomeroy.me/>
 | Geek & Dummy <http://geekanddummy.com/>

On 21 September 2017 at 09:15, Alexis Mousset <alexis.mousset at normation.com>
wrote:

> On 20/09/2017 18:15, Rob Pomeroy wrote:
>
> I may have spoken too soon. My policy update is now failing.
>
> Policy update process was stopped due to an error:
>
> ⇨ Policy update error for process '134' at 2017-09-20 17:11:04
>
> ⇨ Cannot write configuration node
>
> ⇨ Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic
> y-generation-node-ready/10-cf-promise-check'. stdout: stderr:
> '/var/rudder/share/bcaf6a14-b9e7-4cb9-9a2c-2c6ba6dd519f/rule
> s.new/cfengine-community/sudoParameters/3.1/sudoParameters.cf:284:0:
> error: Undefined bundle ncf_ensure_section_content_and_purge_type with
> type edit_line ' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic
> y-generation-node-ready/10-cf-promise-check'. stdout: stderr:
> '/var/rudder/share/ec389180-d0bf-4ecb-9a41-cdc030e8c71d/rule
> s.new/cfengine-community/sudoParameters/3.1/sudoParameters.cf:272:0:
> error: Undefined bundle ncf_ensure_section_content_and_purge_type with
> type edit_line ' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic
> y-generation-node-ready/10-cf-promise-check'. stdout: stderr:
> '/var/rudder/share/7b2917ca-37ce-406e-9f4b-87ef368efeeb/rule
> s.new/cfengine-community/sudoParameters/3.1/sudoParameters.cf:284:0:
> error: Undefined bundle ncf_ensure_section_content_and_purge_type with
> type edit_line ' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic
> y-generation-node-ready/10-cf-promise-check'. stdout: stderr:
> '/var/rudder/share/613e8fe8-8076-4194-95f5-dfa1828e4af2/rule
> s.new/cfengine-community/sudoParameters/3.1/sudoParameters.cf:272:0:
> error: Undefined bundle ncf_ensure_section_content_and_purge_type with
> type edit_line ' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic
> y-generation-node-ready/10-cf-promise-check'. stdout:
>
> [snip]
>
> Those errors are repeated a few dozen times. This error doesn't mean
> anything to me, but in case it's relevant, I have not created any custom
> techniques.
>
> Hello Rob,
>
> It seems rudder-techniques was upgraded without upgrading the ncf package.
> This is a bug in the package (https://www.rudder-project.or
> g/redmine/issues/11411), as the current version of rudder-techniques
> should depend on a newer version of ncf. Upgrading the ncf package on the
> server should fix this error.
>
> Furthermore, we can advise you to follow the upgrade documentation (
> https://www.rudder-project.org/doc-4.1/_on_debian_or_ubuntu.html) and
> upgrade ncf with Rudder to get the latest bug fixes, even if it is not
> always strictly necessary.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20170921/5aba9a71/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-square.gif
Type: image/gif
Size: 1036 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20170921/5aba9a71/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devopsrex2017.gif
Type: image/gif
Size: 174772 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20170921/5aba9a71/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo-square.gif
Type: image/gif
Size: 2118 bytes
Desc: not available
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20170921/5aba9a71/attachment-0005.gif>


More information about the rudder-users mailing list