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

Re: [Condor-users] Condor-G - job submission problem



Jaime,

The first thing I tried yesterday was not to have "-submit -c", but since I kept getting SIGTERM (see GridManagerlog), I added "submit -c" in the job description file.

Below I included the content of GridmanagerLog file and the error message on the Globus container site after removing "-submit -c" from the job desc. file.

=====================
GridmanagerLog file
=====================
8/26 09:49:21 ******************************************************
8/26 09:49:21 ** condor_gridmanager (CONDOR_GRIDMANAGER) STARTING UP
8/26 09:49:21 ** /usr/local/condor/sbin/condor_gridmanager
8/26 09:49:21 ** $CondorVersion: 6.7.8 Jun 9 2005 $
8/26 09:49:21 ** $CondorPlatform: I386-LINUX_RH9 $
8/26 09:49:21 ** PID = 26930
8/26 09:49:21 ******************************************************
8/26 09:49:21 Using config file: /usr/local/condor/etc/condor_config
8/26 09:49:21 Using local config files: /usr/local/condor/local.<hostname>/condor_config.local
8/26 09:49:21 DaemonCore: Command Socket at <host_ip:42747>
8/26 09:49:24 [26930] DaemonCore: Command received via UDP from host <host_ip:35667>
8/26 09:49:24 [26930] DaemonCore: received command 60000 (DC_RAISESIGNAL), calling handler (HandleSigCommand())
8/26 09:49:25 [26930] Found job 56.0 --- inserting
8/26 09:49:25 [26930] (56.0) doEvaluateState called: gmState GM_INIT, globusState 32
8/26 09:49:25 [26930] GAHP server pid = 26935
8/26 09:49:27 [26930] resource https://<hostname>:8443 is now up
8/26 09:49:27 [26930] (56.0) doEvaluateState called: gmState GM_DELEGATE_PROXY, globusState 328/26 09:49:30 [26930] (56.0) doEvaluateState called: gmState GM_GENERATE_ID, globusState 32
8/26 09:49:30 [26930] (56.0) doEvaluateState called: gmState GM_SUBMIT_ID_SAVE, globusState 32
8/26 09:49:31 [26930] (56.0) doEvaluateState called: gmState GM_SUBMIT, globusState 32
8/26 09:49:31 [26930] (56.0) gmState GM_SUBMIT, globusState 32: gt4_gram_client_job_create() failed
8/26 09:49:31 [26930] (56.0) RSL='<job><executable>/${GLOBUS_SCRATCH_DIR}/job_39d8f370-1638-11da-84bf-811f2831d404/
hostname</executable><directory>/${GLOBUS_SCRATCH_DIR}/job_39d8f370-1638-11da-84bf-811f2831d404/</directory><stdout>/${GLOBUS_SCRATC
H_DIR}/job_39d8f370-1638-11da-84bf-811f2831d404//test.output</stdout><stderr>/${GLOBUS_SCRATCH_DIR}/job_39d8f370-1638-11da-84
bf811f2831d404//test.error</stderr><fileStageIn><maxAttempts>5</maxAttempts><transferCredentialEndpoint xsi:type="ns1:EndpointReferenceType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:ns1="http://schemas.xmlsoap.org/ws/2004/03/addre
ssing"><ns1:Addressxsi:type="ns1:AttributedURI">https://host_ip:8443/wsrf/services/DelegationService</ns1:Address><ns1
:ReferenceProperties xsi:type="ns1:ReferencePropertiesType"><ns1:DelegationKey xmlns:ns1="http://www.globus.org/08/2004/delegationService";>39ca9b90-1638-11da-b3fa-f139280470dc</ns1:DelegationKey></ns1:ReferenceProperties><ns1:ReferenceParameters xsi:
type="ns1:ReferenceParametersType"/></transferCredentialEndpoint><transfer><sourceUrl>gsiftp://<hostname>/tmp/condor_g_scratch.0x92aacf8.15443/empty_dir_u501/</sourceUrl><destinationUrl>file:///${GLOBUS_SCRATCH_DIR}/job_39d8f370-1638-11da84bf811f2831d404/</destinationUrl></transfer><transfer><sourceUrl>gsiftp://<hostname>/bin/hostname</s
ourceUrl><destinationUrl>file:///${GLOBUS_SCRATCH_DIR}/job_39d8f370-1638-11da-84bf811f2831d404/hostname</destinationUrl></transfer></fileStageIn><fileStageOut><maxAttempts>5</maxAttempts><transferCredentialEndpoint xsi:type="ns1:EndpointReferenceType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:ns1="http://schemas.xmlsoap.org/ws/2004/03/addressing";><ns1:Address xsi:type="ns1:AttributedURI">https://<host_ip>:8443/wsrf/services/DelegationService</ns1:Address><ns1:ReferenceProperties xsi:type="ns1:ReferencePropertiesType"><ns1:DelegationKey xmlns:ns1="http://www.globus.org/08/2004/delegationService";>
39ca9b90-1638-11da-b3faf139280470dc</ns1:DelegationKey></ns1:ReferenceProperties><ns1:ReferenceParameters xsi:type="ns1:ReferenceParametersType"/></transferCredentialEndpoint><transfer><sourceUrl>file:///${GLOBUS_SCRATCH_DIR}/job_39d8f370-1638-11da-
84bf-811f2831d404/test.output</sourceUrl><destinationUrl>gsiftp://<hostname>/home/<username>/condor/condor-g/test.output</destinationUrl></transfer><transfer><sourceUrl>file:///${GLOBUS_SCRATCH_DIR}/job_39d8f370-1638-11da-84bf-811f2831d40
4/test.error</sourceUrl><destinationUrl>gsiftp://<hostname>/home/<username>/condor/condor-g/test.error</destinationUrl></transfer></fileStageOut><fileCleanUp><transferCredentialEndpoint xsi:type="ns1:EndpointReferenceType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:ns1="http://schemas.xmlsoap.org/ws/2004/03/addressing";><ns1:Address xsi:type="ns
1:AttributedURI">https://148.100.51.26:8443/wsrf/services/DelegationService</ns1:Address><ns1:ReferenceProperties xsi:type="ns1:ReferencePropertiesType"><ns1:DelegationKey xmlns:ns1="http://www.globus.org/08/2004/delegationService";>39ca9b90-1638-11da
-b3fa-f139280470dc</ns1:DelegationKey></ns1:ReferenceProperties><ns1:ReferenceParameters xsi:type="ns1:ReferenceParametersType"/></transferCredentialEndpoint><deletion><file>file:///${GLOBUS_SCRATCH_DIR}/job_39d8f370-1638-11da-84bf-811f2831d404/</fil
e></deletion></fileCleanUp><jobCredentialEndpoint xsi:type="ns1:EndpointReferenceType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:ns1="http://schemas.xmlsoap.org/ws/2004/03/addressing";><ns1:Address xsi:type="ns1:AttributedURI">https:
//148.100.51.26:8443/wsrf/services/DelegationService</ns1:Address><ns1:ReferenceProperties xsi:type="ns1:ReferencePropertiesType"><ns1:DelegationKey xmlns:ns1="http://www.globus.org/08/2004/delegationService";>39ca9b90-1638-11da-b3fa-f139280470dc</ns1:DelegationKey></ns1:ReferenceProperties><ns1:ReferenceParameters xsi:type="ns1:ReferenceParametersType"/></jobCredentialEndp
oint><stagingCredentialEndpoint xsi:type="ns1:EndpointReferenceType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xm
lns:ns1="http://schemas.xmlsoap.org/ws/2004/03/addressing";><ns1:Address xsi:type="ns1:AttributedURI">https://148.100.51.26:84
43/wsrf/services/DelegationService</ns1:Address><ns1:ReferenceProperties xsi:type="ns1:ReferencePropertiesType"><ns1:Delegati
onKey xmlns:ns1="http://www.globus.org/08/2004/delegationService";>39ca9b90-1638-11da-b3fa-f139280470dc</ns1:DelegationKey></ns1:ReferenceProperties><ns1:ReferenceParameters xsi:type="ns1:ReferenceParametersType"/></stagingCredentialEndpoint><holdStat
e>StageIn</holdState></job>'
8/26 09:49:35 [26930] No jobs left, shutting down
8/26 09:49:35 [26930] Got SIGTERM. Performing graceful shutdown.
8/26 09:49:35 [26930] **** condor_gridmanager (condor_GRIDMANAGER) EXITING WITH STATUS 0


