XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Kptainflintt
    K
    Online
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 19
    • Groups 0

    Kptainflintt

    @Kptainflintt

    2
    Reputation
    5
    Profile views
    19
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Kptainflintt Unfollow Follow

    Best posts made by Kptainflintt

    • RE: Cloning Windows 11 with vTPM

      No reply to this topic but just seen same thing.

      And same "workaround" : disabling vTPM at VM creation from template to avoid crashing.

      I can confirm that XOA want to add a second vTPM, any fix ?

      posted in Management
      K
      Kptainflintt
    • RE: Default resources not showing on template

      Ah... so I missed the fix by one commit and two hours...
      I can confirm it resolve it.

      Thanks!

      posted in Xen Orchestra
      K
      Kptainflintt

    Latest posts made by Kptainflintt

    • RE: Default resources not showing on template

      Ah... so I missed the fix by one commit and two hours...
      I can confirm it resolve it.

      Thanks!

      posted in Xen Orchestra
      K
      Kptainflintt
    • Default resources not showing on template

      Hi,

      We are facing an issue : when selecting a template (bundled or custom), default ressources are not showing.

      Capture d’écran du 2025-09-29 10-56-07.png

      But, as you can see, Interface and Disk are "OK" (in green). If i add an Interface and no disk, the VM is created as expected with template disk, If I add a disk, it's added as a second disk.
      The problem is that the disk is created on the default SR, even if the user don't have rights on it !

      On my pool, only admin have a proper interface :

      Capture d’écran du 2025-09-29 10-58-13.png

      I've created another local admin, but same issue.
      Another fact : I have a second pool, and on it, even admin have this issue...

      I've updated XO from source just now, before posting but same thing.

      posted in Xen Orchestra
      K
      Kptainflintt
    • RE: Script suddently stop working (TLS error)

      @olivierlambert

      I use only http for xo-cli, so I didn't understand why I have a CA error.

      I think it's because I've launched a second XOA for trial testing.

      Last week, with only one XO, no problem.

      posted in Infrastructure as Code
      K
      Kptainflintt
    • RE: Why changing objects in resource set wipe limits ???

      @olivierlambert

      Yes, I saw it !

      Just finish update, testing tomorrow !

      Thank to all the team 😉

      posted in REST API
      K
      Kptainflintt
    • Script suddently stop working (TLS error)

      Hi,

      I'm facing a new issue. All my provisionning is made with a xo-cli script.

      Adding user is OK, but, when I create a network :

      xo-cli sdnController.createPrivateNetwork \
              name="Reseau-Test" \
              poolIds=json:'["'3960dbc1-d43c-341a-0421-83d53db1968f'"]' \
              encapsulation="vxlan" \
              description="Réseau Test" \
              pifIds=json:'["f002e286-6e36-7841-0d9b-fd2b58740bd6","e6533dc2-c5e4-a669-9019-e6308029068b","cd753935-2158-566d-69e8-94a88c0e8d0f"]' 
      

      An error is issued :

      ✖ JsonRpcError: C0DC61B8937F0000:error:0A000418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1605:SSL alert number 48
      
          at Peer._callee$ (/home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/json-rpc-peer/dist/index.js:139:44)
          at Peer.<anonymous> (/home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18)
          at Generator.<anonymous> (/home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/@babel/runtime/helpers/regenerator.js:52:51)
          at Generator.next (/home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/@babel/runtime/helpers/regeneratorDefine.js:17:23)
          at asyncGeneratorStep (/home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
          at _next (/home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
          at /home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
          at new Promise (<anonymous>)
          at Peer.<anonymous> (/home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
          at Peer.exec (/home/uga/.nvm/versions/node/v22.17.0/lib/node_modules/xo-cli/node_modules/json-rpc-peer/dist/index.js:182:20) {
        code: -32000,
        data: {
          code: 'ERR_SSL_TLSV1_ALERT_UNKNOWN_CA',
          library: 'SSL routines',
          message: 'C0DC61B8937F0000:error:0A000418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1605:SSL alert number 48\n',
          name: 'Error',
          reason: 'tlsv1 alert unknown ca',
          stack: 'Error: C0DC61B8937F0000:error:0A000418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1605:SSL alert number 48\n'
        }
      }
      

      "override-certs" is on, no changes on hosts.

      Last run of this script was two weeks ago, with no issue.

      EDIT : the networks are indeed created, this error seems to be non blocking. Owever, I did'nt see it before.

      EDIT bis : the networks are effectively created in XAPI, not on hosts !

      posted in Infrastructure as Code
      K
      Kptainflintt
    • RE: Why changing objects in resource set wipe limits ???

      @lsouai-vates

      Nice ! Thank you!

      posted in REST API
      K
      Kptainflintt
    • RE: Why changing objects in resource set wipe limits ???

      @olivierlambert

      Hi,

      Update was made now to last master branch (and big tanks to REST API doc integration by the way).

      Working on a testing resource set.

      Before :

      xo-cli resourceSet.get id="h-PSp-FzCb0"
      {
        id: 'h-PSp-FzCb0',
        ipPools: [],
        limits: {
          cpus: { total: 6, usage: 2 },
          disk: { total: 80530636800, usage: 34359738368 },
          disks: { usage: 2 },
          memory: { total: 12884901888, usage: 3221225472 },
          vms: { usage: 2 }
        },
        name: 'resource-test',
        objects: [
          '71359f87-2297-a2d9-1236-77ebfcbe71eb',
          '74f92165-9f40-a6b0-26e2-6377409d3911',
          '92751eb2-0007-fa22-9001-1b08db171145',
          'dd467579-027a-21a7-5c81-1a396312befb'
        ],
        shareByDefault: false,
        subjects: [ '6ddaf1a0-c440-4539-8634-c00a078aef78' ],
        tags: [ 'test' ]
      }
      

      Then, applying new object array :

      xo-cli resourceSet.set id="h-PSp-FzCb0" objects=json:'["71359f87-2297-a2d9-1236-77ebfcbe71eb","74f92165-9f40-a6b0-26e2-6377409d3911","92751eb2-0007-fa22-9001-1b08db171145","dd467579-027a-21a7-5c81-1a396312befb","89ef16d0-9fc6-3bb0-8161-37dc69e64b3b","94f4a9be-5614-9a2b-a389-d0b2c8228b60"]'
      

      After :

      xo-cli resourceSet.get id="h-PSp-FzCb0"
      {
        id: 'h-PSp-FzCb0',
        ipPools: [],
        limits: {
          cpus: { usage: 2 },
          disk: { usage: 34359738368 },
          disks: { usage: 2 },
          memory: { usage: 3221225472 },
          vms: { usage: 2 }
        },
        name: 'resource-test',
        objects: [
          '71359f87-2297-a2d9-1236-77ebfcbe71eb',
          '74f92165-9f40-a6b0-26e2-6377409d3911',
          '92751eb2-0007-fa22-9001-1b08db171145',
          'dd467579-027a-21a7-5c81-1a396312befb',
          '89ef16d0-9fc6-3bb0-8161-37dc69e64b3b',
          '94f4a9be-5614-9a2b-a389-d0b2c8228b60'
        ],
        shareByDefault: false,
        subjects: [ '6ddaf1a0-c440-4539-8634-c00a078aef78' ],
        tags: [ 'test' ]
      }
      

      Same result if I add/change "tags" field.

      posted in REST API
      K
      Kptainflintt
    • RE: Why changing objects in resource set wipe limits ???

      Indeed, I have 39 commits behind...

      I can't do it now, as I have several users working on it.

      I'll do this before next week, I come back if it's changing something.

      posted in REST API
      K
      Kptainflintt
    • RE: Why changing objects in resource set wipe limits ???

      @olivierlambert Hi,

      I use xo from sources. Update two weeks ago.

      From CHANGELOG :

      • @vates/types 1.10.0
      • @xen-orchestra/web-core 0.27.0
      • @xen-orchestra/rest-api 0.14.0
      • @xen-orchestra/web 0.25.0
      • xo-server 5.185.0

      Thank you

      posted in REST API
      K
      Kptainflintt
    • RE: Why changing objects in resource set wipe limits ???

      Update : same thing when adding or changing "tags" field.

      posted in REST API
      K
      Kptainflintt