biemond-orawls
biemond-orawls copied to clipboard
Errors when running puppet on an AIX operating system
Debug: get opatch _app_oracle_product_GGS_12.2.0.2 Debug: orawls check opatch version /app/oracle/product/GGS/12.2.0.2 Debug: orawls opatch Error; Debug: found opatch Error; Debug: Facter: custom fact "override_weblogic_user" was not found. Debug: orawls.rb weblogic user is oracle Debug: Facter: executing command: /usr/bin/sh -c /usr/bin/su -l oracle -c "/app/oracle/product/GGS/12... Debug: Facter: -l: bad option(s) Debug: Facter: process exited with status code 1. Debug: Facter: fact "orawls_inst_opatch_app_grid_product_11.2.0.4" has resolved to "11.2.0.3.6". Debug: Facter: fact "orawls_inst_opatch_app_grid_product_12.1.0.2" has resolved to "12.2.0.1.8". Debug: Facter: fact "orawls_inst_opatch_app_grid_product_12.2.0.1" has resolved to "12.2.0.1.17". Debug: Facter: fact "orawls_inst_opatch_app_oracle_ggs_18.1_12.2" has resolved to "Error;". Debug: Facter: fact "orawls_inst_opatch_app_oracle_product_11.2.0.4" has resolved to "Error;". ... Debug: Facter: fact "orawls_inst_opatch_opt_oracle_product_sbi_11.1" has resolved to "Error;". Debug: Puppet::Type::Package::ProviderDpkg: file /usr/bin/dpkg does not exist Debug: Puppet::Type::Package::ProviderApt: file /usr/bin/apt-get does not exist Debug: Puppet::Type::Package::ProviderAptitude: file /usr/bin/aptitude does not exist Debug: Puppet::Type::Package::ProviderAptrpm: file apt-get does not exist ... The output following the above is an attempt to inventory all package providers. The orawls module also appears to perform an inventory of all packages.
Which in tern, also generates some errors on Windows modules on this AIX host? very odd. this is the only AIX host this happens on.
uxuat180:/
root # puppet agent -t
Info: Using configured environment 'uat'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cach e/lib/facter/orawls.rb: /opt/puppetlabs/puppet/lib/ruby/2.5.0/rexml/child.rb:1: Invalid char \x01' in expression /opt/puppetlabs/puppet/lib/ruby/2.5.0/rexml/child.rb:1: invalid multibyte char ( UTF-8) Error: Could not autoload puppet/provider/package/chocolatey: /opt/puppetlabs/pu ppet/lib/ruby/2.5.0/rexml/child.rb:1: Invalid char
\x01' in expression
/opt/puppetlabs/puppet/lib/ruby/2.5.0/rexml/child.rb:1: invalid multibyte char ( UTF-8)
Error: Facter: error while resolving custom facts in /opt/puppetlabs/puppet/cach e/lib/facter/package_provider.rb: Could not autoload puppet/provider/package/cho colatey: /opt/puppetlabs/puppet/lib/ruby/2.5.0/rexml/child.rb:1: Invalid char \ x01' in expression /opt/puppetlabs/puppet/lib/ruby/2.5.0/rexml/child.rb:1: invalid multibyte char ( UTF-8) Info: Caching catalog for uxuat180.schneider.com Error: Could not autoload puppet/provider/exec/powershell: /opt/puppetlabs/puppe t/lib/ruby/2.5.0/rexml/child.rb:1: Invalid char
\x01' in expression
/opt/puppetlabs/puppet/lib/ruby/2.5.0/rexml/child.rb:1: invalid multibyte char ( UTF-8)
Error: Could not autoload puppet/type/exec: Could not autoload puppet/provider/e xec/powershell: /opt/puppetlabs/puppet/lib/ruby/2.5.0/rexml/child.rb:1: Invalid char \x01' in expression /opt/puppetlabs/puppet/lib/ruby/2.5.0/rexml/child.rb:1: invalid multibyte char ( UTF-8) Info: Unable to serialize catalog to json, retrying with pson Error: Failed to apply catalog: undefined method
validatecmd' for nil:NilClass