This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from girder.plugins.jobs.models.job import Job | |
from girder.plugins.worker import getCeleryApp | |
from bson import ObjectId | |
jobId = ObjectId('5c10e5b21e467100018ff935') | |
job = Job().load(jobId, force=True) | |
app = getCeleryApp() | |
task = app.AsyncResult(job['celeryTaskId']) | |
print(task.status) | |
## Out[37]: 'FAILURE' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ oc new-project project1 | |
$ oc adm policy add-scc-to-user anyuid -z default --as system:admin | |
$ oc new-app conf/openshift/openshift.json | |
$ oc logs -c ndslabs-dataverse $(oc get po -o json | jq '.items[] | select(.kind=="Pod").metadata.name' -r | grep -v dataverse-glassfish-1-deploy) | |
... | |
Initializing Glassfish | |
/usr/local/glassfish4/bin ~/dvinstall | |
Waiting for domain1 to start .......... | |
Successfully started the domain : domain1 | |
domain Location: /usr/local/glassfish4/glassfish/domains/domain1 |