vatesfr / xen-orchestra

The global orchestration solution to manage and backup XCP-ng and XenServer.
https://xen-orchestra.com
Other
795 stars 265 forks source link

Updated XCP-NG, on host reboot VDI is unavailable - Error on vm.start #6049

Closed WestEndCompute closed 2 years ago

WestEndCompute commented 2 years ago

Installed most recent patches for XCP-NG and on host reboot all the VDIs on the local ZFS pool boot (though not auto, like some are supposed to) except one, which happens to be the TrueNAS VM for the NFS share used by all the other VMs, effectively taking down the whole cluster.

I have tried multiple reboots of the host to no avail as well as trying vdi-unlock which also did not work.

vm.start
{
  "id": "b2eee92f-3530-a3c1-0e58-55b9fe09d448",
  "bypassMacAddressesCheck": false,
  "force": false
}
{
  "code": "SR_BACKEND_FAILURE_46",
  "params": [
    "",
    "The VDI is not available",
    ""
  ],
  "call": {
    "method": "VM.start",
    "params": [
      "OpaqueRef:d24e6be3-181b-43dd-844e-5a5b2160e9a8",
      false,
      false
    ]
  },
  "message": "SR_BACKEND_FAILURE_46(, The VDI is not available, )",
  "name": "XapiError",
  "stack": "XapiError: SR_BACKEND_FAILURE_46(, The VDI is not available, )
    at Function.wrap (/opt/xo/xo-builds/xen-orchestra-202112081737/packages/xen-api/src/_XapiError.js:16:12)
    at /opt/xo/xo-builds/xen-orchestra-202112081737/packages/xen-api/src/transports/json-rpc.js:41:27
    at AsyncResource.runInAsyncScope (async_hooks.js:197:9)
    at cb (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/util.js:355:42)
    at tryCatcher (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/promise.js:729:18)
    at _drainQueueStep (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/opt/xo/xo-builds/xen-orchestra-202112081737/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:464:21)
    at process.topLevelDomainCallback (domain.js:152:15)
    at process.callbackTrampoline (internal/async_hooks.js:128:24)"
}
olivierlambert commented 2 years ago

Hi,

I'm not sure that falls under Xen Orchestra bug tracker. Please use the forum for this: https://xcp-ng.org/forum/