XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. MathieuRA
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 61
    • Groups 3

    Posts

    Recent Best Controversial
    • RE: REST API create_vm returns task URL that doesn't exist?

      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.

      posted in REST API
      MathieuRAM
      MathieuRA
    • 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 using sync=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 🙂

      posted in REST API
      MathieuRAM
      MathieuRA
    • RE: Can't disable enabled errored server

      PR: https://github.com/vatesfr/xen-orchestra/pull/8599

      MathieuRA opened this pull request in vatesfr/xen-orchestra

      closed fix(xo-server/xen-server): fix disabling an enabled but disconnected server #8599

      posted in Management
      MathieuRAM
      MathieuRA
    • RE: Can't disable enabled errored server

      Hi, I will fix it ASAP. Thanks

      posted in Management
      MathieuRAM
      MathieuRA
    • RE: Run a job (host.stop) defined in XOCE via API

      @hanzzz This PR adds the ability to run a schedule. So, a temporary workaround is to create a job, create a schedule for this job, then run your schedule.

      If you are not using XO from source, you will have to wait for version 5.106

      posted in REST API
      MathieuRAM
      MathieuRA
    • RE: Run a job (host.stop) defined in XOCE via API

      Hi.
      I confirm that no actions are currently available for hosts.

      posted in REST API
      MathieuRAM
      MathieuRA
    • 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

      posted in REST API
      MathieuRAM
      MathieuRA
    • RE: vm-templates query param support

      Hi @irtaza9
      You have a typo in your vm-templates URL.
      fields instead of field

      posted in REST API
      MathieuRAM
      MathieuRA
    • 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

      posted in REST API
      MathieuRAM
      MathieuRA
    • RE: User specific data

      @irtaza9 you need to use the user-id, not the username

      posted in REST API
      MathieuRAM
      MathieuRA
    • RE: User specific data

      Hi @irtaza9
      FYI, for about 2 years, VMs expose a creation 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>

      posted in REST API
      MathieuRAM
      MathieuRA
    • 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

      posted in Backup
      MathieuRAM
      MathieuRA
    • RE: Start backup for one single vm

      Hi @rtjdamen
      This should be doable using xo-cli.
      xo-cli backupNg.runJob id=<your-job-id> schedule=<your-schedule-id> vm=<your-vm-id>

      posted in Backup
      MathieuRAM
      MathieuRA
    • RE: "Xenserver 8" patching

      @RS if you are using XO from source, you need to change your branch and rebuild XO

      posted in Xen Orchestra
      MathieuRAM
      MathieuRA
    • 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

      posted in Xen Orchestra
      MathieuRAM
      MathieuRA
    • RE: Feature Request

      FYI, we have added this feature to our backlog 🙂

      posted in Backup
      MathieuRAM
      MathieuRA
    • RE: Feature Request

      Hi 🙂
      I created a card on our side to discuss this feature request.
      I will keep you updated.

      posted in Backup
      MathieuRAM
      MathieuRA
    • RE: CBT: the thread to centralize your feedback

      Hi @flakpyro 🙂
      You can do xe 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 otherwise vm.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?
      posted in Backup
      MathieuRAM
      MathieuRA
    • 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

      posted in Compute
      MathieuRAM
      MathieuRA
    • RE: "Xenserver 8" patching

      @rs Yes, this is normal. I am still working on making the installation possible via XO.

      posted in Xen Orchestra
      MathieuRAM
      MathieuRA