=====================
Globus container site:
=====================
2005-08-26 09:48:09,506 ERROR factory.ManagedJobFactoryService [Thread 10,createManagedJob:332] Job creation failed.
org.globus.wsrf.NoSuchResourceException
at org.globus.wsrf.impl.ResourceHomeImpl.get(ResourceHomeImpl.java:288)
at org.globus.wsrf.impl.ResourceHomeImpl.find(ResourceHomeImpl.java:262)
at org.globus.wsrf.impl.ResourceContextImpl.getResource(ResourceContextImpl.java:164)
at org.globus.exec.service.factory.ManagedJobFactoryService.createManagedJob(ManagedJobFactoryService.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:384)
at org.globus.axis.providers.RPCProvider.invokeMethodSub(RPCProvider.java:107)
at org.globus.axis.providers.PrivilegedInvokeMethodAction.run(PrivilegedInvokeMethodAction.java:42)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.globus.gsi.jaas.GlobusSubject.runAs(GlobusSubject.java:55)
at org.globus.gsi.jaas.JaasSubject.doAs(JaasSubject.java:90)
at org.globus.axis.providers.RPCProvider.invokeMethod(RPCProvider.java:97)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:281)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285)
at org.globus.wsrf.container.ServiceThread.doPost(ServiceThread.java:665)
at org.globus.wsrf.container.ServiceThread.process(ServiceThread.java:396)
at org.globus.wsrf.container.GSIServiceThread.process(GSIServiceThread.java:127)
at org.globus.wsrf.container.ServiceThread.run(ServiceThread.java:300)
=========================================================



