Bug #10998
Exclude 'xrootd' from EOS nodes so that yum autoupdate works
0%
Description
In order to have yum-autoupdate work we need to exclude xrootd from yum autoupdate, now autoupdate is just failing.
History
#1 Updated by Gerard Bernabeu Altayo about 5 years ago
- Status changed from New to Assigned
Done it in the gerard_eos_yumautoexclude_xrootd branch:
mac-124183:puppet gerard1$ git diff itb diff --git a/hieradata/eos.yaml b/hieradata/eos.yaml index 7bddf1c..1afc4b4 100644 --- a/hieradata/eos.yaml +++ b/hieradata/eos.yaml @@ -34,6 +34,10 @@ root_users: ######################################################################### # Please keep these in alphabetical order! +#while EOS is stuck using xrootd v3 we need this +autoupdate_exclude: + - 'xrootd*' + eos::mount: disk1: path: '/storage/data1' mac-124183:puppet gerard1$
Pushing it to a 'test' node, it works:
[root@cmseos5 ~]# puppet agent t --environment=gerard_eos_yumautoexclude_xrootd /etc/sysconfig/yum-autoupdate 2015-01-06 15:08:48.386843010 -0600
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts in /var/lib/puppet/lib/facter/rsyslog_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/certificate_facts.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/afs_cache_size.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/cvmfspartsize.rb
Info: Loading facts in /var/lib/puppet/lib/facter/ip6tables_version.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/postgres_default_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/iptables_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/cvmfsversion.rb
Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/code_server.rb
Info: Loading facts in /var/lib/puppet/lib/facter/condorceversion.rb
Info: Caching catalog for cmseos5.fnal.gov
Info: Applying configuration version '1448405172'
Notice: /Stage[main]/Yum::Autoupdate/File[/etc/sysconfig/yum-autoupdate]/content:
--
+++ /tmp/puppet-file20151124-26532-yjj6ut-0 2015-11-24 16:46:49.988157344 -0600@ -37,7 +37,7
@
# EXCLUDE
# This is a space deliminated list
# Example: EXCLUDE="kernel* openafs* kmdl kmod-* firmware" EXCLUDE="kernel* openafs* -kmdl kmod-* firmware condor* puppet*"
+EXCLUDE="xrootd* kernel* openafs* kmdl kmod-* firmware condor* puppet*"
- DEBUG # true - turn on debug mode - be more verbose
Info: /Stage[main]/Yum::Autoupdate/File[/etc/sysconfig/yum-autoupdate]: Filebucketed /etc/sysconfig/yum-autoupdate to main with sum 9485845197758c28b8eaed349ee69086
Notice: /Stage[main]/Yum::Autoupdate/File[/etc/sysconfig/yum-autoupdate]/content: content changed '{md5}9485845197758c28b8eaed349ee69086' to '{md5}02672e64c8daacfbe93153a6bbab4555'
Will ask lisa to sign off and if so I'll push to ITB.
#2 Updated by Gerard Bernabeu Altayo about 5 years ago
- Status changed from Assigned to Resolved
signed off and pushed to itb, closing.