@acebmxer Thank you for your quick feedback.
Posts
-
RE: Deploy VM via cloud-init config
-
RE: Deploy VM via cloud-init config
Hi @acebmxer,
Can you test if the branch:
fix_cloudinit_importfix your issue?
Edit: It is available on the master branch. -
RE: ACL Permissions to CPU Topology on Self-Service Resource Set
Hi @dvdwx,
RBAC is available only at the REST API level, not through the XO6 UI. UI compatibility with RBAC is currently under development.
For the topology, this is something that has been here for a long time, so I may be wrong since I don't have the full history. However, if I look at the code, creating the topology selector requires knowing how many CPUs are available in the pool.
Since a self-service user doesn't have visibility into the pool, they can't access this kind of information. -
RE: REST API create_vm returns task URL that doesn't exist?
Hi @DevFlint,
tasks are now correctly visible in the swagger documentation -
RE: How to revert VM to snapshot
Hi @slavavrn,
FYI, its now possible to revert a snapshot via the REST API.
POST /vms/:id/actions/revert_snapshot
And the body of the endpoint:{ "snapshotId": <snapshot-id> "snapshotBefore": boolean (optional) } -
RE: Tag-Based Automation Plugin: Tag-Based VM Performance & Permission Management via assigned tag(s)
Hi @johnnezero and thanks for the post!
Just wanted to talk about
PERMISSION SYNC.In the REST API the "permission sync" pattern is actually handled natively by the RBAC system using selectors.
For example, if you want a role that allows a user to manage VM power state only for VMs tagged
dev:- Start from the built-in role template “VMs power state manager” (just to speed up role creation, but totally optional)
- Create or customize a role with the required VM power privileges (read, start, stop, reboot, etc.)
- Scope each privileges using a selector like:
tags:dev - Then assign the role to your user or group
Once done, the access is fully dynamic:
- Any VM with the
devtag is included in the scope - Removing the tag immediately revokes access
- Adding the tag grants access instantly
- No need to maintain per-VM ACL entries
The key point is that RBAC evaluates privileges at request time based on selectors.
You can also base selectors on other VM properties, not only tags (for example power state, name patterns ...).You can find the doc here
and a dedicated forum thread herePS: For the moment the XO6 UI does not support the RBAC system, but we are working on it

-
RE: XCP-ng 8.3 updates announcements and testing
Hi @rzr,
When you say, "XO still showed host 2 needing patching", does that mean XO is still showing missing patches?If so, can you run the following command:
xe host-call-plugin host-uuid=<uuid-host2> plugin=updater.py fn=check_update -
RE: hosts stats rest api
Hi @r0123456789,
GET /rest/v0/hosts/:id/statsis available in the REST API -
RE: REST API token generation via curl
Hi @dan89,
It is possible to create anauthentication_tokenusing theREST API.POST /rest/v0/users/me/authentication_tokens -
RE: Token access level
Hi @Steve_Sibilia,
FYI, ACL V2 / RBAC is now available in the REST API.You can see the RBAC doc.
A dedicated thread is available on the forum thread, please feel free to share your feedback.Thank you.
-
RE: API authentication token permissions
-
RE: VIF via REST API?
Hi @jedimarcus,
FYI, VIF creation is possible via the REST APIPOST /rest/v0/vifs -
RE: REQUEST: Add PATCH /vms/{id} for updating VM properties (name_description, name_label)
Hi, @14wkinnersley
We merged the PATCH /vms/:id endpoint onto the master branch -
RE: Some dashboard loading issues with v6
@acebmxer Hi
i am able to reproduce the dashboard issue locally now, so we can also investigate on our end.
Can you confirm, no dashboard issue on the commit :
ee53cd072304a38e8bf816dceef9bc7277b776dc? -
RE: Some dashboard loading issues with v6
@acebmxer I remeber some users experiencing issues with XO6 due to a misconfigured NGINX reverse proxy (it was blocking SSE, which XO6 uses).
Is your reverse proxy configured correctly?
I won't have time to examine the script myself
-
RE: Some dashboard loading issues with v6
@acebmxer Thank for your investigation.
- You talk about a script
install-xen-orchestra.sh, but the link seems dead. What is that script, it is a script provided by Vates? - Bearer token is not supported (the xo doc say we can use Basic auth, or cookie to connect). If Bearer token is an absolute need, we can think about implementing it.
- For XO6 UI that doesn't build, can you provide the full error log?
To reproduce dashbloard loading issues, we have to:
- have a fresh XO install
- import an XO config that come for antoher XO
- connect as the default
admin@admin.net, and create another user - connect as the new user, and delete the default user (
admin@admin.net)
Symptom: Every browser session token fails immediately after login. Seconds after logging in, xo-server logs
Only browser session that use the deleted account fails, or even sessions with untouched users?
After that, the issue occures even if we logout/login with the new user?
- You talk about a script
-
RE: Some dashboard loading issues with v6
@acebmxer Thanks!
What's strange is that the previous log shows a 401 status code for the
/schedulesendpoint, but you can access it.
Thexo:rest-api:listener ERROR cannot handle data for task list>error is also odd.You say you only have one user, but it seems you had several before, right?
Could you try logging out and then logging back in?Is there perhaps a bug during user deletion that would keep some active but malfunctioning authentication tokens?
-
RE: Some dashboard loading issues with v6
@acebmxer Thanks.
So, no issue to compute the dashboard.In your log, I see unexpected 401 responses code.
Could you try
/rest/v0/schedulesand let me know the result? (and any XO-server errors that occur) -
RE: Some dashboard loading issues with v6
@acebmxer Hi,
Do you use an admin users or do you use a non admin users with RBAC/ACL-V2?What is the ouput of
/rest/v0/users/me?
Also, what is the ouput of/rest/v0/dashboard? -
RE: 🛰️ XO 6: dedicated thread for all your feedback!
@acebmxer It also works on your XOA.
Thank you both for your availability for testing. I will see with the XO team when to release a fix.
We apologize for any inconvenience