From: Jaime Frey <jfrey@xxxxxxxxxxx>
Reply-To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
Subject: Re: [Condor-users] Condor-G - job submission problem
Date: Thu, 25 Aug 2005 16:48:33 -0500

On Aug 25, 2005, at 3:51 PM, duane waktu wrote:

I would like to submit a job to Globus using Condor-G. I created a simple job description file just to see if it works. However, whenever I submitted the job description file, I got the following error in my GridmanagerLog file:

---------------------------------------------------------------------- ------------------------------------------------------------------
delegate_credentials(https://<hostname>:8443 -submit -c/wsrf/ services/DelegationFactoryService) failed!
---------------------------------------------------------------------- ------------------------------------------------------------------


Here is my job description file:
======================
        test.submit
======================
 universe = grid
 grid_type = gt4
 executable = /bin/hostname
 log = test.log
 output = test.output
 error = test.error
 globusscheduler = https://<hostname>:8443 -submit -c
 jobmanager_type = fork
 should_transfer_files = YES
 when_to_transfer_output = ON_EXIT
 queue
======================

Remove the '-submit -c' from the globusscheduler value.

+----------------------------------+---------------------------------+
|            Jaime Frey            |  Public Split on Whether        |
|        jfrey@xxxxxxxxxxx         |  Bush Is a Divider              |
|  http://www.cs.wisc.edu/~jfrey/  |         -- CNN Scrolling Banner |
+----------------------------------+---------------------------------+


_______________________________________________ Condor-users mailing list Condor-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/condor-users

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement