XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XCP-ng 8.3 updates announcements and testing

    Scheduled Pinned Locked Moved News
    541 Posts 51 Posters 255.6k Views 74 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      IgorGlock @Danp
      last edited by

      @Danp
      I got XOA appliance with trial license for our lab.
      Release channels: latest
      Current version: 6.4.0

      I removed the 2 SR and created them new, use qcow2 again. VM migration from SR-1 to SR-2 failed too.

      	
      id	"0mopksrzz-rnu1secaodl"
      properties	
      method	"vm.migrate"
      params	
      vm	"64b89180-1f63-3625-4f92-efb5cc15b9d6"
      sr	"81a41e32-49e5-0f5f-7692-2fc49ec875a2"
      targetHost	"253ea664-09bf-4212-a3b8-f1588406190e"
      name	"API call: vm.migrate"
      userId	"5f5f1e9c-c928-4898-ab88-62b201698476"
      type	"api.call"
      start	1777800975551
      status	"failure"
      updatedAt	1777801141331
      infos	
      0	
      message	"migration with storage motion"
      warnings	
      0	
      data	
      host	"253ea664-09bf-4212-a3b8-f1588406190e"
      sr	"81a41e32-49e5-0f5f-7692-2fc49ec875a2"
      message	"host have no PBD in the SR"
      1	
      data	
      host	"253ea664-09bf-4212-a3b8-f1588406190e"
      sr	"81a41e32-49e5-0f5f-7692-2fc49ec875a2"
      message	"host have no PBD in the SR"
      end	1777801141331
      result	
      code	"INTERNAL_ERROR"
      params	
      0	"Storage_error ([S(Internal_error);S(Storage_error ([S(Migration_preparation_failure);S(Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_1200);[S();S(list index out of range);S()]]]))]))])"
      task	
      uuid	"af35352c-cdbc-0567-8ccc-167d636bff11"
      name_label	"Async.VM.migrate_send"
      name_description	""
      allowed_operations	[]
      current_operations	{}
      created	"20260503T09:36:15Z"
      finished	"20260503T09:39:01Z"
      status	"failure"
      resident_on	"OpaqueRef:0d7b2e70-c99b-cf1c-7a54-c98d1916af44"
      progress	1
      type	"<none/>"
      result	""
      error_info	
      0	"INTERNAL_ERROR"
      1	"Storage_error ([S(Internal_error);S(Storage_error ([S(Migration_preparation_failure);S(Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_1200);[S();S(list index out of range);S()]]]))]))])"
      other_config	{}
      subtask_of	"OpaqueRef:NULL"
      subtasks	[]
      backtrace	"(((process xapi)(filename ocaml/xapi/xapi_vm_migrate.ml)(line 1815))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 141))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2650))((process xapi)(filename ocaml/xapi/rbac.ml)(line 228))((process xapi)(filename ocaml/xapi/rbac.ml)(line 238))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 78)))"
      message	"INTERNAL_ERROR(Storage_error ([S(Internal_error);S(Storage_error ([S(Migration_preparation_failure);S(Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_1200);[S();S(list index out of range);S()]]]))]))]))"
      name	"XapiError"
      stack	"XapiError: INTERNAL_ERROR(Storage_error ([S(Internal_error);S(Storage_error ([S(Migration_preparation_failure);S(Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_1200);[S();S(list index out of range);S()]]]))]))]))\n    at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)\n    at default (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_getTaskResult.mjs:13:29)\n    at Xapi._addRecordToCache (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1078:24)\n    at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1112:14\n    at Array.forEach (<anonymous>)\n    at Xapi._processEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1102:12)\n    at Xapi._watchEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1275:14)"
      
      DanpD 1 Reply Last reply Reply Quote 1
      • B Offline
        bufanda @stormi
        last edited by

        @stormi installed updates. Did some backups and VM migrations between various storages (bad and qcow2) looks good so far.

        1 Reply Last reply Reply Quote 1
        • DanpD Offline
          Danp Pro Support Team @IgorGlock
          last edited by

          @IgorGlock Are you able to open the support tunnel for us to investigate? You can either post the tunnel ID here or open a support ticket.

          1 Reply Last reply Reply Quote 0
          • dthenotD Offline
            dthenot Vates 🪐 XCP-ng Team @IgorGlock
            last edited by

            @IgorGlock Hello,

            Could you share the exception that should be in /var/log/SMlog?

            1 Reply Last reply Reply Quote 0
            • I Offline
              IgorGlock
              last edited by

              Hello,

              I deleted the entire XOA and downloaded fresh image, recreated configuration and blank SR.
              The issue is gone. I will test some VDI migrations this week.

              There are is some performance impact and timeouts when creating 100-200 VMs on single 10 TB SR. I use xo-cli vm.create script. See you later 🙂

              1 Reply Last reply Reply Quote 1
              • stormiS Offline
                stormi Vates 🪐 XCP-ng Team
                last edited by stormi

                Not one, but two blog posts, today!

                https://xcp-ng.org/blog/2026/05/05/april-2026-security-and-maintenance-updates-for-xcp-ng-8-3-lts-2/
                https://xcp-ng.org/blog/2026/05/05/qcow2-is-now-ga-in-xcp-ng/

                1 Reply Last reply Reply Quote 4
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Congrats to everyone on those, it was a huge amount of work, test, and as usual, great community feedback!

                  1 Reply Last reply Reply Quote 2
                  • F Offline
                    FritzGerald
                    last edited by FritzGerald

                    Hello. just wanted to let you know that I got this error message on one of my servers (the others worked fine), when installing the last 25 updates manually via "yum update"

                    [10:39 xen1 ~]# yum update
                    Loaded plugins: fastestmirror
                    Loading mirror speeds from cached hostfile
                    Excluding mirror: updates.xcp-ng.org
                     * xcp-ng-base: mirrors.xcp-ng.org
                    Excluding mirror: updates.xcp-ng.org
                     * xcp-ng-updates: mirrors.xcp-ng.org
                    Resolving Dependencies
                    --> Running transaction check
                    ---> Package blktap.x86_64 0:3.55.5-6.3.xcpng8.3 will be updated
                    ---> Package blktap.x86_64 0:3.55.5-6.7.xcpng8.3 will be an update
                    ---> Package forkexecd.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package forkexecd.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package kernel.x86_64 0:4.19.19-8.0.46.1.xcpng8.3 will be updated
                    ---> Package kernel.x86_64 0:4.19.19-8.0.46.2.xcpng8.3 will be an update
                    ---> Package message-switch.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package message-switch.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package qcow-stream-tool.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package qcow-stream-tool.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package rrdd-plugins.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package rrdd-plugins.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package sm.x86_64 0:3.2.12-17.1.xcpng8.3 will be updated
                    ---> Package sm.x86_64 0:3.2.12-17.7.xcpng8.3 will be an update
                    ---> Package sm-cli.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package sm-cli.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package sm-fairlock.x86_64 0:3.2.12-17.1.xcpng8.3 will be updated
                    ---> Package sm-fairlock.x86_64 0:3.2.12-17.7.xcpng8.3 will be an update
                    ---> Package squeezed.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package squeezed.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package varstored-guard.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package varstored-guard.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package vhd-tool.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package vhd-tool.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package wsproxy.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package wsproxy.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xapi-core.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xapi-core.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xapi-nbd.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xapi-nbd.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xapi-rrd2csv.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xapi-rrd2csv.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xapi-storage-script.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xapi-storage-script.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xapi-tests.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xapi-tests.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xapi-xe.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xapi-xe.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xcp-networkd.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xcp-networkd.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xcp-ng-pv-tools.noarch 0:8.3-16.xcpng8.3 will be updated
                    ---> Package xcp-ng-pv-tools.noarch 0:8.3-17.xcpng8.3 will be an update
                    ---> Package xcp-rrdd.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xcp-rrdd.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xenopsd.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xenopsd.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xenopsd-cli.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xenopsd-cli.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package xenopsd-xc.x86_64 0:26.1.3-1.9.xcpng8.3 will be updated
                    ---> Package xenopsd-xc.x86_64 0:26.1.3-1.10.xcpng8.3 will be an update
                    ---> Package zabbix-agent2.x86_64 0:7.0.25-release1.el7 will be updated
                    ---> Package zabbix-agent2.x86_64 0:7.0.26-release1.el7 will be an update
                    ---> Package zabbix-agent2-plugin-ember-plus.x86_64 0:7.0.25-release1.el7 will be updated
                    ---> Package zabbix-agent2-plugin-ember-plus.x86_64 0:7.0.26-release1.el7 will be an update
                    ---> Package zabbix-agent2-plugin-mongodb.x86_64 0:7.0.25-release1.el7 will be updated
                    ---> Package zabbix-agent2-plugin-mongodb.x86_64 0:7.0.26-release1.el7 will be an update
                    ---> Package zabbix-agent2-plugin-mssql.x86_64 0:7.0.25-release1.el7 will be updated
                    ---> Package zabbix-agent2-plugin-mssql.x86_64 0:7.0.26-release1.el7 will be an update
                    ---> Package zabbix-agent2-plugin-postgresql.x86_64 0:7.0.25-release1.el7 will be updated
                    ---> Package zabbix-agent2-plugin-postgresql.x86_64 0:7.0.26-release1.el7 will be an update
                    --> Finished Dependency Resolution
                    
                    Dependencies Resolved
                    
                    ====================================================================================================================================================================================================================
                     Package                                                        Arch                                  Version                                                   Repository                                     Size
                    ====================================================================================================================================================================================================================
                    Updating:
                     blktap                                                         x86_64                                3.55.5-6.7.xcpng8.3                                       xcp-ng-updates                                772 k
                     forkexecd                                                      x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                2.5 M
                     kernel                                                         x86_64                                4.19.19-8.0.46.2.xcpng8.3                                 xcp-ng-updates                                 29 M
                     message-switch                                                 x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                4.6 M
                     qcow-stream-tool                                               x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                1.4 M
                     rrdd-plugins                                                   x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                9.8 M
                     sm                                                             x86_64                                3.2.12-17.7.xcpng8.3                                      xcp-ng-updates                                391 k
                     sm-cli                                                         x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                4.8 M
                     sm-fairlock                                                    x86_64                                3.2.12-17.7.xcpng8.3                                      xcp-ng-updates                                 52 k
                     squeezed                                                       x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                1.9 M
                     varstored-guard                                                x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                4.9 M
                     vhd-tool                                                       x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                4.9 M
                     wsproxy                                                        x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                1.1 M
                     xapi-core                                                      x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                 30 M
                     xapi-nbd                                                       x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                3.1 M
                     xapi-rrd2csv                                                   x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                3.0 M
                     xapi-storage-script                                            x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                2.5 M
                     xapi-tests                                                     x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                5.0 M
                     xapi-xe                                                        x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                1.5 M
                     xcp-networkd                                                   x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                4.8 M
                     xcp-ng-pv-tools                                                noarch                                8.3-17.xcpng8.3                                           xcp-ng-updates                                 16 M
                     xcp-rrdd                                                       x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                3.6 M
                     xenopsd                                                        x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                1.4 M
                     xenopsd-cli                                                    x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                2.0 M
                     xenopsd-xc                                                     x86_64                                26.1.3-1.10.xcpng8.3                                      xcp-ng-updates                                5.3 M
                     zabbix-agent2                                                  x86_64                                7.0.26-release1.el7                                       zabbix                                        6.6 M
                     zabbix-agent2-plugin-ember-plus                                x86_64                                7.0.26-release1.el7                                       zabbix                                        1.6 M
                     zabbix-agent2-plugin-mongodb                                   x86_64                                7.0.26-release1.el7                                       zabbix                                        3.8 M
                     zabbix-agent2-plugin-mssql                                     x86_64                                7.0.26-release1.el7                                       zabbix                                        2.7 M
                     zabbix-agent2-plugin-postgresql                                x86_64                                7.0.26-release1.el7                                       zabbix                                        3.1 M
                    
                    Transaction Summary
                    ====================================================================================================================================================================================================================
                    Upgrade  30 Packages
                    
                    Total size: 162 M
                    Is this ok [y/d/N]: y
                    Downloading packages:
                    Running transaction check
                    Running transaction test
                    
                    
                    Transaction check error:
                      file /usr/bin/qemu-img from install of blktap-3.55.5-6.7.xcpng8.3.x86_64 conflicts with file from package qemu-img-10:1.5.3-175.el7_9.6.x86_64
                    
                    Error Summary
                    -------------
                    
                    [10:39 xen1 ~]#
                    

                    So in consequence the update seems to simply fail. I am aware that the manually installed zabbix packages are not "official" packages. However, from my current understanding the error looks more like a non-zabbix related issue. I am wondering, since I have another exactly identical server, which updated fine. If you need some informations, just let me know.

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      FritzGerald @FritzGerald
                      last edited by FritzGerald

                      Sorry, about this. I think when migrating PV VMs from a previous system I had issues and "needed" to install "qemu-img" and I did not remember. So removing it, solved the problem. So all my fault. Sorry about this message!!!

                      1 Reply Last reply Reply Quote 1
                      • P Offline
                        ph7
                        last edited by

                        Ran the 2 updates released today and...
                        Back to only showing one VM in Backup/Restore as it did a month or 2 ago.
                        Ran the replication job and all VMs showed up in Backup/Restore again. (XO5)

                        1 Reply Last reply Reply Quote 1
                        • marcoiM Offline
                          marcoi
                          last edited by

                          anyone know if applying these two patches requires rebooting?
                          948c0b37-14c7-4eb2-a7a4-2e3824c93417-image.jpeg

                          M 1 Reply Last reply Reply Quote 1
                          • M Offline
                            manilx @marcoi
                            last edited by

                            @marcoi I've read in the blog post of Vates that no.
                            Did it anyway.

                            1 Reply Last reply Reply Quote 2
                            • stormiS Offline
                              stormi Vates 🪐 XCP-ng Team
                              last edited by

                              Indeed, no reboot required if those are the only patches that you are applying, as indicated in the blog post.

                              marcoiM A 2 Replies Last reply Reply Quote 1
                              • marcoiM Offline
                                marcoi @stormi
                                last edited by

                                @stormi I getting a response to reboot after applying to master.
                                43aa846c-264e-4663-8624-4ce9908301ee-image.jpeg

                                1 Reply Last reply Reply Quote 0
                                • olivierlambertO Offline
                                  olivierlambert Vates 🪐 Co-Founder CEO
                                  last edited by

                                  XO isn't subtle and will ask for reboot regardless of the type of update (because for now there's no way to know if reboot is required)

                                  marcoiM A 2 Replies Last reply Reply Quote 0
                                  • marcoiM Offline
                                    marcoi @olivierlambert
                                    last edited by

                                    @olivierlambert lol okay got it 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • I Offline
                                      IgorGlock
                                      last edited by

                                      Hello @dthenot
                                      hello @danp

                                      I got the results. You can access our lab, feel free, nothing is productive. Support ID: 40797

                                      High count of VDI / VMs on single SR make entire Storage slow.
                                      e36db14a-ddd3-4cac-b768-b7bc53b7278c-image.jpeg

                                      Migration fails because of:
                                      [21:52 xcp-ng-1 ~]# xe sr-scan uuid=43dbbe8e-039a-e66c-f6cb-d88de4f4d962
                                      Error code: SR_BACKEND_FAILURE_1200
                                      Error parameters: , list index out of range,

                                      59 Lines of log:

                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] ['/sbin/lvchange', '-an', '/dev/VG_XenStorage-43dbbe8e-039a-e66c-f6cb-d88de4f4d962/QCOW2-ffcf4c40-0d81-4da7-9908-478629c88358']
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   pread SUCCESS
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper released
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper acquired
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper sent '56171 - 832.417448266'
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] ['/sbin/dmsetup', 'status', 'VG_XenStorage--43dbbe8e--039a--e66c--f6cb--d88de4f4d962-QCOW2--ffcf4c40--0d81--4da7--9908--478629c88358']
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   pread SUCCESS
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper released
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] lock: released /var/lock/sm/lvm-43dbbe8e-039a-e66c-f6cb-d88de4f4d962/ffcf4c40-0d81-4da7-9908-478629c88358
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper acquired
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper sent '56171 - 832.433077125'
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] ['/sbin/vgs', '--noheadings', '--nosuffix', '--units', 'b', 'VG_XenStorage-43dbbe8e-039a-e66c-f6cb-d88de4f4d962']
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   pread SUCCESS
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper released
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper acquired
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper sent '56171 - 832.64258113'
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] ['/sbin/vgs', '--readonly', 'VG_XenStorage-43dbbe8e-039a-e66c-f6cb-d88de4f4d962']
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   pread SUCCESS
                                      May  8 21:40:34 xcp-ng-2 fairlock[8031]: /run/fairlock/devicemapper released
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] lock: released /var/lock/sm/43dbbe8e-039a-e66c-f6cb-d88de4f4d962/sr
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] ***** generic exception: sr_scan: EXCEPTION <class 'IndexError'>, list index out of range
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/SRCommand.py", line 113, in run
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     return self._run_locked(sr)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/SRCommand.py", line 163, in _run_locked
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     rv = self._run(sr, target)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/SRCommand.py", line 377, in _run
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     return sr.scan(self.params['sr_uuid'])
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/LVMoHBASR", line 163, in scan
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     LVMSR.LVMSR.scan(self, sr_uuid)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/LVMSR.py", line 822, in scan
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     new_vdi = self.vdi(cbt_uuid)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/LVMoHBASR", line 230, in vdi
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     return LVMoHBAVDI(self, uuid)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/VDI.py", line 100, in __init__
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     self.load(uuid)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/LVMSR.py", line 1375, in load
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     size = int(self.sr.srcmd.params['args'][0])
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] ***** LVM over FC: EXCEPTION <class 'IndexError'>, list index out of range
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/SRCommand.py", line 392, in run
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     ret = cmd.run(sr)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/SRCommand.py", line 113, in run
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     return self._run_locked(sr)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/SRCommand.py", line 163, in _run_locked
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     rv = self._run(sr, target)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/SRCommand.py", line 377, in _run
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     return sr.scan(self.params['sr_uuid'])
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/LVMoHBASR", line 163, in scan
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     LVMSR.LVMSR.scan(self, sr_uuid)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/LVMSR.py", line 822, in scan
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     new_vdi = self.vdi(cbt_uuid)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/LVMoHBASR", line 230, in vdi
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     return LVMoHBAVDI(self, uuid)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/VDI.py", line 100, in __init__
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     self.load(uuid)
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]   File "/opt/xensource/sm/LVMSR.py", line 1375, in load
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]     size = int(self.sr.srcmd.params['args'][0])
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread]
                                      May  8 21:40:34 xcp-ng-2 SM: [56171][MainThread] lock: closed /var/lock/sm/lvm-43dbbe8e-039a-e66c-f6cb-d88de4f4d962/030878c2-49fd-4b0f-a971-9dfa121249a3
                                      
                                      

                                      Best regards

                                      Igor

                                      A 1 Reply Last reply Reply Quote 0
                                      • A Online
                                        Andrew Top contributor @olivierlambert
                                        last edited by

                                        @olivierlambert Seeing some failure/errors on CR jobs. It leaves VDIs attached to Control Domain... Next run it normally works. I have not seen this error until after the current sm update. Running XO (commit 7e144).

                                                        "message": "INTERNAL_ERROR(Storage_error ([S(Illegal_transition); [[S(Activated);S(RO)];[S(Activated);S(RW)]]]))",
                                                        "name": "XapiError",
                                                        "stack": "XapiError: INTERNAL_ERROR(Storage_error ([S(Illegal_transition);[[S(Activated);S(RO)];[S(Activated);S(RW)]]]))\n    at XapiError.wrap (file:///opt/xo/xo-builds/xen-orchestra-202605050700/packages/xen-api/_XapiError.mjs:16:12)\n    at default (file:///opt/xo/xo-builds/xen-orchestra-202605050700/packages/xen-api/_getTaskResult.mjs:13:29)\n    at Xapi._addRecordToCache (file:///opt/xo/xo-builds/xen-orchestra-202605050700/packages/xen-api/index.mjs:1078:24)\n    at file:///opt/xo/xo-builds/xen-orchestra-202605050700/packages/xen-api/index.mjs:1112:14\n    at Array.forEach (<anonymous>)\n    at Xapi._processEvents (file:///opt/xo/xo-builds/xen-orchestra-202605050700/packages/xen-api/index.mjs:1102:12)\n    at Xapi._watchEvents (file:///opt/xo/xo-builds/xen-orchestra-202605050700/packages/xen-api/index.mjs:1275:14)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)"
                                        
                                        F 1 Reply Last reply Reply Quote 0
                                        • stormiS Offline
                                          stormi Vates 🪐 XCP-ng Team
                                          last edited by

                                          Ping @Team-Storage

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            anthoineb Vates 🪐 XCP-ng Team @IgorGlock
                                            last edited by

                                            Hello @igorglock, Damien is in holiday this week but he identified the issue and a patch should be tested for the next release of SM.

                                            1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post