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

Re: [Condor-users] condor_status with Windows hostname: unknown host (sometimes !?!).



Rob,

The problem is that Condor attempts to contact the machine before constructing the constraint and when that fails, it doesn't even run the constraint.  Does "ping pm37" work from the machine you're running condor_status on, or do you need to add a hostname?  If you need to add a hostname, the condor_status command line will need that hostname as well.  Unfortunately, it might not work then because although the fully qualified hostname will resolve properly, it won't match the Name attribute, which contains just "pm37".  (If the Machine attribute contains the fully qualified hostname rather than just "pm37" it should still work, because the constraint Condor uses checks both the Name and Machine attribute.)

Hope that helps,
Doug

On Feb 13, 2009, at 8:53 PM, Rob wrote:

Dough wrote:
Rob,

What do you get when you run:
condor_status -diagnose pm37?  

Also, as an alternate way to get status for one host, you could run:
condor_status -constraint 'Name == "pm37"'

$ condor_status -diagnose pm37
----------
condor_status: unknown host pm37
Arg 2 (pm37) --- adding constraint

$ condor_status -constraint 'Name == "pm37"'
Name               OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime
pm37               WINNT51    INTEL  Unclaimed Idle     0.000  1023  0+00:18:04

                       Total Owner Claimed Unclaimed Matched Preempting Backfill
INTEL/WINNT51     1     0       0         1       0          0        0
                Total     1     0       0         1       0          0        0


Strange, isn't it?

Is the problem, maybe, that the hostname of my Windows poll PC is simply
"pm37"? It doesn't have a domainname set.
When I do a 'ipconfig /all' on the Windows pool PC, it says for hostname: pm37.

Or is this a bug in the condor_status command?

I find this so confusing!

Rob.



_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/

-- 
===================================
Douglas Clayton
phone: 919.647.9648

Cycle Computing, LLC
Leader in Condor Grid Solutions
Enterprise Condor Support and Management Tools

http://www.cyclecomputing.com