[rudder-users] OCS Inventory agent package installation fails with exit code 100

Rob Pomeroy rob at pomeroy.me
Tue Sep 12 18:13:56 CEST 2017


Hi,

I'm trying to install the OCS Inventory agent via rudder. When Rudder
attempts to run this promise, it fails with exit code 100:



rudder  verbose: P: BEGIN promise 'promise_package_lib_cf_174' of type
"packages" (pass 1)
rudder  verbose: P:    Promiser/affected object: 'ocsinventory-agent'
rudder  verbose: P:    From parameterized bundle: ncf_package(
{"ocsinventory-agent","latest","default","default","present",""})
rudder  verbose: P:    Base context class:
use_apt_provider.!architecture_specified.version_specified
rudder  verbose: P:    Stack path:
/default/rudder_directives/methods/'Install OCS Inventory agent/Install OCS
Inventory
agent'/default/package_management/methods/'package_1'/default/package_state/methods/'action'/default/ncf_package/packages/'ocsinventory-agent'[1]
rudder  verbose: Command
'/var/rudder/cfengine-community/modules/packages/apt_get repo-install'
returned with non zero return code: 100
rudder     info: Some error occurred while communicating with package
module while installing package.
   error: Error installing package 'ocsinventory-agent'



Is this because the ocsinventory-agent package runs a wizard immediately
following installation? Or is there some other reason?

I haven't been able to find any documentation for the CF Engine return
code. If I install the package manually, installation proceeds without
error. This occurs on Ubuntu 14 & 16 (64-bit).

Any ideas?

Thanks in advance,

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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20170912/f18c1796/attachment.html>


More information about the rudder-users mailing list