You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/07/02 07:55:41 UTC
[GitHub] [cloudstack-cloudmonkey] shwstppr opened a new pull request #83: call API when sync has args
shwstppr opened a new pull request #83:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/83
Fixes #81
Changes in this PR will allow making API calls when sync is called with arguments.
```
⇒ make run
▶ Running gofmt…
▶ Building executable… 022abb6
▶ Done!
./bin/cmk
Apache CloudStack 🐵 CloudMonkey 6.1.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
(sblab) 🐱 > sync
Discovered 614 APIs
(sblab) 🐱 > sync storagepool -h
syncStoragePool: Sync storage pool with management server (currently supported for Datastore Cluster in VMware and syncs the datastores in it)
This API is asynchronous.
Required params: id,
API Params Type Description
========== ==== ===========
id uuid Storage pool id
(sblab) 🐱 > sync storagepool id=243f307c-6135-3772-8186-be65c695220b
{
"accountid": "67e72573-cd47-11eb-bd54-1e009200048a",
"cmd": "org.apache.cloudstack.api.command.admin.storage.SyncStoragePoolCmd",
"completed": "2021-07-02T07:54:44+0000",
"created": "2021-07-02T07:54:44+0000",
"jobid": "dda93797-e1df-4693-8796-687c8f7da09c",
"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": "67e859fb-cd47-11eb-bd54-1e009200048a"
}
🙈 Error: async API failed for job dda93797-e1df-4693-8796-687c8f7da09c
```
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack-cloudmonkey] shwstppr commented on pull request #83: call API when sync has args
Posted by GitBox <gi...@apache.org>.
shwstppr commented on pull request #83:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/83#issuecomment-872799098
@Pearl1594 beat me in creating PR :D
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack-cloudmonkey] shwstppr closed pull request #83: call API when sync has args
Posted by GitBox <gi...@apache.org>.
shwstppr closed pull request #83:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/83
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack-cloudmonkey] weizhouapache commented on pull request #83: call API when sync has args
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on pull request #83:
URL: https://github.com/apache/cloudstack-cloudmonkey/pull/83#issuecomment-872849391
> @Pearl1594 beat me in creating PR :D
@shwstppr @Pearl1594 :-D
it looks better to assign issue to yourself when you work on it.
--
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-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org