Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup job failed #7131

Closed
pedrogamboa1 opened this issue Oct 27, 2023 · 4 comments
Closed

Backup job failed #7131

pedrogamboa1 opened this issue Oct 27, 2023 · 4 comments

Comments

@pedrogamboa1
Copy link

{
  "data": {
    "mode": "full",
    "reportWhen": "failure"
  },
  "id": "1698410552375",
  "jobId": "571e71ce-bb45-4ecc-8996-42b11218034c",
  "jobName": "FullBackup15Days",
  "message": "backup",
  "scheduleId": "bd86feec-99f6-4503-974b-db44f6858472",
  "start": 1698410552375,
  "status": "failure",
  "infos": [
    {
      "data": {
        "vms": [
          "e9fa101b-1d41-95f5-f126-e0d711d37c2f"
        ]
      },
      "message": "vms"
    }
  ],
  "tasks": [
    {
      "data": {
        "type": "VM",
        "id": "e9fa101b-1d41-95f5-f126-e0d711d37c2f",
        "name_label": "EW-XOA-Full"
      },
      "id": "1698410553948",
      "message": "backup VM",
      "start": 1698410553948,
      "status": "failure",
      "tasks": [
        {
          "id": "1698410553972",
          "message": "snapshot",
          "start": 1698410553972,
          "status": "success",
          "end": 1698410555679,
          "result": "773abc88-9b0d-650e-b234-64fdecda5de0"
        },
        {
          "id": "1698410874785",
          "message": "clean-vm",
          "start": 1698410874785,
          "status": "success",
          "end": 1698410874814,
          "result": {
            "merge": false
          }
        }
      ],
      "end": 1698410874815,
      "result": {
        "code": "MESSAGE_METHOD_UNKNOWN",
        "params": [
          "OpaqueRef:8a70b304-50cf-4f6d-aed9-d642949b274d.get_record"
        ],
        "call": {
          "method": "OpaqueRef:8a70b304-50cf-4f6d-aed9-d642949b274d.get_record",
          "params": [
            null
          ]
        },
        "message": "MESSAGE_METHOD_UNKNOWN(OpaqueRef:8a70b304-50cf-4f6d-aed9-d642949b274d.get_record)",
        "name": "XapiError",
        "stack": "XapiError: MESSAGE_METHOD_UNKNOWN(OpaqueRef:8a70b304-50cf-4f6d-aed9-d642949b274d.get_record)\n    at XapiError.wrap (/opt/xo/xo-builds/xen-orchestra-202310261427/packages/xen-api/dist/_XapiError.js:21:12)\n    at /opt/xo/xo-builds/xen-orchestra-202310261427/packages/xen-api/dist/transports/json-rpc.js:36:30\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
      }
    }
  ],
  "end": 1698410874816
}
@julien-f
Copy link
Member

Please add the following setting in your xo-server's configuration:

[xapiOptions]
syncStackTraces = true

Then restart xo-server, re-run your backup job and report the full error here.

@julien-f
Copy link
Member

And please, fill the bug report template instead of removing it.

@falcon4525
Copy link

falcon4525 commented Oct 27, 2023

I am experiencing the same issue after updating from commit abd0a30 (August 1, 2023) to commit 7c009b0 (October 23, 2023). I am now on the most recent commit and still receiving the error. The full output after updating the xo-server configuration as suggested above is pasted below.

If a separate issue needs to be opened for my issue, please let me know.

{
  "data": {
    "mode": "full",
    "reportWhen": "failure"
  },
  "id": "1698436591541",
  "jobId": "6ea4f2b3-e827-4589-95bb-411552325552",
  "jobName": "Test Backup",
  "message": "backup",
  "scheduleId": "133a3c85-39ca-486f-8f05-5e6405029764",
  "start": 1698436591541,
  "status": "failure",
  "infos": [
    {
      "data": {
        "vms": [
          "5735359e-814a-e2a6-e842-84d9f2f20ae0"
        ]
      },
      "message": "vms"
    }
  ],
  "tasks": [
    {
      "data": {
        "type": "VM",
        "id": "5735359e-814a-e2a6-e842-84d9f2f20ae0",
        "name_label": "VM"
      },
      "id": "1698436594321",
      "message": "backup VM",
      "start": 1698436594321,
      "status": "failure",
      "tasks": [
        {
          "id": "1698436594391",
          "message": "snapshot",
          "start": 1698436594391,
          "status": "success",
          "end": 1698436597327,
          "result": "2a1535ad-c513-3f77-6094-e1fc2b242d26"
        },
        {
          "id": "1698436915801",
          "message": "clean-vm",
          "start": 1698436915801,
          "status": "success",
          "end": 1698436915831,
          "result": {
            "merge": false
          }
        }
      ],
      "end": 1698436915870,
      "result": {
        "code": "MESSAGE_METHOD_UNKNOWN",
        "params": [
          "OpaqueRef:0b5d0e20-f70a-4e30-95c1-ce47fbc71edb.get_record"
        ],
        "call": {
          "method": "OpaqueRef:0b5d0e20-f70a-4e30-95c1-ce47fbc71edb.get_record",
          "params": [
            null
          ]
        },
        "message": "MESSAGE_METHOD_UNKNOWN(OpaqueRef:0b5d0e20-f70a-4e30-95c1-ce47fbc71edb.get_record)",
        "name": "XapiError",
        "stack": "XapiError: MESSAGE_METHOD_UNKNOWN(OpaqueRef:0b5d0e20-f70a-4e30-95c1-ce47fbc71edb.get_record)\n    at XapiError.wrap (/opt/xo/xo-builds/xen-orchestra-202310271735/packages/xen-api/dist/_XapiError.js:21:12)\n    at /opt/xo/xo-builds/xen-orchestra-202310271735/packages/xen-api/dist/transports/json-rpc.js:36:30\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Xapi.addSyncStackTrace [as _addSyncStackTrace] (/opt/xo/xo-builds/xen-orchestra-202310271735/packages/xen-api/dist/index.js:68:12)\nFrom:\n    at Xapi.addSyncStackTrace [as _addSyncStackTrace] (/opt/xo/xo-builds/xen-orchestra-202310271735/packages/xen-api/dist/index.js:66:26)\n    at Xapi._call (/opt/xo/xo-builds/xen-orchestra-202310271735/packages/xen-api/dist/index.js:571:63)\n    at Xapi._call (/opt/xo/xo-builds/xen-orchestra-202310271735/node_modules/limit-concurrency-decorator/dist/index.js:107:24)\n    at /opt/xo/xo-builds/xen-orchestra-202310271735/packages/xen-api/dist/index.js:619:21\n    at loopResolver (/opt/xo/xo-builds/xen-orchestra-202310271735/node_modules/promise-toolbox/retry.js:83:46)\n    at new Promise (<anonymous>)\n    at loop (/opt/xo/xo-builds/xen-orchestra-202310271735/node_modules/promise-toolbox/retry.js:85:22)\n    at retry (/opt/xo/xo-builds/xen-orchestra-202310271735/node_modules/promise-toolbox/retry.js:87:10)\n    at Xapi._sessionCall (/opt/xo/xo-builds/xen-orchestra-202310271735/packages/xen-api/dist/index.js:612:47)\n    at /opt/xo/xo-builds/xen-orchestra-202310271735/packages/xen-api/dist/index.js:852:51"
      }
    }
  ],
  "end": 1698436915870
}

julien-f pushed a commit that referenced this issue Oct 30, 2023
@pedrogamboa1
Copy link
Author

pedrogamboa1 commented Oct 30, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants