sureshanaparti opened a new issue #102:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/102


    Async APIs fails with job query timed out error, after after setting empty 
timeout (Ex: '_set timeout_ ' or '_set timeout test_ 'cmd), which is already 
prompted as invalid. After setting to valid value,  Async APIs starts working.
   
   ```
   (cloudcmk) 🐱 > set timeout 
   Error caught while setting timeout: strconv.Atoi: parsing "": invalid syntax
   (cloudcmk) 🐱 > 
   (cloudcmk) 🐱 > migrate virtualmachinewithvolume 
virtualmachineid=3a879829-466a-451a-bb2d-a2897349a9d9 
hostid=d19ac1e9-990d-404d-b60c-a7b75cf7836c  
migrateto[0].volume=c01302c0-41e4-4fbe-876e-13c3493ad8f6 
migrateto[0].pool=cae2c100-cfd8-47f1-aed5-3442b289ec85 
migrateto[1].volume=9f2f170a-6650-4750-bd9c-76fca2ae70cb 
migrateto[1].pool=df3aba77-9ff6-3c91-9062-f2d79686672e
   🙈 Error: async API job query timed out
   (cloudcmk) 🐱 >
   (cloudcmk) 🐱 > sync storagepool id=10797937-8916-35b7-8ceb-cc1070b1e42f 
   🙈 Error: async API job query timed out
   (cloudcmk) 🐱 > 
   (cloudcmk) 🐱 > set timeout 3600
   (cloudcmk) 🐱 > 
   (cloudcmk) 🐱 > sync storagepool id=10797937-8916-35b7-8ceb-cc1070b1e42f 
   {
     "accountid": "0cdf9483-2123-11ec-b664-1e000d000227",
     "cmd": 
"org.apache.cloudstack.api.command.admin.storage.SyncStoragePoolCmd",
     "completed": "2021-09-30T12:17:54+0000",
     "created": "2021-09-30T12:17:54+0000",
     "jobid": "8c749b80-1e53-4f76-860a-8b82bd7fcfc0",
     "jobprocstatus": 0,
     "jobresult": {
       "errorcode": 431,
       "errortext": "SyncStoragePool API is currently supported only for 
storage type of datastore cluster"
     },
     "jobresultcode": 530,
     "jobresulttype": "object",
     "jobstatus": 2,
     "userid": "0ce1659d-2123-11ec-b664-1e000d000227"
   }
   🙈 Error: async API failed for job 8c749b80-1e53-4f76-860a-8b82bd7fcfc0
   (cloudcmk) 🐱 >
   (cloudcmk) 🐱 > set timeout test
   Error caught while setting timeout: strconv.Atoi: parsing "test": invalid 
syntax
   (cloudcmk) 🐱 > 
   (cloudcmk) 🐱 > sync storagepool id=10797937-8916-35b7-8ceb-cc1070b1e42f 
   🙈 Error: async API job query timed out
   (cloudcmk) 🐱 >
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to