Closed
Bug 1212883
Opened 10 years ago
Closed 10 years ago
Yum Update blocks on perl-Test-
Categories
(Infrastructure & Operations :: MOC: Service Requests, task)
Infrastructure & Operations
MOC: Service Requests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mhoye, Assigned: Usul)
Details
Attachments
(1 file)
|
57.71 KB,
text/plain
|
Details |
I'd like to bring my virtual machines up to date, but I'm reluctant to yum-update triage1 and triage-stage1 because of the following yum error.
I don't use perl for anything, but there's a nagios dependency there I don't want to muck with without running it past you, so I'd like some guidance here about what the right next steps are.
Error: Package: perl-Params-Validate-0.95-1.el6.rfx.x86_64 (@rpmforge-extras)
Requires: perl(Test::More)
Removing: perl-Test-Simple-0.98-1.el6.rfx.noarch (@rpmforge-extras)
perl(Test::More) = 0.98
Updated By: perl-Test-Simple-1.001014-1.el6.noarch (mozilla)
Not found
Available: perl-Test-Simple-0.92-115.el6.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-119.el6.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-119.el6_1.1.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-127.el6.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-129.el6.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-130.el6_4.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-131.el6_4.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-136.el6.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-136.el6_6.1.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.92-141.el6.x86_64 (rhel-x86_64-server-6)
perl(Test::More) = 0.92
Available: perl-Test-Simple-0.94-1.el6.rfx.noarch (rpmforge-extras)
perl(Test::More) = 0.94
Available: perl-Test-Simple-0.96-1.el6.rfx.noarch (rpmforge-extras)
perl(Test::More) = 0.96
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Updated•10 years ago
|
Assignee: server-ops-virtualization → nobody
Component: Virtualization → MOC: Service Requests
QA Contact: cshields → lypulong
| Assignee | ||
Comment 1•10 years ago
|
||
<mhoye> Usul: triage1.dmz.whatever and triage-stage1.dmz.whatever
| Assignee | ||
Comment 2•10 years ago
|
||
[lhirlimann@triage-stage1.dmz.scl3 ~]$ sudo yum-wrapper update
Pinned packages detected, excluding the following from yum update:
facter 2.0.2-1.el6
puppet 3.2.4-1.el6
Command string: yum -x facter -x puppet update
Loaded plugins: rhnplugin, security
Error Message:
Abuse of Service detected for server triage-stage1.dmz.scl3.mozilla.com (1039643426)
Error Class Code: 49
Error Class Info:
You are getting this error because RHN has detected an abuse of
service from this system and account. This error is triggered when
your system makes too many connections to Red Hat Network. This
error can not be triggered under a normal use of the Red Hat Network
service as configured by default on Red Hat Linux.
The Red Hat Network services for this system will remain disabled
until you will reduce the RHN network traffic from your system to
acceptable limits.
Please log into RHN and visit https://rhn.redhat.com/help/contact.pxt
to contact technical support if you think you have received this
message in error.
| Assignee | ||
Comment 3•10 years ago
|
||
any idea what might be causing the above ? How do I check that the rhn proxies are configured on that machine ?
Flags: needinfo?(rchilds)
| Assignee | ||
Comment 4•10 years ago
|
||
as per https://mana.mozilla.org/wiki/display/SYSADMIN/Abuse+Of+Service+Detected remove the host from RHN.
| Assignee | ||
Comment 5•10 years ago
|
||
[lhirlimann@triage-stage1.dmz.scl3 ~]$ sudo yum remove perl-Test-Simple
Loaded plugins: rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package perl-Test-Simple.noarch 0:0.98-1.el6.rfx will be erased
--> Processing Dependency: perl(Test::More) for package: perl-Params-Validate-0.95-1.el6.rfx.x86_64
--> Running transaction check
---> Package perl-Params-Validate.x86_64 0:0.95-1.el6.rfx will be erased
--> Processing Dependency: perl(Params::Validate) for package: perl-Nagios-Plugin-0.35-2.el6.rf.noarch
--> Processing Dependency: perl(Params::Validate) for package: perl-Nagios-Plugin-0.35-2.el6.rf.noarch
--> Running transaction check
---> Package perl-Nagios-Plugin.noarch 0:0.35-2.el6.rf will be erased
--> Processing Dependency: perl(Nagios::Plugin) for package: nagios-plugins-check-updates-1.6.3-1.el6.x86_64
--> Processing Dependency: perl(Nagios::Plugin::Getopt) for package: nagios-plugins-check-updates-1.6.3-1.el6.x86_64
--> Processing Dependency: perl(Nagios::Plugin::Threshold) for package: nagios-plugins-check-updates-1.6.3-1.el6.x86_64
--> Running transaction check
---> Package nagios-plugins-check-updates.x86_64 0:1.6.3-1.el6 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
perl-Test-Simple noarch 0.98-1.el6.rfx @rpmforge-extras 250 k
Removing for dependencies:
nagios-plugins-check-updates x86_64 1.6.3-1.el6 @epel-nagios 73 k
perl-Nagios-Plugin noarch 0.35-2.el6.rf @rpmforge 111 k
perl-Params-Validate x86_64 0.95-1.el6.rfx @rpmforge-extras 267 k
Transaction Summary
================================================================================
Remove 4 Package(s)
Installed size: 700 k
| Assignee | ||
Comment 6•10 years ago
|
||
did the update sucessfully
reinstalled nagios-plugins-check-updates
ran puppet
Assignee: nobody → ludovic
| Assignee | ||
Comment 7•10 years ago
|
||
rebooted sucessfully.
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(rchilds)
| Assignee | ||
Comment 8•10 years ago
|
||
On prod I get some puppet errors :
[lhirlimann@triage1.dmz.scl3 ~]$ sudo puppetctl run
/usr/lib/ruby/site_ruby/1.8/puppet/module.rb:3:in `require': no such file to load -- json (LoadError)
from /usr/lib/ruby/site_ruby/1.8/puppet/module.rb:3
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/files.rb:1:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/files.rb:1
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/templatewrapper.rb:1:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/templatewrapper.rb:1
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/scope.rb:6:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/scope.rb:6
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/methods.rb:2:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/methods.rb:2
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/method_call.rb:2:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/method_call.rb:2
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:115:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:115
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/parser.rb:11:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/parser.rb:11
from /usr/lib/ruby/site_ruby/1.8/puppet/parser.rb:4:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser.rb:4
from /usr/lib/ruby/site_ruby/1.8/puppet.rb:282:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet.rb:282
from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:12:in `require'
from /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:12
from /usr/bin/puppet:7:in `require'
from /usr/bin/puppet:7
Richard any idea how I can solve that ?
| Assignee | ||
Comment 9•10 years ago
|
||
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for augeas-libs which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of augeas-libs of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude augeas-libs.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of augeas-libs installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of augeas-libs installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: augeas-libs-1.0.0-10.el6.x86_64 != augeas-libs-1.0.0-7.el6_6.1.i686
[lhirlimann@triage1.dmz.scl3 ~]$
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(rsoderberg)
Comment 10•10 years ago
|
||
:digi, could you please create a new yum repository 'bugzilla-deps' and move 'perl-Test-Simple-1.001014-1.el6.noarch' from the mozilla repository into it?
:fubar, once :digi has done this, please alter your puppet configs to realize the new repository and use it.
:usul, it looks like one of the puppet libraries was upgraded somehow during your work; please run 'bin/puppetize.sh triage1.dmz.scl3.mozilla.com' from the appropriate puppetmaster to repair the host.
Flags: needinfo?(rsoderberg)
Flags: needinfo?(ludovic)
Flags: needinfo?(klibby)
Flags: needinfo?(bhourigan)
| Assignee | ||
Comment 11•10 years ago
|
||
[ludo@Oulanl ~]$ ssh -A lhirlimann@puppet1.private.scl3.mozilla.com
Last login: Sat Oct 10 09:40:19 2015 from 10-22-248-58.vpn.scl3.mozilla.com
[lhirlimann@puppet1.private.scl3 ~]$ cd /etc/puppet
[lhirlimann@puppet1.private.scl3 puppet]$ sudo bin/puppetize.sh triage1.dmz.scl3.mozilla.com
=== Setting up Puppet client library on triage1.dmz.scl3.mozilla.com:
Puppetmaster: puppet1.private.scl3.mozilla.com
Warning: Permanently added 'triage1.dmz.scl3.mozilla.com,10.22.74.153' (RSA) to the list of known hosts.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Detected target OS:
Detected target OS version:
(!) target OS '' is invalid! Aborting.
[lhirlimann@puppet1.private.scl3 puppet]$
Flags: needinfo?(ludovic)
Comment 12•10 years ago
|
||
Ludo,
You missed forwarding your key to admin host,
ssh -A admin1a.private.scl3.mozilla.com
[rchilds@admin1a.private.scl3 ~]$ ssh -A puppet1.private.scl3.mozilla.com
[rchilds@puppet1.private.scl3 ~]$ cd /etc/puppet/bin/
[rchilds@puppet1.private.scl3 bin]$ sudo ./puppetize.sh triage1.dmz.scl3.mozilla.com
=== Setting up Puppet client library on triage1.dmz.scl3.mozilla.com:
Puppetmaster: puppet1.private.scl3.mozilla.com
Warning: Permanently added 'triage1.dmz.scl3.mozilla.com,10.22.74.153' (RSA) to the list of known hosts.
> Verified root access.
Detected target OS: RedHatEnterpriseServer
Detected target OS version: 6
Calculated puppet package: puppet-3.2.4-1.el6
=== Stopping puppet on triage1.dmz.scl3.mozilla.com... (if running)
=== Ensuring clock is set correctly...
Shutting down ntpd: [ OK ]
10 Oct 16:53:13 ntpdate[15297]: adjust time server 10.22.75.40 offset 0.000526 sec
Starting ntpd: [ OK ]
=== Setting up repositories...
No Match for argument: subscription-manager
=== Checking hostname
Hostname is triage1.dmz.scl3.mozilla.com
=== Installing Puppet on remote system...
Sat Oct 10 16:53:19 UTC 2015
warning: /etc/puppet/puppet.conf saved as /etc/puppet/puppet.conf.rpmsave
real 0m58.063s
user 0m27.331s
sys 0m8.997s
> puppet-3.2.4-1.el6.noarch
=== Generating key/cert pair for triage1.dmz.scl3.mozilla.com...
Deleted for triage1.dmz.scl3.mozilla.com: Puppet::SSL::Certificate, Puppet::SSL::Key
Notice: triage1.dmz.scl3.mozilla.com has a waiting certificate request
Notice: Signed certificate request for triage1.dmz.scl3.mozilla.com
=== Running puppet...
Comment 13•10 years ago
|
||
See attached log for security updates applied. Please reboot for kernel patch.
Still issues with augeas-libs*
Comment 14•10 years ago
|
||
> :digi, could you please create a new yum repository 'bugzilla-deps' and move
> 'perl-Test-Simple-1.001014-1.el6.noarch' from the mozilla repository into it?
Done in r108966-108968.
Flags: needinfo?(bhourigan)
Comment 15•10 years ago
|
||
(In reply to Richard Soderberg [:atoll] from comment #10)
> :fubar, once :digi has done this, please alter your puppet configs to
> realize the new repository and use it.
Done in 108977. Moved my recent perl rpms to it, and updated both bugzilla-deps and mozilla repos.
Flags: needinfo?(klibby)
| Assignee | ||
Comment 16•10 years ago
|
||
rebooted the machine.
Everything mentionned in this bug is done. closing.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•