#JOB not found

1 messages · Page 1 of 1 (latest)

near island
#

Right after creation of the File system on AWS ONTAP, we issue an API call to change the timezone. The API returns a job Id

[07/05/2024 07:57:46 +0000] [509] [INFO] Timezone change to Australia/Sydney response: {
"job": {
"uuid": "44706ddc-3aa4-11ef-bf0d-2b68f60c12da",
"_links": {
"self": {
"href": "/api/cluster/jobs/44706ddc-3aa4-11ef-bf0d-2b68f60c12da"
}
}
}
}

Trying to get the job status I am getting entry does not exists. Where do I check this job status?

[appuser@d6b46e181c4e:/$ curl -X GET -u fsxadmin:password -k "https://10.185.2.137/api/cluster/jobs/44706ddc-3aa4-11ef-bf0d-2b68f60c12da"
{
"error": {
"message": "entry doesn't exist",
"code": "4",
"target": "uuid"
}
}

The timezone update goes through btw. I am not sure how do i handle this?

neat bay
#

This is a guess but it may not be returning because it's a finished job and not active anymore.

#

I think you have to check the job history.

#

Not sure REST equivilent but CLI is like "job history show" or similar.

gusty horizon
#

yeah, I don't think you will find a job for something that basically completes instantly

near island
#

aah! how do I verify if the job went through fine then?

nothing comes back with job history as well.
FsxId03ae583c01a75f8d4::> job history show
This table is currently empty.😕