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

    Posts

    Recent Best Controversial
    • RE: ECONNREFUSED when creating SDN network

      @bleader Hi,

      After a restart of the entire host, port 6640 is now listed when I trigger ss.

      But, unfortunatly, tunnels are not working, every VM on this host loose connection to other in the same sdn network.

      Exemple with an ping between two hosts :

      2025-10-09T12:22:54.781Z|00026|tunnel(handler1)|WARN|receive tunnel port not found (arp,tun_id=0x1f1,tun_src=192.0.0.1,tun_dst=192.0.0.3,tun_ipv6_src=::,tun_ipv6_dst=::,tun_gbp_id=0,tun_gbp_flags=0,tun_tos=0,tun_ttl=64,tun_erspan_ver=0,gtpu_flags=0,gtpu_msgtype=0,tun_flags=key,in_port=33,vlan_tci=0x0000,dl_src=56:30:10:5c:4d:ad,dl_dst=ff:ff:ff:ff:ff:ff,arp_spa=192.168.10.10,arp_tpa=192.168.10.20,arp_op=1,arp_sha=56:30:10:5c:4d:ad,arp_tha=00:00:00:00:00:00)
      2025-10-09T12:22:54.781Z|00027|ofproto_dpif_upcall(handler1)|INFO|Dropped 61 log messages in last 59 seconds (most recently, 1 seconds ago) due to excessive rate
      2025-10-09T12:22:54.781Z|00028|ofproto_dpif_upcall(handler1)|INFO|received packet on unassociated datapath port 33
      

      If I migrate the VM on the third host to another, network came back.

      This is very strange, because the network I've choose to test it is one of firt of all created, not last one, so it have worked before, and not now. I don't understand why and what to do...

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

      Hi,

      After deleting certs in /etc/stunnel/certs on every hosts, and start/stop sdn-controller plugin on XOA, things came back to normal.

      Have a good day.

      posted in Infrastructure as Code
      K
      Kptainflintt
    • RE: Question about migration when creating VM

      @olivierlambert
      Iiiiiiii can't really say this...

      After the end of creation, I see only VM 1, 3 and 4... No VM2
      In logs, again : "TOO_MANY_STORAGE_MIGRATES", seems VM 4 started migrating before VM2 ends...

      So, you're right, put custom template on the same storage is the best solution.

      posted in XCP-ng
      K
      Kptainflintt
    • RE: Question about migration when creating VM

      @olivierlambert

      Right, I've now understand all of this stuff !
      And since it's explained so well, I can also explain it to users (and especially teachers).

      And I imagine that if I don't use "Fast Clone", it's a VM copy (not migrate), it will work but take much more time...

      Thank you again.

      EDIT : forget it, I've tested multiVM deployement fo the same template to local SR without Fast Clone. A VMcopy is made, and after that, an Async.VM.migrate_send to the local SR. I can see that only 3 migration are done at the same time, the fourth one is "blinking" in task list until one finish, and then start.

      posted in XCP-ng
      K
      Kptainflintt
    • RE: Question about migration when creating VM

      @olivierlambert Hi,

      So, if I understand, VM creation is done, but XO have to create a copy of base disk and move it trough migration to local SR.

      I think I didn't explain clearly, because don't understand the options provided.

      Just to be clear, the user journey is :

      1. Connect to XO
      2. Create a VM and choose resource set with local SR (nearly 10 user at the same time)
      3. Clic on "Create", seems to run, but fail with "unknown error from the peer"
      4. With admin right, I can see an error of vm.create "TOO_MANY_STORAGE_MIGRATES" (get attention there is no number after in parenthesis)
      5. User clic again and again, until creation is done.

      I can effectively see 2 "base copy" disk of the VM wanted by users on the local SR, bur for the same template (called de13-xfce).
      So I imagine that copy of base disk is made only once, and other VMs get their differential disk from it.
      What I didn't understand is that when they create another VM from template (called deb13-nograph), there is no error and there is no base disk. However, fast clone is used here too...

      Sorry for my misunderstanding, I'm pretty new to this kind of use with Xcp/XO (educational use) and I try to understand how it works.

      posted in XCP-ng
      K
      Kptainflintt
    • Question about migration when creating VM

      Hi,

      I have two questions regarding creation of new VM from a custom template.

      To understand :

      • Custom templates are on a network SR, shared between my three hosts
      • Resource set are on a local SR

      When users launch several VM creation from one template, some of them have an error ("unknown error from the peer").
      If I get logs, the real error is "TOO_MANY_STORAGE_MIGRATES"

      And they have to try many times.

      I see in this article that there is a queue, but it seems that in that situation, there is not.

      When I migrate more than 3 VM from one host to another (and to another SR), I don't have this kind of error, and queue seem to work because when one of the three first VM finish, another start.

      So, my questions :

      • Is creating from template and migrating an existing VM is different in "migration" meaning ?
      • I see that "Fast clone" is active by default, is it the best option in that situation (network SR for source, local SR for destination).
      posted in XCP-ng
      K
      Kptainflintt
    • RE: ECONNREFUSED when creating SDN network

      @bleader Hi, thnak you for your response.

      However, What I can see :

      1. iptable rule is here :
      iptables-save  | grep 6640
      -A xapi-INPUT -p tcp -m conntrack --ctstate NEW -m tcp --dport 6640 -j ACCEPT
      
      1. Service is started and running :
      systemctl status openvswitch
      ● openvswitch.service - Open vSwitch
         Loaded: loaded (/usr/lib/systemd/system/openvswitch.service; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/openvswitch.service.d
                 └─local.conf, slice.conf
         Active: active (running) since mer. 2025-10-01 12:00:35 CEST; 1 day 22h ago
        Process: 44006 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop (code=exited, status=0/SUCCESS)
        Process: 44042 ExecStart=/usr/share/openvswitch/scripts/ovs-start (code=exited, status=0/SUCCESS)
         CGroup: /control.slice/openvswitch.service
                 ├─44085 ovsdb-server: monitoring pid 44086 (healthy)
                 ├─44086 ovsdb-server /run/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --ssl-ciphers=AES256-GCM-SHA38:A...
                 ├─44100 ovs-vswitchd: monitoring pid 44101 (healthy)
                 └─44101 ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
      
      1. Process ovsdb-server is running :
      ps -aux | grep ovsdb-server
      root       44085  0.0  0.0  44128   556 ?        S<s  oct.01   0:00 ovsdb-server: monitoring pid 44086 (healthy)
      root       44086  0.2  0.0  52252 12544 ?        S<   oct.01   6:52 ovsdb-server /run/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --ssl-ciphers=AES256-GCM-SHA38:AES256-SHA256:AES256-SHA:AES128-GCM-SHA256:AES128-SHA256:AES128-SHA --ssl-protocols=TLSv1.2 --no-chdir --log-file=/var/log/openvswitch/ovsdb-server.log --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach --monitor
      

      But, port 6640 is not listening :

      tcp                         LISTEN                        0                              1                                                           127.0.0.1:5900                                                       0.0.0.0:*                            users:(("vncterm",pid=1322,fd=3))                            
      tcp                         LISTEN                        0                              128                                                           0.0.0.0:111                                                        0.0.0.0:*                            users:(("rpcbind",pid=1265,fd=8))                            
      tcp                         LISTEN                        0                              128                                                           0.0.0.0:22                                                         0.0.0.0:*                            users:(("sshd",pid=1158,fd=3))                               
      tcp                         LISTEN                        0                              64                                                            0.0.0.0:36183                                                      0.0.0.0:*                                                                                         
      tcp                         LISTEN                        0                              5                                                             0.0.0.0:10809                                                      0.0.0.0:*                            users:(("xapi-nbd",pid=2864,fd=6))                           
      tcp                         LISTEN                        0                              1                                                           127.0.0.1:9500                                                       0.0.0.0:*                            users:(("vncterm",pid=1322,fd=4))                            
      tcp                         LISTEN                        0                              128                                                         127.0.0.1:8125                                                       0.0.0.0:*                            users:(("netdata",pid=2783309,fd=61))                        
      tcp                         LISTEN                        0                              128                                                           0.0.0.0:19999                                                      0.0.0.0:*                            users:(("netdata",pid=2783309,fd=7))                         
      tcp                         LISTEN                        0                              128                                                           0.0.0.0:48863                                                      0.0.0.0:*                            users:(("rpc.statd",pid=5012,fd=9))                          
      tcp                         LISTEN                        0                              64                                                               [::]:44169                                                         [::]:*                                                                                         
      tcp                         LISTEN                        0                              128                                                              [::]:111                                                           [::]:*                            users:(("rpcbind",pid=1265,fd=11))                           
      tcp                         LISTEN                        0                              128                                                                 *:80                                                               *:*                            users:(("xapi",pid=2859,fd=11))                              
      tcp                         LISTEN                        0                              128                                                              [::]:22                                                            [::]:*                            users:(("sshd",pid=1158,fd=4))                               
      tcp                         LISTEN                        0                              128                                                                 *:443                                                              *:*                            users:(("stunnel",pid=3140,fd=9))                            
      tcp                         LISTEN                        0                              128                                                              [::]:19999                                                         [::]:*                            users:(("netdata",pid=2783309,fd=8))                         
      tcp                         LISTEN                        0                              128                                                              [::]:57023                                                         [::]:*                            users:(("rpc.statd",pid=5012,fd=11)) 
      

      And yes, you're right, on the third node (wich raise this error), there is no "option" line on bridges.

      I've tried to start/stop ovs, start/stop sdn-controller. No changes

      posted in Xen Orchestra
      K
      Kptainflintt
    • ECONNREFUSED when creating SDN network

      Hi,

      Using XO from source, last update two days ago.

      I have some script to provision sefl-service which are working well.

      But, two days ago, I put a node in maintainance mode. After restarting it, maintenance mode was automatically disabled. I put it again because I don't finish my work.

      After that, when I crate a SDn network via xo-cli, I have this message :

      ✖ JsonRpcError: connect ECONNREFUSED X.X.X.X:6640
          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: {
          address: 'X.X.X.X',
          code: 'ECONNREFUSED',
          errno: -111,
          message: 'connect ECONNREFUSED X.X.X.X:6640',
          name: 'Error',
          port: 6640,
          stack: 'Error: connect ECONNREFUSED X.X.X.X:6640\n' +
            '    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)\n' +
            '    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)',
          syscall: 'connect'
        }
      }
      

      I have checked all tree node, on first and second, port 6640 are listening :

      tcp                         LISTEN                        0                             10                                                          0.0.0.0:6640                                                      0.0.0.0:*                            users:(("ovsdb-server",pid=1559,fd=20)) 
      

      But NOT on third node. Even that, on the third node, opevswitch service is up, and ovsdb-server running :

      openvswitch.service - Open vSwitch
         Loaded: loaded (/usr/lib/systemd/system/openvswitch.service; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/openvswitch.service.d
                 └─local.conf, slice.conf
         Active: active (running) since mer. 2025-10-01 12:00:35 CEST; 22h ago
        Process: 44006 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop (code=exited, status=0/SUCCESS)
        Process: 44042 ExecStart=/usr/share/openvswitch/scripts/ovs-start (code=exited, status=0/SUCCESS)
         CGroup: /control.slice/openvswitch.service
                 ├─44085 ovsdb-server: monitoring pid 44086 (healthy)
                 ├─44086 ovsdb-server /run/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --ssl-ciphers=AES256-GCM-SHA38:A...
                 ├─44100 ovs-vswitchd: monitoring pid 44101 (healthy)
                 └─44101 ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
      

      And, If I check on XO, network are created on every nodes :

      xe pif-list uuid=bb594bff-0d27-5477-8e13-94691411fb18
      uuid ( RO)                  : bb594bff-0d27-5477-8e13-94691411fb18
                      device ( RO): tunnel1234
                         MAC ( RO): 3a:ac:6d:14:86:7a
          currently-attached ( RO): true
                        VLAN ( RO): -1
                network-uuid ( RO): 4ee84cf6-8c8a-9b5f-5038-1fd980b22d1e
                   host-uuid ( RO): baeeaf84-c362-4057-999c-1c8fc57f3f33
      

      So if the networks are created on the host, what is the impact of the connection being refused?

      posted in Xen Orchestra
      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
    • 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
    • Why changing objects in resource set wipe limits ???

      Hi,

      I have a big trouble with playing with xo-cli to update my resource sets.

      First, it's really annoying that templates and tags assigned to them aren't update (I want that user "X" cans use all tamplates with "X" tags; I tag a new template, I have to add manually it to resource set...).

      Whatever, I build a script who list object, list taggued templates and with resourceSet.set "rebuild" objects array.

      What a surprise when I realize that my new template is here, but all of my limits aren't!
      So, to see if it's my script which blow away quotas, I test manually on one resource set, it's the same.

      For exemple :

      {
        "id": "h-PSp-FzCb0",
        "ipPools": [],
        "limits": {
          "cpus": {
            "total": 6,
            "usage": 1
          },
          "memory": {
            "total": 17179869184,
            "usage": 2147483648
          },
          "disk": {
            "total": 80530636800,
            "usage": 17179869184
          },
          "vms": {
            "usage": 1
          }
        },
      

      I launch

      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"]"
      

      And tadaaa !

      limits: {"cpus":{"usage":1},"memory":{"usage":2147483648},"disk":{"usage":17179869184},"vms":{"usage":1}}
      

      Is there anything that I'm missing ??

      posted in REST API
      K
      Kptainflintt
    • RE: Some weird Alt Gr issue

      @olivierlambert thank you for your response.

      Just tested with another laptop : no more issue...

      Well, we will inform our future users and wait for v6 !

      posted in Xen Orchestra
      K
      Kptainflintt