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

    DR error : (intermediate value) is not iterable

    Scheduled Pinned Locked Moved Backup
    10 Posts 2 Posters 417 Views 2 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.
    • P Offline
      Pilow
      last edited by Pilow

      Hi,

      XCP 8.3, XOA 5.113.2 here

      a DR job, with 3 VMs, 2 are OK, one will not pass... And I dont understand why, first time I see this error

         "message": "(intermediate value) is not iterable",
              "name": "TypeError",
              "stack": "TypeError: (intermediate value) is not iterable\n    at Xapi.import (file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/xapi/vm.mjs:610:21)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/backups/_runners/_writers/FullXapiWriter.mjs:56:21"
      
      

      a4653a5d-f2a3-4504-a785-29b01a0bba27-image.png

      any idea anyone ?
      or @bastien-nollet @florent

      there is free space on the destination SR (iSCSI SR)

      florentF 1 Reply Last reply Reply Quote 0
      • florentF Offline
        florent Vates 🪐 XO Team @Pilow
        last edited by florent

        @Pilow This is most likely related to different version of your xapi . You can only do full replication from one older to a newer version

        (and there are some recent commit this week to give a better error)

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          Pilow @florent
          last edited by

          @florent this is where it's strange, all my 7 hosts were installed the same day, with the same patches...
          all 3 VMs were deployed the same day/way too

          why are 2 OK and not the third ?

          indeed CR is working, but DR is hiding something from me

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Pilow @Pilow
            last edited by

            tried to delete the VM, restore it, same result

            tried to get the job done by an XO PROXY instead of XOA, same result

            3 VMs have been deployed from the same Hub Template Ubuntu 24.04 at the same time.

            weird.

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Pilow @Pilow
              last edited by

              source host :

              xe host-param-list uuid=161be695-e1f9-4271-b581-27b716fde9a5 |grep xapi
              

              software-version (MRO): product_version: 8.3.0; product_version_text: 8.3; product_version_text_short: 8.3; platform_name: XCP; platform_version: 3.4.0; product_brand: XCP-ng; build_number: cloud; git_id: 0; hostname: localhost; date: 20250909T12:59:54Z; dbv: 0.0.1; xapi: 25.6; xapi_build: 25.6.0; xen: 4.17.5-15; linux: 4.19.0+1; xencenter_min: 2.21; xencenter_max: 2.21; network_backend: openvswitch; db_schema: 5.786

              DR target host :

              xe host-param-list uuid=e604c3bf-373c-489b-b191-edecbabec43f |grep xapi
              
              

              software-version (MRO): product_version: 8.3.0; product_version_text: 8.3; product_version_text_short: 8.3; platform_name: XCP; platform_version: 3.4.0; product_brand: XCP-ng; build_number: cloud; git_id: 0; hostname: localhost; date: 20250909T12:59:54Z; dbv: 0.0.1; xapi: 25.6; xapi_build: 25.6.0; xen: 4.17.5-15; linux: 4.19.0+1; xencenter_min: 2.21; xencenter_max: 2.21; network_backend: openvswitch; db_schema: 5.786

              florentF 1 Reply Last reply Reply Quote 0
              • florentF Offline
                florent Vates 🪐 XO Team @Pilow
                last edited by

                @Pilow would it be possible to test from source, or with latest ( note that v6 will be default on latest ) ? it would be useful to have the real error message instead of the itnermediate value

                P 2 Replies Last reply Reply Quote 0
                • P Offline
                  Pilow @florent
                  last edited by Pilow

                  @florent yes I can try with XO from source to latest
                  let me restore the VM and launch a DR with XO from source and i'll report back

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pilow @florent
                    last edited by

                    @florent 4508b88e-83f1-4061-9d85-47dcfbd55d59-{6B7F2752-4DB5-426D-AF5C-92EBE33E0C34}.png

                    here is the errot in XO6
                    this UUID of network is NOT the one on the source VM...

                    how is it possible ?

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Pilow @Pilow
                      last edited by

                      on the source VM :

                      • I tried to switch to another network and re put the good network to no avail
                      • I tried to put the network mentionned in the error (UUID that is not the good one), to no avail
                      • I deleted the VIF, recreated it with the good network for this VM

                      and booom, DR is okay ! that was not a XAPI problem
                      e8de568f-95df-4268-acfc-7dd8eabb93c9-image.png

                      so, there was a problem with this VM VIF... and error message in XO6 permitted to pin point it

                      thanks for the advice @florent !

                      florentF 1 Reply Last reply Reply Quote 1
                      • florentF Offline
                        florent Vates 🪐 XO Team @Pilow
                        last edited by

                        @Pilow error reporting is a feature in itself . Thanks

                        1 Reply Last reply Reply Quote 0

                        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