<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Thanks again for this awesome open-source project!</p>
<p dir="auto">I discovered that one of my continuous replication backup jobs is failing to perform health checks despite completing transfers.  I have two other CR jobs that are still working just fine.  I updated Xen Orchestra this morning to commit <a href="https://github.com/vatesfr/xen-orchestra/commit/5f71e629ae0cf2e24a19b4b82182289ae9c9cbf8" target="_blank" rel="noopener noreferrer nofollow ugc">5f71e</a>.  This XO community edition (built from sources) instance is running on Debian 10 which has all of its system updates installed.</p>
<p dir="auto">Is this something that I can fix on my own or might this be a symptom of some of the recent changes to backup nomenclature?</p>
<p dir="auto">Here's the log file for the last run of this job:</p>
<pre><code>{
  "data": {
    "mode": "delta",
    "reportWhen": "failure"
  },
  "id": "1688145264192",
  "jobId": "7ee43819-d12c-416c-ad07-95dad15bc47d",
  "jobName": "Weekly continuous replication of core services and work VMs to TrueNAS - NFS - HDDs-3.5in - VM Backups at 2am on Mondays",
  "message": "backup",
  "scheduleId": "d9076c80-5b4f-4f8e-ae59-9621ed2575c6",
  "start": 1688145264192,
  "status": "failure",
  "infos": [
    {
      "data": {
        "vms": [
          "69ed2d54-b28a-4ec5-195f-dee283f730cf"
        ]
      },
      "message": "vms"
    }
  ],
  "tasks": [
    {
      "data": {
        "type": "VM",
        "id": "69ed2d54-b28a-4ec5-195f-dee283f730cf",
        "name_label": "mgmt-win10.jeff.intangible.home.arpa"
      },
      "id": "1688145336401",
      "message": "backup VM",
      "start": 1688145336401,
      "status": "failure",
      "tasks": [
        {
          "id": "1688145386549",
          "message": "snapshot",
          "start": 1688145386549,
          "status": "success",
          "end": 1688145393151,
          "result": "88a6830c-b17c-1076-e6b9-6240888b778a"
        },
        {
          "data": {
            "id": "abbf0a1c-d358-3e0d-f697-94791671b9d9",
            "isFull": false,
            "name_label": "TrueNAS - NFS - HDDs-3.5in - VM Backups",
            "type": "SR"
          },
          "id": "1688145393152",
          "message": "export",
          "start": 1688145393152,
          "status": "failure",
          "tasks": [
            {
              "id": "1688145396765",
              "message": "transfer",
              "start": 1688145396765,
              "status": "success",
              "end": 1688145408511,
              "result": {
                "size": 312320
              }
            },
            {
              "id": "1688145423393",
              "message": "health check",
              "start": 1688145423393,
              "status": "failure",
              "end": 1688145423434,
              "result": {
                "message": "Cannot read properties of undefined (reading 'uuid')",
                "name": "TypeError",
                "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (/opt/xo/xo-builds/xen-orchestra-202306300957/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:23:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /opt/xo/xo-builds/xen-orchestra-202306300957/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:45:17"
              }
            }
          ],
          "end": 1688145423434,
          "result": {
            "message": "Cannot read properties of undefined (reading 'uuid')",
            "name": "TypeError",
            "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (/opt/xo/xo-builds/xen-orchestra-202306300957/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:23:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /opt/xo/xo-builds/xen-orchestra-202306300957/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:45:17"
          }
        }
      ],
      "end": 1688145423447,
      "result": {
        "message": "Cannot read properties of undefined (reading 'uuid')",
        "name": "TypeError",
        "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (/opt/xo/xo-builds/xen-orchestra-202306300957/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:23:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /opt/xo/xo-builds/xen-orchestra-202306300957/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:45:17"
      }
    }
  ],
  "end": 1688145423449
}
</code></pre>
]]></description><link>https://xcp-ng.org/forum/topic/7492/continuous-replication-job-fails-typeerror-cannot-read-properties-of-undefined-reading-uuid-at-isalreadyonhealthchecksr</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 12:42:34 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/7492.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Jun 2023 17:37:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Mon, 07 Aug 2023 17:48:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Thank you and your team again for your commitment to this fantastic FOSS tool and for allowing me to build it myself!</p>
<p dir="auto">I very much appreciate the personal touch of my issues being triaged by the CEO and Co-Founder.  It's refreshing to see an executive officer stay in touch with their customer base.</p>
]]></description><link>https://xcp-ng.org/forum/post/64551</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64551</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Mon, 07 Aug 2023 17:48:17 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Sun, 06 Aug 2023 14:24:19 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your feedback <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/techjeff" aria-label="Profile: techjeff">@<bdi>techjeff</bdi></a> !</p>
]]></description><link>https://xcp-ng.org/forum/post/64484</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64484</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sun, 06 Aug 2023 14:24:19 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Sat, 05 Aug 2023 18:07:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a> the CR job was completed with health checks.  The issue appears to be fixed in the <code>fix_cr_healthcheck</code> branch.</p>
]]></description><link>https://xcp-ng.org/forum/post/64474</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64474</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Sat, 05 Aug 2023 18:07:35 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Fri, 04 Aug 2023 16:46:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a> I reviewed the change you made and got slightly embarrassed that my brain didn't notice the missing "l" when I had previously reviewed <code>MixinXapiWriter.mjs</code> <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f606.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--laughing" style="height:1.4em;width:auto;vertical-align:middle" title=":laughing:" alt="😆" /></p>
<p dir="auto">After checking out the <code>fix_cr_healthcheck</code> branch and rebuilding, I restarted the backup of just one VM in the backup job and it was successful!</p>
<p dir="auto">Now, I will run the full backup job and report back for the sake of being thorough.</p>
]]></description><link>https://xcp-ng.org/forum/post/64466</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64466</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Fri, 04 Aug 2023 16:46:58 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Fri, 04 Aug 2023 14:57:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a> thank you for your effort as well!</p>
<p dir="auto">I will checkout that branch, attempt to restart the backup  job for one of the small VMs, then I'll report back here, hopefully before the end of the day (UTC-7).</p>
]]></description><link>https://xcp-ng.org/forum/post/64464</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64464</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Fri, 04 Aug 2023 14:57:06 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Fri, 04 Aug 2023 07:38:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/techjeff" aria-label="Profile: techjeff">@<bdi>techjeff</bdi></a> thanks for your effort, I found the problem</p>
<p dir="auto">can you test this branch : fix_cr_healthcheck ? (<code>git checkout fix_cr_healthcheck</code> from xen-orchestra folder) it will be merged soon</p>
]]></description><link>https://xcp-ng.org/forum/post/64449</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64449</guid><dc:creator><![CDATA[florent]]></dc:creator><pubDate>Fri, 04 Aug 2023 07:38:11 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Thu, 03 Aug 2023 15:15:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a>.  The CR job is configured for "Normal" snapshots, not with memory.</p>
<p dir="auto">Also, for curiosity's sake, I decided to rebuild this same rule from scratch--the hypothesis was that the record of the original CR job could have been somehow "broken" or now incompatible. The backup job was rebuilt with exactly the same settings apart from "Rebuild of " being added to the beginning of the job and schedule names.</p>
<p dir="auto">Because it's a new CR backup of ~20 VMs to really cheap spinning disks, the backup is still in progress after 8 hours (another delta-backup job also started ~30 minutes after I started the new job), but so far it has yielded the same results: apart from the 2 VMs that are in progress, all other VMs have failed with the same TypeError.</p>
<p dir="auto">I'm currently running Xen Orchestra, commit <a href="https://github.com/vatesfr/xen-orchestra/commit/abd0a3035a77fd8e0e4c81f1492dc288485d0d47" target="_blank" rel="noopener noreferrer nofollow ugc">abd0a</a> built from sources using <a href="https://github.com/ronivay/" target="_blank" rel="noopener noreferrer nofollow ugc">ronivay</a>'s <a href="https://github.com/ronivay/XenOrchestraInstallerUpdater" target="_blank" rel="noopener noreferrer nofollow ugc">XenOrchestraInstallerUpdater</a>.</p>
]]></description><link>https://xcp-ng.org/forum/post/64435</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64435</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Thu, 03 Aug 2023 15:15:43 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Thu, 03 Aug 2023 08:42:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/techjeff" aria-label="Profile: techjeff">@<bdi>techjeff</bdi></a> Are your replication done with or without memory ?</p>
]]></description><link>https://xcp-ng.org/forum/post/64423</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64423</guid><dc:creator><![CDATA[florent]]></dc:creator><pubDate>Thu, 03 Aug 2023 08:42:49 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Tue, 01 Aug 2023 15:34:44 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for your assistance, <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a>!  Please let me know if you need additional information or want me to perform tests.</p>
]]></description><link>https://xcp-ng.org/forum/post/64335</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64335</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Tue, 01 Aug 2023 15:34:44 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Tue, 01 Aug 2023 12:02:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a> Thank you for your assistance!</p>
<p dir="auto">I'm also running into this issue after upgrading to the latest build (Xen Orchestra, commit d3077):</p>
<pre><code>        {
          "data": {
            "id": "349e7130-da43-6550-e7c0-aa0a84102e0f",
            "isFull": false,
            "name_label": "Local storage",
            "type": "SR"
          },
          "id": "1690857015572:0",
          "message": "export",
          "start": 1690857015572,
          "status": "failure",
          "tasks": [
            {
              "id": "1690857016890",
              "message": "transfer",
              "start": 1690857016890,
              "status": "success",
              "end": 1690857173019,
              "result": {
                "size": 8317447680
              }
            },
            {
              "id": "1690857209204:0",
              "message": "health check",
              "start": 1690857209204,
              "status": "failure",
              "end": 1690857209217,
              "result": {
                "message": "Cannot read properties of undefined (reading 'uuid')",
                "name": "TypeError",
                "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17"
              }
            }
          ],
          "end": 1690857209217,
          "result": {
            "message": "Cannot read properties of undefined (reading 'uuid')",
            "name": "TypeError",
            "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17"
          }
        }
      ],
      "end": 1690857647768
    },
    {
      "data": {
        "type": "VM",
        "id": "a0ba50c3-f6d3-32ff-cda7-9243d291a6c0",
        "name_label": "XOCE"
      },
      "id": "1690857647776",
      "message": "backup VM",
      "start": 1690857647776,
      "status": "failure",
      "tasks": [
        {
          "id": "1690857647781",
          "message": "clean-vm",
          "start": 1690857647781,
          "status": "success",
          "end": 1690857647865,
          "result": {
            "merge": false
          }
        },
        {
          "id": "1690857647964",
          "message": "snapshot",
          "start": 1690857647964,
          "status": "success",
          "end": 1690857649748,
          "result": "a25a21f6-cfdd-5f8d-9753-36a7f1eb7302"
        },
        {
          "data": {
            "id": "45ff0925-797b-43dd-a95c-7e298c61ad02",
            "isFull": false,
            "type": "remote"
          },
          "id": "1690857649748:0",
          "message": "export",
          "start": 1690857649748,
          "status": "success",
          "tasks": [
            {
              "id": "1690857651540",
              "message": "transfer",
              "start": 1690857651540,
              "status": "success",
              "end": 1690857709369,
              "result": {
                "size": 1015333376
              }
            },
            {
              "id": "1690857713360",
              "message": "health check",
              "start": 1690857713360,
              "status": "success",
              "tasks": [
                {
                  "id": "1690857713479",
                  "message": "transfer",
                  "start": 1690857713479,
                  "status": "success",
                  "end": 1690857820321,
                  "result": {
                    "size": 18864355840,
                    "id": "2d68d34a-7a93-39fb-0095-a505a761c590"
                  }
                },
                {
                  "id": "1690857820321:0",
                  "message": "vmstart",
                  "start": 1690857820321,
                  "status": "success",
                  "end": 1690857840697
                }
              ],
              "end": 1690857842923
            },
            {
              "id": "1690857842923:0",
              "message": "clean-vm",
              "start": 1690857842923,
              "status": "success",
              "end": 1690857842950,
              "result": {
                "merge": true
              }
            }
          ],
          "end": 1690857842962
        },
        {
          "data": {
            "id": "349e7130-da43-6550-e7c0-aa0a84102e0f",
            "isFull": false,
            "name_label": "Local storage",
            "type": "SR"
          },
          "id": "1690857649749",
          "message": "export",
          "start": 1690857649749,
          "status": "failure",
          "tasks": [
            {
              "id": "1690857651536",
              "message": "transfer",
              "start": 1690857651536,
              "status": "success",
              "end": 1690857708807,
              "result": {
                "size": 1015333376
              }
            },
            {
              "id": "1690857713360:0",
              "message": "health check",
              "start": 1690857713360,
              "status": "failure",
              "end": 1690857713370,
              "result": {
                "message": "Cannot read properties of undefined (reading 'uuid')",
                "name": "TypeError",
                "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17"
              }
            }
          ],
          "end": 1690857713370,
          "result": {
            "message": "Cannot read properties of undefined (reading 'uuid')",
            "name": "TypeError",
            "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///opt/xen-orchestra/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17"
          }
        }
      ],
      "end": 1690857842962
    },
