This is normal, as the tasks
endpoints are in the old REST API (undocumented by Swagger).
We are gradually migrating to the new REST API to document all endpoints.
Posts
-
RE: REST API create_vm returns task URL that doesn't exist?
-
RE: REST API create_vm returns task URL that doesn't exist?
Hello @DevFlint.
/rest/v0/tasks/:id
exists. It's not yet documented in Swagger, but it does exist.FYI, "actions" endpoint are specific.
They can be executed asynchronously (which is what you're currently doing). In this case, a task is returned and needs to be monitored. Use/rest/v0/tasks/:id
for this.
You can also execute your action synchronously by usingsync=true
as a query parameter. In this case, the VM ID will be returned in response.This should normally be documented in Swagger. If it's not clear in the documentation, we can improve it
-
RE: Run a job (host.stop) defined in XOCE via API
-
RE: Run a job (host.stop) defined in XOCE via API
Hi.
I confirm that no actions are currently available for hosts. -
RE: How to return all data with xo-cli without limits
Hi @eeldivad
You can use the
json
flag.xo-cli rest --json get vdis
-
RE: vm-templates query param support
Hi @irtaza9
You have a typo in your vm-templates URL.
fields
instead offield
-
RE: REST API for simple User
Hi @irtaza9.
The REST API is only available for admin users.
It is planned to handle other types of users in a few months -
RE: User specific data
Hi @irtaza9
FYI, for about 2 years, VMs expose acreation
field:"creation": { "date": string, "template": string, "user": string },
With this you can filter VMs by
creation.user
to list only VMs created by a user.
/rest/v0/vms?filter=creation:user:<user-id>
-
RE: Start backup for one single vm
I will create a card for this feature request to discuss with the whole XO team. I will keep you updated here
-
RE: Start backup for one single vm
Hi @rtjdamen
This should be doable usingxo-cli
.
xo-cli backupNg.runJob id=<your-job-id> schedule=<your-schedule-id> vm=<your-vm-id>
-
RE: "Xenserver 8" patching
@RS if you are using XO from source, you need to change your branch and rebuild XO
-
RE: "Xenserver 8" patching
Hi @RS
Just to let you know, there is a branch available to test RPU/install patches with XenServer 8. (xs-8-install-updates
)
Feel free to test and give feedback. Thanks -
RE: Feature Request
Hi
I created a card on our side to discuss this feature request.
I will keep you updated. -
RE: CBT: the thread to centralize your feedback
Hi @flakpyro
You can doxe help vm-migrate
to see all available parameters and a small description.BTW, in XO, if a network is specified for the migration, we call
vm.migrate_send
otherwisevm.pool_migrate
.
vm.migrate_send
also migrates VM's VIFs and VDIs.Questions for the XCP team:
- What happens if you do a
vm.migrate_send
but the destination SR for the VDIs is the same? - Is there a way to call
vm.pool_migrate
using a specific network?
- What happens if you do a
-
RE: Unable to create VM
Hi @Sugarat. thanks for the report.
Can you try this branch:fix-handle-inavlid-vm-creation
?
This should fix the issue -
RE: "Xenserver 8" patching
@rs Yes, this is normal. I am still working on making the installation possible via XO.