Ticket #60 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

'ValueError: substring not found' traceback caused by certain minions

Reported by: lmacken Owned by: alikins
Priority: major Version:
Keywords: Cc: skvidal
Blocked By: Blocking:


[lmacken@puppet1 audit]$ sudo func "*" ping
[ ok ... ] x86-6.fedora.phx.redhat.com
[ ok ... ] fas2.fedora.phx.redhat.com
[ ok ... ] telia1.fedoraproject.org
[ ok ... ] collab1.fedoraproject.org
[ ok ... ] app3.fedora.phx.redhat.com
[ ok ... ] torrent1.fedoraproject.org
[ ok ... ] x86-5.fedora.phx.redhat.com
Traceback (most recent call last):
  File "/usr/bin/func", line 28, in ?
  File "/usr/lib/python2.4/site-packages/func/overlord/command.py", line 247, in parse
    return self.subCommands[command].parse(args[1:])
  File "/usr/lib/python2.4/site-packages/func/overlord/command.py", line 228, in parse
    ret = self.do(args)
  File "/usr/lib/python2.4/site-packages/func/overlord/cmd_modules/ping.py", line 62, in do
    results = overlord_obj.run("test", "ping", [])
  File "/usr/lib/python2.4/site-packages/func/overlord/client.py", line 303, in run
    return self.run_direct(module, method, args, nforks)
  File "/usr/lib/python2.4/site-packages/func/overlord/client.py", line 471, in run_direct
    results = process_server(0, 0, minions)
  File "/usr/lib/python2.4/site-packages/func/overlord/client.py", line 424, in process_server
    retval = utils.nice_exception(t,v,tb)
  File "/usr/lib/python2.4/site-packages/certmaster/utils.py", line 63, in nice_exception
    lefti = etype.index("'") + 1
ValueError: substring not found

Change History

comment:1 Changed 8 years ago by alikins

  • Owner set to alikins
  • Status changed from new to assigned

what version?

comment:2 Changed 8 years ago by alikins

Whats the hostname it's choking on? Or just a list of the names that match "*"? One might jump out at me.

comment:3 Changed 8 years ago by alikins

I'm guessing it's related to the changes at http://git.fedoraproject.org/git/?p=func.git;a=commitdiff;h=01e4a97116dbf0518b1f51e4a42f9756919ef64b;hp=5844ba440ea481813bbfd2ae1caf04ea4efb6826

But not sure why exactly. Odd hostname causing that method to choke?

comment:4 Changed 8 years ago by lmacken


It looks like it's choking on our 'app1.stg.fedora.phx.redhat.com' minion.

comment:5 Changed 8 years ago by alikins

Is delegation being used in this scenario?

Are the versions on func on all the minions the same? I'm thinking there might be an issure of missing modules on one machine thats causing an error thats getting blocked by the busted "nice_exception" bits

comment:6 Changed 8 years ago by lmacken

Delegation is not being used in this scenario.

I've noticed that I am receiving this traceback when trying to communicate to inactive minions. However, I'm also getting this error with one active minion as well, with the same version of func.

comment:7 Changed 8 years ago by skvidal

  • Cc skvidal added

comment:8 Changed 8 years ago by djw8605

  • Status changed from assigned to closed
  • Resolution set to fixed

This is fixed in Certmaster git.

Note: See TracTickets for help on using tickets.