SMRT Portal Job Status Does Not Update - dyim42/SMRT-Analysis GitHub Wiki
SMRT Portal jobs are updated using a web services call. If the job fails to update, it may appear to be stuck in "filtering" or "mapping" status in SMRT Portal, when, in fact, the job is completed according to the smrtpipe.log file.
Execute curl http://<hostname>:<port>/smrtportal/api. You should get the following response:
{
"success" : true,
"message" : "Web services are alive"
}
Try this command from the head node as well as any child nodes. Most update issues are due to hostname mapping problems, such as the child node not recognizing the head node using the hostname provided. You must examine your network configurations.
Execute $SEYMOUR_HOME/postinstall/configure_smrtanalysis.sh. When setting the hostname, you may want to consider the following:
- The hostname needs to be recognized by any compute nodes.
- The hostname needs to be recognized by any external clients.
- The hostname should be immutable between reboots; that is, using a static ip or dns-recognized name.
Execute curl http://<hostname>:<port>/smrtportal/api/jobs/<job_id>/status. You should get the following response:
{
"jobStatusId" : 1856353,
"jobId" : 56632,
"code" : "Filtering",
"jobStage" : null,
"moduleName" : null,
"percentComplete" : 100,
"message" : "Successfully completed smrtpipe job",
"name" : null,
"whenCreated" : "2013-03-04T13:03:46-0800",
"whenModified" : "2013-03-04T13:03:46-0800",
"modifiedBy" : null,
"createdBy" : "smrtpipe",
"description" : null
}
Execute curl -u <administrator>:<password> -d 'progress={"code":"Completed"}' http://<hostname>:8080/smrtportal/api/jobs/<job_id>/status. You should get the following response:
{
"success" : true,
"message" : "Job status updated"
}