[gt-user] Why this simple GRAM job is failing...Any Help

Asim Munawar asimm_81 at yahoo.com
Tue Sep 19 02:58:43 CDT 2006


Hello......
       RFT seems to work fine......... have a look.......
   
   
  user1 at ca:~$ cp
/usr/local/globus-4.0.2/share/globus_wsrf_rft_test/transfer.xfr
/tmp/rft.xfr
user1 at ca:~$  vim /tmp/rft.xfr
user1 at ca:~$ cat /tmp/rft.xfr
true
16000
16000
false
1
true
1
null
null
false
10
gsiftp://ca.cims.hokudai.ac.jp:2811/tmp/rftTest.tmp
gsiftp://ca.cims.hokudai.ac.jp:2811/tmp/rftTest_Done.tmp
user1 at ca:~$ echo "This is a test file" > /tmp/rftTest.tmp
user1 at ca:~$ rft -h ca.cims.hokudai.ac.jp -f
/tmp/rft.xfr
Number of transfers in this request: 1
Subscribed for overall status
Termination time to set: 60 minutes

 Overall status of transfer:
Finished/Active/Failed/Retrying/Pending
0/1/0/0/0

 Overall status of transfer:
Finished/Active/Failed/Retrying/Pending
1/0/0/0/0
All Transfers are completed
user1 at ca:~$ diff /tmp/rftTest.tmp
/tmp/rftTest_Done.tmp
user1 at ca:~$       

  any other suggestions.............
   
          Asim

Murali Konnipati <murali.konnipati at altair.com> wrote:
              Hi,
   
      
          I think it is a problem with the RFT..When i tried to transfer a file using RFT service. I got the same problem.
          Still i didn't understand, how RFT service got localadmin.localhost, even though the globus container is running on specific host.
   
          Murali Krishna K
          Altair Engineering,
          India.
   
          
    
  -----Original Message-----
From: kmurali at india.altair.com [mailto:kmurali at india.altair.com] On Behalf Of Asim Munawar
Sent: Tuesday, September 19, 2006 12:33 PM
To: Wilfred Li; gt-user at globus.org
Subject: RE: [gt-user] Why this simple GRAM job is failing...Any Help


  Hello..... 
   
  I think my grid-ftp is working fine.... have a look
   
  user1 at ca:~$ echo "Hello">/tmp/Input.txt
user1 at ca:~$ cat /tmp/Input.txt
Hello
user1 at ca:~$ globus-url-copy file:///./tmp/Input.txt file://./tmp/Output.txt
user1 at ca:~$ cat /tmp/Output.txt 
  Hello
user1 at ca:~$ globus-url-copy gsiftp://ca.cims.hokudai.ac.jp/tmp/Input.txt gsiftp://ca.cims.hokudai.ac.jp/tmp/Output2.txt
user1 at ca:~$ cat /tmp/Output2.txt
Hello
user1 at ca:~$   
   
  I think the problem is somewhere else.... what do you suggest...
  I have also verified my grid map file that is also ok..... as far as i can see.... 
  any other recommendations.........
   
  I am really thankful to you for your time......
   
  Asim

Wilfred Li <wilfred at sdsc.edu> wrote:
      Hi,
   
  It seems that your grid-ftp service isn't set up properly, since <fileCleanUp> requires gridftp.
   
  [wilfred at host ~]$ globusrun-ws -submit -S -f ./test.xml 
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:fae40e78-47a7-11db-b988-000e0c099fd2
Termination time: 09/20/2006 06:27 GMT
Current job state: Active
Current job state: CleanUp
Current job state: Failed
Destroying job...Done.
Cleaning up any delegated credentials...Done.

  This happens when I disable the grid-ftp service in /etc/xinetd.d/grid-ftp service.
   
  Can you try a 'globus-url-copy file:///$HOME/test.xml file:///$HOME/test2.xml'?
  Regards,

Wilfred

   

      
---------------------------------
  From: Asim Munawar [mailto:asimm_81 at yahoo.com] 
Sent: Monday, September 18, 2006 11:00 PM
To: Wilfred Li; gt-user at globus.org
Subject: RE: [gt-user] Why this simple GRAM job is failing...Any Help


  
  Container.log may help to find the problem... please scroll down to see the error messages in Red Color
   
  Starting SOAP server at:
https://192.168.0.201:8443/wsrf/services/ 
With the following services:

[1]:https://192.168.0.201:8443/wsrf/services/TriggerFactoryService
[2]:https://192.168.0.201:8443/wsrf/services/DelegationTestService
[3]:https://192.168.0.201:8443/wsrf/services/SecureCounterService
[4]:https://192.168.0.201:8443/wsrf/services/IndexServiceEntry
[5]:https://192.168.0.201:8443/wsrf/services/DelegationService
[6]:https://192.168.0.201:8443/wsrf/services/InMemoryServiceGroupFactory
[7]:https://192.168.0.201:8443/wsrf/services/mds/test/execsource/IndexService
[8]:https://192.168.0.201:8443/wsrf/services/mds/test/subsource/IndexService
[9]:https://192.168.0.201:8443/wsrf/services/SubscriptionManagerService
[10]:https://192.168.0.201:8443/wsrf/services/TestServiceWrongWSDL
[11]:https://192.168.0.201:8443/wsrf/services/SampleAuthzService
[12]:https://192.168.0.201:8443/wsrf/services/WidgetNotificationService
[13]:https://192.168.0.201:8443/wsrf/services/AdminService
[14]:https://192.168.0.201:8443/wsrf/services/DefaultIndexServiceEntry
[15]:https://192.168.0.201:8443/wsrf/services/CounterService
[16]:https://192.168.0.201:8443/wsrf/services/TestService
[17]:https://192.168.0.201:8443/wsrf/services/InMemoryServiceGroup
[18]:https://192.168.0.201:8443/wsrf/services/SecurityTestService
[19]:https://192.168.0.201:8443/wsrf/services/ContainerRegistryEntryService
[20]:https://192.168.0.201:8443/wsrf/services/NotificationConsumerFactoryService
[21]:https://192.168.0.201:8443/wsrf/services/TestServiceRequest
[22]:https://192.168.0.201:8443/wsrf/services/IndexFactoryService
[23]:https://192.168.0.201:8443/wsrf/services/ReliableFileTransferService
[24]:https://192.168.0.201:8443/wsrf/services/mds/test/subsource/IndexServiceEntry
[25]:https://192.168.0.201:8443/wsrf/services/Version
[26]:https://192.168.0.201:8443/wsrf/services/NotificationConsumerService
[27]:https://192.168.0.201:8443/wsrf/services/IndexService
[28]:https://192.168.0.201:8443/wsrf/services/NotificationTestService
[29]:https://192.168.0.201:8443/wsrf/services/ReliableFileTransferFactoryService
[30]:https://192.168.0.201:8443/wsrf/services/DefaultTriggerServiceEntry
[31]:https://192.168.0.201:8443/wsrf/services/TriggerServiceEntry
[32]:https://192.168.0.201:8443/wsrf/services/PersistenceTestSubscriptionManager
[33]:https://192.168.0.201:8443/wsrf/services/mds/test/execsource/IndexServiceEntry
[34]:https://192.168.0.201:8443/wsrf/services/DefaultTriggerService
[35]:https://192.168.0.201:8443/wsrf/services/TriggerService
[36]:https://192.168.0.201:8443/wsrf/services/gsi/AuthenticationService
[37]:https://192.168.0.201:8443/wsrf/services/TestRPCService
[38]:https://192.168.0.201:8443/wsrf/services/ManagedMultiJobService
[39]:https://192.168.0.201:8443/wsrf/services/RendezvousFactoryService
[40]:https://192.168.0.201:8443/wsrf/services/WidgetService
[41]:https://192.168.0.201:8443/wsrf/services/ManagementService
[42]:https://192.168.0.201:8443/wsrf/services/ManagedExecutableJobService
[43]:https://192.168.0.201:8443/wsrf/services/InMemoryServiceGroupEntry
[44]:https://192.168.0.201:8443/wsrf/services/AuthzCalloutTestService
[45]:https://192.168.0.201:8443/wsrf/services/DelegationFactoryService
[46]:https://192.168.0.201:8443/wsrf/services/DefaultIndexService
[47]:https://192.168.0.201:8443/wsrf/services/ShutdownService
[48]:https://192.168.0.201:8443/wsrf/services/ContainerRegistryService
[49]:https://192.168.0.201:8443/wsrf/services/TestAuthzService
[50]:https://192.168.0.201:8443/wsrf/services/render/RenderSourceService
[51]:https://192.168.0.201:8443/wsrf/services/CASService
[52]:https://192.168.0.201:8443/wsrf/services/ManagedJobFactoryService
   
  
2006-09-19 14:47:43,607 INFO  exec.StateMachine
[RunQueue Other,logJobAccepted:3236] Job
5d808878-47a2-11db-92bc-000ea66d95f2 accepted for
local user 'user1'
2006-09-19 14:47:48,742 ERROR service.TransferWork
[Thread-19,run:722] Terminal transfer error:
[Caused by: Authentication failed [Caused by:
Operation unauthorized (Mechanism level: Authorization
failed. Expected "/CN=host/localhost.localdomain"
target but received
"/O=Grid/OU=GlobusTest/OU=simpleCA-ca.cims.hokudai.ac.jp/CN=host/ca.cims.hokudai.ac.jp")]]

. Caused by 
Authentication failed
. Caused by 
GSSException: Operation unauthorized (Mechanism level:
Authorization failed. Expected
"/CN=host/localhost.localdomain" target but received
"/O=Grid/OU=GlobusTest/OU=simpleCA-ca.cims.hokudai.ac.jp/CN=host/ca.cims.hokudai.ac.jp")
at
org.globus.gsi.gssapi.GlobusGSSContextImpl.initSecContext(GlobusGSSContextImpl.java:509)
at
org.globus.ftp.extended.GridFTPControlChannel.authenticate(GridFTPControlChannel.java:203)
at
org.globus.ftp.GridFTPClient.authenticate(GridFTPClient.java:99)
at
org.globus.ftp.GridFTPClient.authenticate(GridFTPClient.java:84)
at
org.globus.transfer.reliable.service.DeleteClient.<init>(DeleteClient.java:103)
at
org.globus.transfer.reliable.service.TransferWork.getDeleteClient(TransferWork.java:406)
at
org.globus.transfer.reliable.service.TransferWork.run(TransferWork.java:684)
at
org.globus.wsrf.impl.work.WorkManagerImpl$WorkWrapper.run(WorkManagerImpl.java:345)
at java.lang.Thread.run(Thread.java:534)
2006-09-19 14:47:48,996 ERROR service.TransferWork
[Thread-20,run:722] Terminal transfer error:
[Caused by: Authentication failed [Caused by:
Operation unauthorized (Mechanism level: Authorization
failed. Expected "/CN=host/localhost.localdomain"
target but received
"/O=Grid/OU=GlobusTest/OU=simpleCA-ca.cims.hokudai.ac.jp/CN=host/ca.cims.hokudai.ac.jp")]]

. Caused by 
Authentication failed
. Caused by 
GSSException: Operation unauthorized (Mechanism level:
Authorization failed. Expected
"/CN=host/localhost.localdomain" target but received
"/O=Grid/OU=GlobusTest/OU=simpleCA-ca.cims.hokudai.ac.jp/CN=host/ca.cims.hokudai.ac.jp")
at
org.globus.gsi.gssapi.GlobusGSSContextImpl.initSecContext(GlobusGSSContextImpl.java:509)
at
org.globus.ftp.extended.GridFTPControlChannel.authenticate(GridFTPControlChannel.java:203)
at
org.globus.ftp.GridFTPClient.authenticate(GridFTPClient.java:99)
at
org.globus.ftp.GridFTPClient.authenticate(GridFTPClient.java:84)
at
org.globus.transfer.reliable.service.DeleteClient.<init>(DeleteClient.java:103)
at
org.globus.transfer.reliable.service.TransferWork.getDeleteClient(TransferWork.java:406)
at
org.globus.transfer.reliable.service.TransferWork.run(TransferWork.java:684)
at
org.globus.wsrf.impl.work.WorkManagerImpl$WorkWrapper.run(WorkManagerImpl.java:345)
at java.lang.Thread.run(Thread.java:534)
2006-09-19 14:47:50,110 INFO  exec.StateMachine
[RunQueue Other,logJobFailed:3255] Job
5d808878-47a2-11db-92bc-000ea66d95f2 failed
2006-09-19 14:47:50,136 ERROR exec.StateMachine
[RunQueue Other,sendUsagePacket:2287] No fault was set
for Failed job
{http://www.globus.org/namespaces/2004/10/gram/job}ResourceID=5d808878-47a2-11db-92bc-000ea66d95f2.
2006-09-19 14:47:52,379 INFO  impl.DefaultIndexService
[ServiceThread-14,processConfigFile:107] Reading
default registration configuration from file:
/usr/local/globus-4.0.2/etc/globus_wsrf_mds_index/hierarchy.xml
2006-09-19 14:47:52,387 INFO  impl.DefaultIndexService
[ServiceThread-14,performDefaultRegistrations:193]
Processing upstream registration to
https://hosta.cims.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService
2006-09-19 14:48:08,421 WARN 
client.ServiceGroupRegistrationClient
[Thread-4,status:471] Warning: Could not register
https://192.168.0.201:8443/wsrf/services/DefaultIndexService
to servicegroup at
https://hosta.cims.hokudai.ac.jp:8443/wsrf/services/DefaultIndexService
-- check the URL and that the remote service is up. 
Remote exception was ; nested exception is: 
java.net.ConnectException: Connection refused


Wilfred Li <wilfred at sdsc.edu> wrote:
      Hi,
   
  You could check /opt/gt4/var/globus-fork.log. 
   
  Also, for debugging purposes, you may not want to delete the stdout or stderr files in $GLOBUS_USER_HOME.
   
  However, the primary cause may be your command line option "-f /demogridapp/gram/simple.xml". Note that you are using /demogridapp, which seems to be the current directory you are in. Try "-f ./demogridapp/gram/simple.xml".
   
   
  Regards,

Wilfred

   

      
---------------------------------
  From: owner-gt-user at globus.org [mailto:owner-gt-user at globus.org] On Behalf Of Asim Munawar
Sent: Monday, September 18, 2006 8:40 PM
To: gt-user at globus.org
Subject: [gt-user] Why this simple GRAM job is failing...Any Help


  
I am submitting this very simple GRAM job but it
fails... the XML is 

<!--
Job to print the remote host environment
For a full set of WS-GRAM options see the WS_GRAM
developers page at:
   http://www.globus.org/toolkit/docs/4.0/execu-
   tion/wsgram/user-index.html#s-wsgram-user-simplejob
-->
<job>
    <executable>/usr/bin/env</executable>

    <!-- Job stdout/err will be stored in the globus
user home directory -->
    <stdout>${GLOBUS_USER_HOME}/stdout</stdout>
    <stderr>${GLOBUS_USER_HOME}/stderr</stderr>

    <!-- Clean up std out/err from user's home -->
    <fileCleanUp>
        <deletion>
           
<file>file:///${GLOBUS_USER_HOME}/stdout</file>
        </deletion>
        <deletion>
           
<file>file:///${GLOBUS_USER_HOME}/stderr</file>
        </deletion>
    </fileCleanUp>
</job>

I am using the java client from http://www-128.ibm.com/developerworks/grid/library/gr-wsgram/ to submit my GRAM job and the output is 

user1 at ca:/demogridapp$ java
-Daxis.ClientConfigFile=/usr/local/globus-4.0.2/client-config.wsdd
-DGLOBUS_LOCATION=/usr/local/globus-4.0.2
gram/GRAMClient
java.io.IOException: Unable to parse RSL from file
/demogridapp/gram/simple.xml - Unable to parse RSL
        at
gram.GRAMClient.submitRSL(GRAMClient.java:166)
        at gram.GRAMClient.main(GRAMClient.java:388)
user1 at ca:/demogridapp$ java
-Daxis.ClientConfigFile=/usr/local/globus-4.0.2/client-config.wsdd
-DGLOBUS_LOCATION=/usr/local/globus-4.0.2
gram/GRAMClient
Submission ID:
uuid:2666fa60-478f-11db-9a82-898599838a93
WAITING FOR JOB TO FINISH
========== State Notification ==========
Job State: Failed
========================================
Exit Code: 0
DESTROYING JOB RESOURCE
JOB RESOURCE DESTROYED


I also tried to submit the JOB directly to GRAM and
this is what happens...

user1 at ca:/demogridapp$ globusrun-ws -submit -s
-factory
https://ca:8443/wsrf/services/ManagedJobFactoryService
-f /demogridapp/gram/simple.xml
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:df085690-478f-11db-8c6a-000ea66d95f2
Termination time: 09/20/2006 03:35 GMT
Current job state: Active
Current job state: CleanUp-Hold
JAVA_HOME=/usr/java/j2sdk1.4.2_10/jre
HOME=/home/user1
X509_USER_KEY=
LOGNAME=user1
GLOBUS_LOCATION=/usr/local/globus-4.0.2
GLOBUS_GRAM_JOB_HANDLE=https://192.168.0.201:8443/wsrf/services/ManagedExecutableJobService?df085690-478f-11db-8c6a-000ea66d95f2
X509_USER_CERT=
SCRATCH_DIRECTORY=/home/user1/.globus/scratch
X509_CERT_DIR=/etc/grid-security/certificates
X509_USER_PROXY=
Current job state: CleanUp
Current job state: Failed
Destroying job...Done.
Cleaning up any delegated credentials...Done.
user1 at ca:/demogridapp$         

Any Help will be greatly appreciated...
     Asim
    
---------------------------------
  Stay in the know. Pulse on the new Yahoo.com. Check it out. 



Asim Munawar
Research Student,
H#102, 2-5, Howaito Haitsu
Kita 21 Joo, Nishi 4 Choome
Kita Ku, Sapporo, Japan
Phone(Room) : ????
Phone(mobile): 0081-80-60902442
Email : asimm_81 at yahoo.com     
---------------------------------
  Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less.



Asim Munawar
Research Student,
H#102, 2-5, Howaito Haitsu
Kita 21 Joo, Nishi 4 Choome
Kita Ku, Sapporo, Japan
Phone(Room) : ????
Phone(mobile): 0081-80-60902442
Email : asimm_81 at yahoo.com     
---------------------------------
  Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business. 


Asim Munawar
Research Student,
H#102, 2-5, Howaito Haitsu
Kita 21 Joo, Nishi 4 Choome
Kita Ku, Sapporo, Japan
Phone(Room)  : ????
Phone(mobile): 0081-80-60902442
Email        : asimm_81 at yahoo.com
 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.globus.org/pipermail/gt-user/attachments/20060919/ce0d39af/attachment.htm>


More information about the gt-user mailing list