</code></pre>
<p dir="auto">Thank you again!</p>
<p dir="auto">SW</p>
]]></description><link>https://xcp-ng.org/forum/post/64328</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64328</guid><dc:creator><![CDATA[stevewest15]]></dc:creator><pubDate>Tue, 01 Aug 2023 12:02:10 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Tue, 01 Aug 2023 09:03:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/techjeff" aria-label="Profile: techjeff">@<bdi>techjeff</bdi></a> strange<br />
I will look into this</p>
]]></description><link>https://xcp-ng.org/forum/post/64318</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64318</guid><dc:creator><![CDATA[florent]]></dc:creator><pubDate>Tue, 01 Aug 2023 09:03:34 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Fri, 28 Jul 2023 17:44:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a> I just updated to Xen Orchestra, commit <a href="https://github.com/vatesfr/xen-orchestra/commit/6b936d8a8c6dd858ff36001e16f7851d85ed7790" target="_blank" rel="noopener noreferrer nofollow ugc">6b936</a>, then attempted to restart the failed backup (only a single VM, not the whole job) and I am still getting the error.</p>
<p dir="auto">It looks like there was another commit about an hour ago, but it doesn't look to be related to this at all.</p>
<p dir="auto">Here's the full JSON error log:</p>
<pre><code>{
  "data": {
    "mode": "delta",
    "reportWhen": "failure"
  },
  "id": "1690565798795",
  "jobId": "7ee43819-d12c-416c-ad07-95dad15bc47d",
  "jobName": "Weekly continuous replication of core services and Work VMs to TrueNAS - NFS - HDDs-3.5in - VM Backups at 2am on Mondays",
  "message": "backup",
  "scheduleId": "d9076c80-5b4f-4f8e-ae59-9621ed2575c6",
  "start": 1690565798795,
  "status": "failure",
  "infos": [
    {
      "data": {
        "vms": [
          "69ed2d54-b28a-4ec5-195f-dee283f730cf"
        ]
      },
      "message": "vms"
    }
  ],
  "tasks": [
    {
      "data": {
        "type": "VM",
        "id": "69ed2d54-b28a-4ec5-195f-dee283f730cf",
        "name_label": "mgmt-win10.jeff.intangible.home.arpa"
      },
      "id": "1690565809617",
      "message": "backup VM",
      "start": 1690565809617,
      "status": "failure",
      "tasks": [
        {
          "id": "1690565811948",
          "message": "snapshot",
          "start": 1690565811948,
          "status": "success",
          "end": 1690565818268,
          "result": "97927cb2-10fc-e0ff-5c6a-0e3a0b3e405d"
        },
        {
          "data": {
            "id": "abbf0a1c-d358-3e0d-f697-94791671b9d9",
            "isFull": false,
            "name_label": "TrueNAS - NFS - HDDs-3.5in - VM Backups",
            "type": "SR"
          },
          "id": "1690565818269",
          "message": "export",
          "start": 1690565818269,
          "status": "failure",
          "tasks": [
            {
              "id": "1690565821451",
              "message": "transfer",
              "start": 1690565821451,
              "status": "success",
              "end": 1690565843248,
              "result": {
                "size": 312320
              }
            },
            {
              "id": "1690565868762",
              "message": "health check",
              "start": 1690565868762,
              "status": "failure",
              "end": 1690565868794,
              "result": {
                "message": "Cannot read properties of undefined (reading 'uuid')",
                "name": "TypeError",
                "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (file:///opt/xo/xo-builds/xen-orchestra-202307280948/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///opt/xo/xo-builds/xen-orchestra-202307280948/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17"
              }
            }
          ],
          "end": 1690565868794,
          "result": {
            "message": "Cannot read properties of undefined (reading 'uuid')",
            "name": "TypeError",
            "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (file:///opt/xo/xo-builds/xen-orchestra-202307280948/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///opt/xo/xo-builds/xen-orchestra-202307280948/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17"
          }
        }
      ],
      "end": 1690565868806,
      "result": {
        "message": "Cannot read properties of undefined (reading 'uuid')",
        "name": "TypeError",
        "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (file:///opt/xo/xo-builds/xen-orchestra-202307280948/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:21:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async file:///opt/xo/xo-builds/xen-orchestra-202307280948/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.mjs:43:17"
      }
    }
  ],
  "end": 1690565868807
}
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/64289</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64289</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Fri, 28 Jul 2023 17:44:36 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Fri, 28 Jul 2023 07:14:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/techjeff" aria-label="Profile: techjeff">@<bdi>techjeff</bdi></a> are you up to date to master/latest ? I think it have already been fixed</p>
]]></description><link>https://xcp-ng.org/forum/post/64259</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64259</guid><dc:creator><![CDATA[florent]]></dc:creator><pubDate>Fri, 28 Jul 2023 07:14:46 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Thu, 27 Jul 2023 16:10:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a>.  I'm just checking in to confirm that the SR I used for health checks is available and in use.  When I disable the health check, the backup job works just fine.  I configured the CR job with a different health check SR, but the job failed with the same error.</p>
<p dir="auto">Please let me know if there is any other information that you would like from me or if there is anything else I can do to assist.</p>
]]></description><link>https://xcp-ng.org/forum/post/64247</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/64247</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Thu, 27 Jul 2023 16:10:41 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Sun, 02 Jul 2023 21:40:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a>. Thank you for your assistance!</p>
<p dir="auto">The SR used for the health check is available and functional (most of my running VMs boot from this SR). This SR has only 225GB free, but the VM failing the health check has 1x 50GB disk and 1x 100GB disk, so that should be enough to perform a single VM health check.  The destination SR for the CR job is not the same as the SR used for the health check.  Do they need to be the same? I assume they do not need to be the same since I can choose which SR to use for the health check.</p>
<p dir="auto">I have 3 hosts in my pool; one is powered down unless needed, so the SR shows an orange color dot because it is not connected to all hosts.  Perhaps this could be the reason.</p>
<p dir="auto">Thanks again for your assistance.  FYI, I am about to go on a camping trip (after sending this message) and won't return until July 12.  I'll check this thread when I return.</p>
]]></description><link>https://xcp-ng.org/forum/post/63744</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63744</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Sun, 02 Jul 2023 21:40:57 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Sun, 02 Jul 2023 15:06:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/techjeff" aria-label="Profile: techjeff">@<bdi>techjeff</bdi></a> hi</p>
<p dir="auto">This can happen if either the SR of one of the disk or the one used for the health check  don't exists</p>
<p dir="auto">Can you check it ?</p>
]]></description><link>https://xcp-ng.org/forum/post/63741</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63741</guid><dc:creator><![CDATA[florent]]></dc:creator><pubDate>Sun, 02 Jul 2023 15:06:47 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Sat, 01 Jul 2023 09:25:40 GMT]]></title><description><![CDATA[<p dir="auto">Ping <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/florent" aria-label="Profile: florent">@<bdi>florent</bdi></a></p>
]]></description><link>https://xcp-ng.org/forum/post/63720</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63720</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Sat, 01 Jul 2023 09:25:40 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Sat, 01 Jul 2023 09:24:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> does this ring a bell?</p>
]]></description><link>https://xcp-ng.org/forum/post/63719</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63719</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 01 Jul 2023 09:24:41 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Fri, 30 Jun 2023 19:00:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a>, thanks again for your help!</p>
<p dir="auto">I see that there are new commits since my post--I guess I got a bit excited to update before the official announcement was made <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":smile:" alt="😄" /></p>
<p dir="auto">As requested, I have updated and rebuilt to commit <a href="https://github.com/vatesfr/xen-orchestra/commit/f32742225467c2f7398025adee10784ebdfd845c" target="_blank" rel="noopener noreferrer nofollow ugc">f32742225</a>, but I am still getting the same issue when I attempt to retry a single VM in that CR job.</p>
<p dir="auto">Below is the error log:</p>
<pre><code>{
  "data": {
    "mode": "delta",
    "reportWhen": "failure"
  },
  "id": "1688151228295",
  "jobId": "7ee43819-d12c-416c-ad07-95dad15bc47d",
  "jobName": "Weekly continuous replication of core services and work VMs to TrueNAS - NFS - HDDs-3.5in - VM Backups at 2am on Mondays",
  "message": "backup",
  "scheduleId": "d9076c80-5b4f-4f8e-ae59-9621ed2575c6",
  "start": 1688151228295,
  "status": "failure",
  "infos": [
    {
      "data": {
        "vms": [
          "69ed2d54-b28a-4ec5-195f-dee283f730cf"
        ]
      },
      "message": "vms"
    }
  ],
  "tasks": [
    {
      "data": {
        "type": "VM",
        "id": "69ed2d54-b28a-4ec5-195f-dee283f730cf",
        "name_label": "mgmt-win10.jeff.intangible.home.arpa"
      },
      "id": "1688151279573",
      "message": "backup VM",
      "start": 1688151279573,
      "status": "failure",
      "tasks": [
        {
          "id": "1688151282519",
          "message": "snapshot",
          "start": 1688151282519,
          "status": "success",
          "end": 1688151288614,
          "result": "d74cc31c-5287-81f3-176c-ffb3998c9694"
        },
        {
          "data": {
            "id": "abbf0a1c-d358-3e0d-f697-94791671b9d9",
            "isFull": false,
            "name_label": "TrueNAS - NFS - HDDs-3.5in - VM Backups",
            "type": "SR"
          },
          "id": "1688151288616",
          "message": "export",
          "start": 1688151288616,
          "status": "failure",
          "tasks": [
            {
              "id": "1688151292272",
              "message": "transfer",
              "start": 1688151292272,
              "status": "success",
              "end": 1688151313070,
              "result": {
                "size": 312320
              }
            },
            {
              "id": "1688151326976",
              "message": "health check",
              "start": 1688151326976,
              "status": "failure",
              "end": 1688151327016,
              "result": {
                "message": "Cannot read properties of undefined (reading 'uuid')",
                "name": "TypeError",
                "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (/opt/xo/xo-builds/xen-orchestra-202306301139/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:23:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /opt/xo/xo-builds/xen-orchestra-202306301139/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:45:17"
              }
            }
          ],
          "end": 1688151327016,
          "result": {
            "message": "Cannot read properties of undefined (reading 'uuid')",
            "name": "TypeError",
            "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (/opt/xo/xo-builds/xen-orchestra-202306301139/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:23:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /opt/xo/xo-builds/xen-orchestra-202306301139/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:45:17"
          }
        }
      ],
      "end": 1688151327029,
      "result": {
        "message": "Cannot read properties of undefined (reading 'uuid')",
        "name": "TypeError",
        "stack": "TypeError: Cannot read properties of undefined (reading 'uuid')\n    at #isAlreadyOnHealthCheckSr (/opt/xo/xo-builds/xen-orchestra-202306301139/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:23:49)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /opt/xo/xo-builds/xen-orchestra-202306301139/@xen-orchestra/backups/_runners/_writers/_MixinXapiWriter.js:45:17"
      }
    }
  ],
  "end": 1688151327034
}
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/63709</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63709</guid><dc:creator><![CDATA[techjeff]]></dc:creator><pubDate>Fri, 30 Jun 2023 19:00:45 GMT</pubDate></item><item><title><![CDATA[Reply to Continuous Replication job fails "TypeError: Cannot read properties of undefined (reading 'uuid')" at #isAlreadyOnHealthCheckSr on Fri, 30 Jun 2023 17:54:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Can you try again (pulling last commit and rebuild) and tell us if you still have the issue?</p>
]]></description><link>https://xcp-ng.org/forum/post/63708</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63708</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 30 Jun 2023 17:54:35 GMT</pubDate></item></channel></rss>