Created
August 27, 2014 07:21
-
-
Save stefanandres/1ee839ecc72a1345bdc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ethtool -k eth0 | |
Offload parameters for eth0: | |
rx-checksumming: off | |
tx-checksumming: off | |
scatter-gather: on | |
tcp-segmentation-offload: off | |
udp-fragmentation-offload: off | |
generic-segmentation-offload: on | |
generic-receive-offload: off | |
large-receive-offload: off | |
rx-vlan-offload: on | |
tx-vlan-offload: on | |
ntuple-filters: off | |
receive-hashing: on | |
# ethtool -k eth1 | |
Offload parameters for eth1: | |
rx-checksumming: on | |
tx-checksumming: off | |
scatter-gather: on | |
tcp-segmentation-offload: off | |
udp-fragmentation-offload: off | |
generic-segmentation-offload: on | |
generic-receive-offload: on | |
large-receive-offload: on | |
rx-vlan-offload: on | |
tx-vlan-offload: on | |
ntuple-filters: off | |
receive-hashing: on | |
# ethtool -i eth1 | |
driver: bnx2x | |
version: 1.78.17-0 | |
firmware-version: bc 7.8.79 | |
bus-info: 0000:03:00.1 | |
supports-statistics: yes | |
supports-test: yes | |
supports-eeprom-access: yes | |
supports-register-dump: yes | |
# ethtool -i eth0 | |
driver: bnx2x | |
version: 1.78.17-0 | |
firmware-version: bc 7.8.79 | |
bus-info: 0000:03:00.0 | |
supports-statistics: yes | |
supports-test: yes | |
supports-eeprom-access: yes | |
supports-register-dump: yes | |
# cat ethtool.pp | |
include ethtool | |
ethtool {'eth1': | |
checksum_tx => 'disabled', | |
} | |
# puppet apply --debug ethtool.pp | |
Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations | |
(at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1095:in `issue_deprecations') | |
Info: Loading facts in /etc/puppet/modules/puppet/lib/facter/etckepper_puppet.rb | |
Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_package_updates.rb | |
Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_updates.rb | |
Info: Loading facts in /etc/puppet/modules/apt/lib/facter/apt_security_updates.rb | |
Info: Loading facts in /etc/puppet/modules/concat/lib/facter/concat_basedir.rb | |
Info: Loading facts in /etc/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb | |
Info: Loading facts in /etc/puppet/modules/firewall/lib/facter/ip6tables_version.rb | |
Info: Loading facts in /etc/puppet/modules/firewall/lib/facter/iptables_version.rb | |
Info: Loading facts in /etc/puppet/modules/ethtool/lib/facter/interface_speed.rb | |
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/puppet_vardir.rb | |
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/facter_dot_d.rb | |
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/root_home.rb | |
Info: Loading facts in /etc/puppet/modules/stdlib/lib/facter/pe_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/rabbitmq_erlang_cookie.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/controller_ip.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb | |
Info: Loading facts in /var/lib/puppet/lib/facter/default_gateway.rb | |
Debug: importing '/etc/puppet/modules/ethtool/manifests/init.pp' in environment production | |
Debug: Automatically imported ethtool from ethtool into production | |
Debug: hiera(): Hiera YAML backend starting | |
Debug: hiera(): Looking up ethtool::ensure_installed in YAML backend | |
Debug: hiera(): Looking for data source nodes/... | |
Debug: hiera(): Cannot find datafile /etc/puppet/hieradata/nodes/, skipping | |
Debug: hiera(): Looking for data source cloud | |
Debug: hiera(): Looking for data source ldap | |
Debug: hiera(): Looking for data source sys11fluentd | |
Debug: hiera(): Looking for data source sys11puppet | |
Debug: hiera(): Looking for data source sys11sensu | |
Debug: hiera(): Looking for data source ssh | |
Debug: hiera(): Looking for data source repos | |
Debug: hiera(): Looking for data source contrail | |
Debug: hiera(): Looking for data source services | |
Debug: hiera(): Looking for data source common | |
Debug: Resource package[ethtool] was not determined to be defined | |
Debug: Adding relationship from Package[ethtool] to Ethtool[eth1] with 'before' | |
Notice: Compiled catalog for in environment production in 0.15 seconds | |
Debug: Puppet::Type::Package::ProviderNim: file rpm does not exist | |
Debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist | |
Debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist | |
Debug: Puppet::Type::Package::ProviderPkgin: file pkgin does not exist | |
Debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist | |
Debug: Puppet::Type::Package::ProviderAix: file /usr/sbin/installp does not exist | |
Debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist | |
Debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist | |
Debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist | |
Debug: Puppet::Type::Package::ProviderUrpmi: file rpm does not exist | |
Debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_add does not exist | |
Debug: Puppet::Type::Package::ProviderPorts: file /usr/local/sbin/pkg_deinstall does not exist | |
Debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist | |
Debug: Puppet::Type::Package::ProviderYum: file rpm does not exist | |
Debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swremove does not exist | |
Debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/local/sbin/pkg_deinstall does not exist | |
Debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist | |
Debug: Puppet::Type::Package::ProviderOpkg: file opkg does not exist | |
Debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/eix does not exist | |
Debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_add does not exist | |
Debug: Puppet::Type::Package::ProviderSun: file /usr/sbin/pkgrm does not exist | |
Debug: Puppet::Type::Package::ProviderAptrpm: file rpm does not exist | |
Debug: /Package[ethtool]: Provider apt does not support features virtual_packages; not managing attribute allow_virtual | |
Debug: Creating default schedules | |
Debug: Puppet::Type::User::ProviderLdap: true value when expecting false | |
Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist | |
Debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dsimport does not exist | |
Debug: Puppet::Type::User::ProviderPw: file pw does not exist | |
Debug: /User[puppet]: Provider useradd does not support features libuser; not managing attribute forcelocal | |
Debug: Puppet::Type::Group::ProviderLdap: true value when expecting false | |
Debug: Puppet::Type::Group::ProviderDirectoryservice: file /usr/bin/dscl does not exist | |
Debug: Puppet::Type::Group::ProviderPw: file pw does not exist | |
Debug: /Group[puppet]: Provider groupadd does not support features libuser; not managing attribute forcelocal | |
Debug: Failed to load library 'selinux' for feature 'selinux' | |
Debug: Using settings: adding file resource 'localcacert': 'File[/var/lib/puppet/ssl/certs/ca.pem]{:ensure=>:file, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"644", :path=>"/var/lib/puppet/ssl/certs/ca.pem", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'privatekeydir': 'File[/var/lib/puppet/ssl/private_keys]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"750", :path=>"/var/lib/puppet/ssl/private_keys", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'pluginfactdest': 'File[/var/lib/puppet/facts.d]{:ensure=>:directory, :links=>:follow, :backup=>false, :path=>"/var/lib/puppet/facts.d", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'graphdir': 'File[/var/lib/puppet/state/graphs]{:ensure=>:directory, :links=>:follow, :backup=>false, :path=>"/var/lib/puppet/state/graphs", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'logdir': 'File[/var/log/puppet]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"750", :path=>"/var/log/puppet", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'statefile': 'File[/var/lib/puppet/state/state.yaml]{:ensure=>:file, :links=>:follow, :backup=>false, :mode=>"660", :path=>"/var/lib/puppet/state/state.yaml", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'vardir': 'File[/var/lib/puppet]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :path=>"/var/lib/puppet", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'hostcert': 'File[/var/lib/puppet/ssl/certs/]{:ensure=>:file, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"644", :path=>"/var/lib/puppet/ssl/certst.pem", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'ssldir': 'File[/var/lib/puppet/ssl]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"771", :path=>"/var/lib/puppet/ssl", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'client_datadir': 'File[/var/lib/puppet/client_data]{:ensure=>:directory, :links=>:follow, :backup=>false, :mode=>"750", :path=>"/var/lib/puppet/client_data", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'lastrunfile': 'File[/var/lib/puppet/state/last_run_summary.yaml]{:ensure=>:file, :links=>:follow, :backup=>false, :mode=>"644", :path=>"/var/lib/puppet/state/last_run_summary.yaml", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'hostpubkey': 'File[/var/lib/puppet/ssl/public_keys/]{:ensure=>:file, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"644", :path=>"/var/lib/puppet/ssl/public_keys/", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'requestdir': 'File[/var/lib/puppet/ssl/certificate_requests]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"755", :path=>"/var/lib/puppet/ssl/certificate_requests", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'resourcefile': 'File[/var/lib/puppet/state/resources.txt]{:ensure=>:file, :links=>:follow, :backup=>false, :owner=>"root", :mode=>"640", :path=>"/var/lib/puppet/state/resources.txt", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'libdir': 'File[/var/lib/puppet/lib]{:ensure=>:directory, :links=>:follow, :backup=>false, :path=>"/var/lib/puppet/lib", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'privatedir': 'File[/var/lib/puppet/ssl/private]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"750", :path=>"/var/lib/puppet/ssl/private", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'hiera_config': 'File[/etc/puppet/hiera.yaml]{:ensure=>:file, :links=>:follow, :backup=>false, :path=>"/etc/puppet/hiera.yaml", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppet]{:ensure=>:directory, :links=>:follow, :backup=>false, :path=>"/etc/puppet", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'hostcrl': 'File[/var/lib/puppet/ssl/crl.pem]{:ensure=>:file, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"644", :path=>"/var/lib/puppet/ssl/crl.pem", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'certcldir': 'File[/var/lib/puppet/ssl/certs]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"755", :path=>"/var/lib/puppet/ssl/certs", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'clientyamldir': 'File[/var/lib/puppet/client_yaml]{:ensure=>:directory, :links=>:follow, :backup=>false, :mode=>"750", :path=>"/var/lib/puppet/client_yaml", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'hostprivkey': 'File[/var/lib/puppet/ssl/private_keys/.pem]{:ensure=>:file, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"640", :path=>"/var/lib/puppet/ssl/private_keys/.pem", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'publickeydir': 'File[/var/lib/puppet/ssl/public_keys]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"755", :path=>"/var/lib/puppet/ssl/public_keys", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'classfile': 'File[/var/lib/puppet/state/classes.txt]{:ensure=>:file, :links=>:follow, :backup=>false, :owner=>"root", :mode=>"640", :path=>"/var/lib/puppet/state/classes.txt", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'lastrunreport': 'File[/var/lib/puppet/state/last_run_report.yaml]{:ensure=>:file, :links=>:follow, :backup=>false, :mode=>"640", :path=>"/var/lib/puppet/state/last_run_report.yaml", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'statedir': 'File[/var/lib/puppet/state]{:ensure=>:directory, :links=>:follow, :backup=>false, :mode=>"1755", :path=>"/var/lib/puppet/state", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'rundir': 'File[/var/run/puppet]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"755", :path=>"/var/run/puppet", :loglevel=>:debug}' | |
Debug: Using settings: adding file resource 'clientbucketdir': 'File[/var/lib/puppet/clientbucket]{:ensure=>:directory, :links=>:follow, :backup=>false, :mode=>"750", :path=>"/var/lib/puppet/clientbucket", :loglevel=>:debug}' | |
Debug: /File[/var/lib/puppet/ssl/certificate_requests]: Autorequiring File[/var/lib/puppet/ssl] | |
Debug: /File[/var/lib/puppet/facts.d]: Autorequiring File[/var/lib/puppet] | |
Debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/var/lib/puppet/state] | |
Debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring File[/var/lib/puppet/state] | |
Debug: /File[/var/lib/puppet/ssl/certs/]: Autorequiring File[/var/lib/puppet/ssl/certs] | |
Debug: /File[/var/lib/puppet/ssl/private]: Autorequiring File[/var/lib/puppet/ssl] | |
Debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet] | |
Debug: /File[/var/lib/puppet/ssl]: Autorequiring File[/var/lib/puppet] | |
Debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state] | |
Debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet] | |
Debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state] | |
Debug: /File[/var/lib/puppet/ssl/certs/ca.pem]: Autorequiring File[/var/lib/puppet/ssl/certs] | |
Debug: /File[/var/lib/puppet/ssl/public_keys]: Autorequiring File[/var/lib/puppet/ssl] | |
Debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/var/lib/puppet/state] | |
Debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/var/lib/puppet/state] | |
Debug: /File[/var/lib/puppet/ssl/private_keys]: Autorequiring File[/var/lib/puppet/ssl] | |
Debug: /File[/var/lib/puppet/ssl/private_keys/...]: Autorequiring File[/var/lib/puppet/ssl/private_keys] | |
Debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet] | |
Debug: /File[/var/lib/puppet/ssl/crl.pem]: Autorequiring File[/var/lib/puppet/ssl] | |
Debug: /File[/etc/puppet/hiera.yaml]: Autorequiring File[/etc/puppet] | |
Debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet] | |
Debug: /File[/var/lib/puppet/ssl/certs]: Autorequiring File[/var/lib/puppet/ssl] | |
Debug: /File[/var/lib/puppet/ssl/public_keys/....]: Autorequiring File[/var/lib/puppet/ssl/public_keys] | |
Debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet] | |
Debug: Finishing transaction 69844437850780 | |
Debug: Loaded state in 0.00 seconds | |
Debug: Loaded state in 0.00 seconds | |
Debug: /Stage[main]/Ethtool/Package[ethtool]/before: requires Ethtool[eth1] | |
Info: Applying configuration version '1409123973' | |
Debug: Prefetching apt resources for package | |
Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n'' | |
Debug: Executing '/sbin/ethtool -k eth1' | |
Debug: Executing '/sbin/ethtool -K eth1 checksum_tx off' | |
Error: Execution of '/sbin/ethtool -K eth1 checksum_tx off' returned 1: ethtool: bad command line argument(s) | |
For more information run ethtool -h | |
Error: /Stage[main]/Main/Ethtool[eth1]/checksum_tx: change from enabled to disabled failed: Execution of '/sbin/ethtool -K eth1 checksum_tx off' returned 1: ethtool: bad command line argument(s) | |
For more information run ethtool -h | |
Debug: Finishing transaction 69844449939260 | |
Debug: Storing state | |
Debug: Stored state in 0.01 seconds | |
Notice: Finished catalog run in 0.09 seconds | |
Debug: Using settings: adding file resource 'rrddir': 'File[/var/lib/puppet/rrd]{:ensure=>:directory, :links=>:follow, :group=>"puppet", :backup=>false, :owner=>"puppet", :mode=>"750", :path=>"/var/lib/puppet/rrd", :loglevel=>:debug}' | |
Debug: Finishing transaction 69844404407600 | |
Debug: Received report to process from ... | |
Debug: Processing report from ... with processor Puppet::Reports::Store | |
# | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment