In the PGA configuration file you need to specify it. On Fri, Jan 8, 2016 at 8:16 PM, Heejoon Chae <[email protected]> wrote:
> Can I set it through PGA? > > Thanks, > Heejoon. > > On Fri, Jan 8, 2016 at 11:59 PM, Supun Nakandala < > [email protected]> wrote: > >> Hi Heejoon, >> >> you need to set the storage resource id in the experiment model -> user >> configuration model. >> >> On Fri, Jan 8, 2016 at 1:45 AM, Heejoon Chae <[email protected]> >> wrote: >> >>> Hi, >>> >>> Now I can register the local computing resource with locally hosted >>> Airavata server with PGA. >>> >>> I tried to run job and got 'Couldn't find storage preference for storage >>> resource id' error as buttom. >>> >>> I registered storage resource and set it up as gateway preference and I >>> confirmed it is correctly stored in database as below. >>> >>> *It seems only 'STORAGE_RESOURCE_ID' in PROCESS table is empty.* >>> >>> I am using mysql and directly looked at up as bellow. >>> >>> ######################################################## >>> mysql> select STORAGE_RESOURCE_ID from PROCESS; >>> +---------------------+ >>> | STORAGE_RESOURCE_ID | >>> +---------------------+ >>> | | >>> +---------------------+ >>> 1 row in set (0.00 sec) >>> >>> mysql> select COMPUTE_RESOURCE_ID from PROCESS; >>> +-----------------------------------------------------+ >>> | COMPUTE_RESOURCE_ID | >>> +-----------------------------------------------------+ >>> | bhi2.snu.ac.kr_2dc3c2cd-788c-425b-b0f0-2539f2192efd | >>> +-----------------------------------------------------+ >>> 1 row in set (0.00 sec) >>> ######################################################### >>> >>> >>> *I can see registered storage and preference at gateway as bellow,* >>> >>> ######################################################### >>> mysql> select STORAGE_RESOURCE_ID from STORAGE_PREFERENCE; >>> +-----------------------------------------------------+ >>> | STORAGE_RESOURCE_ID | >>> +-----------------------------------------------------+ >>> | bhi2.snu.ac.kr_06fadb0d-64f9-4247-aacd-7f00ac663bca | >>> +-----------------------------------------------------+ >>> 1 row in set (0.00 sec) >>> >>> mysql> select GATEWAY_ID from STORAGE_PREFERENCE; >>> +-----------------------+ >>> | GATEWAY_ID | >>> +-----------------------+ >>> | php_reference_gateway | >>> +-----------------------+ >>> 1 row in set (0.00 sec) >>> >>> ########################################################### >>> >>> >>> >>> ############################################################################### >>> [ERROR] Failed to submit process >>> org.apache.airavata.gfac.core.GFacException: expId: >>> sa_a1bfa75c-b554-46fd-b0dc-*ddb52b4a0255, processId: >>> PROCESS_706dba5e-ce18-41fb-87cb-52b1f224a629:- Couldn't find storage >>> preference for storage resource id :* >>> at >>> org.apache.airavata.gfac.impl.GFacEngineImpl.populateProcessContext(GFacEngineImpl.java:118) >>> at org.apache.airavata.gfac.impl.GFacWorker.<init>(GFacWorker.java:74) >>> at >>> org.apache.airavata.gfac.server.GfacServerHandler.submitProcess(GfacServerHandler.java:161) >>> at >>> org.apache.airavata.gfac.server.GfacServerHandler$ProcessLaunchMessageHandler.onMessage(GfacServerHandler.java:273) >>> at >>> org.apache.airavata.messaging.core.impl.RabbitMQProcessLaunchConsumer$2.handleDelivery(RabbitMQProcessLaunchConsumer.java:187) >>> at >>> com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:144) >>> at >>> com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:99) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >>> at java.lang.Thread.run(Thread.java:745) >>> >>> ############################################################################### >>> >>> *BTW, I am using latest PGA with latest Airavata server.* >>> >>> Thanks, >>> Heejoon. >>> >> >> >> >> -- >> Thank you >> Supun Nakandala >> Dept. Computer Science and Engineering >> University of Moratuwa >> > > -- Thank you Supun Nakandala Dept. Computer Science and Engineering University of Moratuwa
