[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] condor_on / condor_off -name gets only 7 arguments properly



Hi,

This is the problem:

# condor_off -startd -name a1 a2 a3 a4 a5 a6 a7
Sent "Kill-Daemon" command for "startd" to master a1
Sent "Kill-Daemon" command for "startd" to master a2
Sent "Kill-Daemon" command for "startd" to master a3
Sent "Kill-Daemon" command for "startd" to master a4
Sent "Kill-Daemon" command for "startd" to master a5
Sent "Kill-Daemon" command for "startd" to master a6
Sent "Kill-Daemon" command for "startd" to master a7

So far so good.

# condor_off -startd -name a1 a2 a3 a4 a5 a6 a7 a8
Can't find address for master a8
Perhaps you need to query another pool.
Sent "Kill-Daemon" command for "startd" to master a1
Sent "Kill-Daemon" command for "startd" to master a2
Sent "Kill-Daemon" command for "startd" to master a3
Sent "Kill-Daemon" command for "startd" to master a4
Sent "Kill-Daemon" command for "startd" to master a5
Sent "Kill-Daemon" command for "startd" to master a6
Sent "Kill-Daemon" command for "startd" to master a7

So the 8. and any further parameter won't work. Let's check whether
the order matters:

# condor_off -startd -name a8 a2 a3 a4 a5 a6 a7 a1
Can't find address for master a1
Perhaps you need to query another pool.
Sent "Kill-Daemon" command for "startd" to master a8
Sent "Kill-Daemon" command for "startd" to master a2
Sent "Kill-Daemon" command for "startd" to master a3
Sent "Kill-Daemon" command for "startd" to master a4
Sent "Kill-Daemon" command for "startd" to master a5
Sent "Kill-Daemon" command for "startd" to master a6
Sent "Kill-Daemon" command for "startd" to master a7

Yes, obviously it matters. Let's check with more parameters:

# condor_off -startd -name a1 a2 a3 a4 a5 a6 a7 a8 a9 a10
Can't find address for master a8
Can't find address for master a9
Can't find address for master a10
Perhaps you need to query another pool.
Sent "Kill-Daemon" command for "startd" to master a1
Sent "Kill-Daemon" command for "startd" to master a2
Sent "Kill-Daemon" command for "startd" to master a3
Sent "Kill-Daemon" command for "startd" to master a4
Sent "Kill-Daemon" command for "startd" to master a5
Sent "Kill-Daemon" command for "startd" to master a6
Sent "Kill-Daemon" command for "startd" to master a7

OK. Now, what happens if I give a faulty name:

# condor_off -startd -name a1 a2 a3 a4 a5 a6 faulty
Can't find address for master faulty
Perhaps you need to query another pool.
Sent "Kill-Daemon" command for "startd" to master a1
Sent "Kill-Daemon" command for "startd" to master a2
Sent "Kill-Daemon" command for "startd" to master a3
Sent "Kill-Daemon" command for "startd" to master a4
Sent "Kill-Daemon" command for "startd" to master a5
Sent "Kill-Daemon" command for "startd" to master a6

Behaves as expected. But what if I change the order:

# condor_off -startd -name faulty a1 a2 a3 a4 a5 a6
Can't find address for master faulty
Can't find address for master a1
Can't find address for master a2
Can't find address for master a3
Can't find address for master a4
Can't find address for master a5
Can't find address for master a6
Perhaps you need to query another pool.

This happens even if the only faulty nodename is "faulty", the others are fine.

Did I miss something?

Thanks,
Daniel