<div dir="ltr">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.<div><br></div><div>Many thanks once again to the Normation team!</div><div><br></div><div>Rob </div><div class="gmail_extra"><div><div class="m_-6909885589931845135gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font color="#351c75"><br></font></div><div><div style="font-size:small"><span style="color:rgb(53,28,117)">--</span><br></div><div style="font-size:small"><font color="#000000"><b>Rob Pomeroy</b>, </font><a href="https://www.isc2.org/cissp" style="color:rgb(11,83,148)" target="_blank"><font color="#0b5394">CISSP</font></a><font color="#0b5394" style="color:rgb(11,83,148)">, <a href="http://solicitors.lawsociety.org.uk/person/250541/robert-john-pomeroy" target="_blank"><font color="#0b5394">Solicitor</font></a> </font><font color="#0b5394">(</font><font color="#000000">non-practising)</font><b><font color="#000000"> | </font></b><font color="#0b5394" style="color:rgb(11,83,148)"><a href="mailto:rob@pomeroy.me" style="color:rgb(11,83,148)" target="_blank">rob@pomeroy.me</a></font></div><div style="font-size:small"><a href="https://www.smashwords.com/books/view/78386" style="color:rgb(11,83,148)" target="_blank"><font color="#0b5394">My novel</font></a><font color="#0b5394"> | </font><font color="#0b5394"><a href="http://www.linkedin.com/in/robpomeroy" target="_blank"><font color="#0b5394">LinkedIn</font></a> | </font><a href="http://pomeroy.me/" style="color:rgb(11,83,148)" target="_blank"><font color="#0b5394">Personal blog</font></a><font color="#000000"> | </font><a href="http://geekanddummy.com/" style="color:rgb(11,83,148)" target="_blank"><font color="#0b5394">Geek & Dummy</font></a></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 21 September 2017 at 09:15, Alexis Mousset <span dir="ltr"><<a href="mailto:alexis.mousset@normation.com" target="_blank">alexis.mousset@normation.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><span>
    On 20/09/2017 18:15, Rob Pomeroy wrote:<br>
    <blockquote type="cite">
      <div dir="ltr">I may have spoken too soon. My policy update is now
        failing.
        <div><br>
        </div>
        <div>
          <div class="m_-6909885589931845135m_8225144202395597303gmail-row m_-6909885589931845135m_8225144202395597303gmail-space-bottom">
            <div class="m_-6909885589931845135m_8225144202395597303gmail-col-lg-12" style="margin:0px;padding:0px 15px;list-style:none;box-sizing:border-box;min-height:1px;float:left;width:583px">
              <h4 class="m_-6909885589931845135m_8225144202395597303gmail-text-center">Policy
                update process was stopped due to an error:</h4>
            </div>
          </div>
        </div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div>
              <div id="m_-6909885589931845135m_8225144202395597303errorDetailsMessage" class="m_-6909885589931845135m_8225144202395597303gmail-space-bottom m_-6909885589931845135m_8225144202395597303gmail-space-top">
                <div class="m_-6909885589931845135m_8225144202395597303gmail-pre" style="margin:0px;padding:0px;list-style:none;box-sizing:border-box;white-space:pre-line;word-break:break-word">⇨ Policy update error for process '134' at 2017-09-20 17:11:04 </div>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div>
              <div id="m_-6909885589931845135m_8225144202395597303errorDetailsMessage" class="m_-6909885589931845135m_8225144202395597303gmail-space-bottom m_-6909885589931845135m_8225144202395597303gmail-space-top">
                <div class="m_-6909885589931845135m_8225144202395597303gmail-pre" style="margin:0px;padding:0px;list-style:none;box-sizing:border-box;white-space:pre-line;word-break:break-word">⇨ Cannot write configuration node </div>
              </div>
            </div>
          </blockquote>
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div>
              <div id="m_-6909885589931845135m_8225144202395597303errorDetailsMessage" class="m_-6909885589931845135m_8225144202395597303gmail-space-bottom m_-6909885589931845135m_8225144202395597303gmail-space-top">
                <div class="m_-6909885589931845135m_8225144202395597303gmail-pre" style="margin:0px;padding:0px;list-style:none;box-sizing:border-box;white-space:pre-line;word-break:break-word">⇨ Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic<wbr>y-generation-node-ready/10-cf-<wbr>promise-check'.
stdout: 
stderr: '/var/rudder/share/bcaf6a14-b9<wbr>e7-4cb9-9a2c-2c6ba6dd519f/rule<wbr>s.new/cfengine-community/sudoP<wbr>arameters/3.1/sudoParameters.<wbr>cf:284:0: error: Undefined bundle ncf_ensure_section_content_and<wbr>_purge_type with type edit_line
' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic<wbr>y-generation-node-ready/10-cf-<wbr>promise-check'.
stdout: 
stderr: '/var/rudder/share/ec389180-d0<wbr>bf-4ecb-9a41-cdc030e8c71d/rule<wbr>s.new/cfengine-community/sudoP<wbr>arameters/3.1/sudoParameters.<wbr>cf:272:0: error: Undefined bundle ncf_ensure_section_content_and<wbr>_purge_type with type edit_line
' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic<wbr>y-generation-node-ready/10-cf-<wbr>promise-check'.
stdout: 
stderr: '/var/rudder/share/7b2917ca-37<wbr>ce-406e-9f4b-87ef368efeeb/rule<wbr>s.new/cfengine-community/sudoP<wbr>arameters/3.1/sudoParameters.<wbr>cf:284:0: error: Undefined bundle ncf_ensure_section_content_and<wbr>_purge_type with type edit_line
' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic<wbr>y-generation-node-ready/10-cf-<wbr>promise-check'.
stdout: 
stderr: '/var/rudder/share/613e8fe8-80<wbr>76-4194-95f5-dfa1828e4af2/rule<wbr>s.new/cfengine-community/sudoP<wbr>arameters/3.1/sudoParameters.<wbr>cf:272:0: error: Undefined bundle ncf_ensure_section_content_and<wbr>_purge_type with type edit_line
' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/polic<wbr>y-generation-node-ready/10-cf-<wbr>promise-check'.
stdout: </div>
              </div>
            </div>
          </blockquote>
        </blockquote>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div>
              <div id="m_-6909885589931845135m_8225144202395597303errorDetailsMessage" class="m_-6909885589931845135m_8225144202395597303gmail-space-bottom m_-6909885589931845135m_8225144202395597303gmail-space-top">
                <div class="m_-6909885589931845135m_8225144202395597303gmail-pre" style="margin:0px;padding:0px;list-style:none;box-sizing:border-box;white-space:pre-line;word-break:break-word">[snip]  </div>
              </div>
            </div>
          </blockquote>
        </blockquote>
        <div>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.</div>
        <div><br>
        </div>
      </div>
    </blockquote></span>
    Hello Rob,<br>
    <br>
    It seems rudder-techniques was upgraded without upgrading the ncf
    package. This is a bug in the package
    (<a class="m_-6909885589931845135m_8225144202395597303moz-txt-link-freetext" href="https://www.rudder-project.org/redmine/issues/11411" target="_blank">https://www.rudder-project.or<wbr>g/redmine/issues/11411</a>), 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.<br>
    <br>
    Furthermore, we can advise you to follow the upgrade documentation
    (<a class="m_-6909885589931845135m_8225144202395597303moz-txt-link-freetext" href="https://www.rudder-project.org/doc-4.1/_on_debian_or_ubuntu.html" target="_blank">https://www.rudder-project.or<wbr>g/doc-4.1/_on_debian_or_ubuntu<wbr>.html</a>)
    and upgrade ncf with Rudder to get the latest bug fixes, even if it
    is not always strictly necessary.</div></blockquote></div><br></div></div>